* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
	font-family: sans-serif;
	text-align: center;
	background-image: url("img/suit.jpg");
	background-repeat: no-repeat;
	background-size: cover;
}

header {
	position: absolute;
	
}

nav li {
  display: inline-block;
  margin: .8rem;
  padding: .8rem;
  border: 2px solid #FFD700;
  background: linear-gradient(to left,#bdc3c7,#2c3e50);
  border-radius: 5px;
  position: relative;
  top: 10px;
}

nav a {
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 5px 15px rgba(0,0,0,.3);
  font-size: 12px;
  padding: 1em;
  letter-spacing: 1.5px;
  color: #FFD700;
}

nav li:hover {
  border: 2px solid #3cacc8;
  transform: translateY(20px);
  background: linear-gradient(to left,#bdc3c7,#2c3e50);
  transition: .3s;
}

nav a:hover {
  color: #fff;
}

h1 {
	font-family: 'PT Serif', sans-serif;
	font-size: 3em;
	text-shadow: 0 5px 15px rgba(0,0,0,.3);
	text-transform: uppercase;
	line-height: 3.5;
	margin-right: 125px;
	margin-left: 10px;
	position: relative;
	transform: translate(120px, 270px);
}

h1 span {
	position: relative;
	display: inline-block;
	background: linear-gradient(to left,#fceabb,#f8b500);
	background-repeat: no-repeat;
	animation: nav 2.25s linear;
	-webkit-background-clip: text;
	-webkit-text-fill-color: rgba(255,255,255,.01);
}

h1 span:nth-child(1) {
	animation: jump 3s;
}
@keyframes jump {
	0% {
		transform: translateY(0px) rotate(0deg);
	}
	40% {
		transform: translateY(0px) rotate(0deg);
	}
	50% {
		transform: translateY(-100px) rotate(180deg);
	}
	60% {
		transform: translateY(0px) rotate(360deg);
	}
	100% {
		transform: translateY(0px) rotate(360deg);
	}
}

h1 span:nth-child(2) {
	animation: jump 3s;
	animation-delay: .1s;
}
@keyframes jump {
	0% {
		transform: translateY(0px) rotate(0deg);
	}
	40% {
		transform: translateY(0px) rotate(0deg);
	}
	50% {
		transform: translateY(-100px) rotate(180deg);
	}
	60% {
		transform: translateY(0px) rotate(360deg);
	}
	100% {
		transform: translateY(0px) rotate(360deg);
	}
}	
h1 span:nth-child(3) {
	margin-right: 2px;
	animation: jump 3s;
	animation-delay: .2s;
}
@keyframes jump {
	0% {
		transform: translateY(0px) rotate(0deg);
	}
	40% {
		transform: translateY(0px) rotate(0deg);
	}
	50% {
		transform: translateY(-100px) rotate(180deg);
	}
	60% {
		transform: translateY(0px) rotate(360deg);
	}
	100% {
		transform: translateY(0px) rotate(360deg);
	}
}	
h1 span:nth-child(4) {
	animation: jump 3s;
	animation-delay: .3s;
}
@keyframes jump {
	0% {
		transform: translateY(0px) rotate(0deg);
	}
	40% {
		transform: translateY(0px) rotate(0deg);
	}
	50% {
		transform: translateY(-100px) rotate(180deg);
	}
	60% {
		transform: translateY(0px) rotate(360deg);
	}
	100% {
		transform: translateY(0px) rotate(360deg);
	}
}	
h1 span:nth-child(5) {
	animation: jump 3s;
	animation-delay: .4s;
}
@keyframes jump {
	0% {
		transform: translateY(0px) rotate(0deg);
	}
	40% {
		transform: translateY(0px) rotate(0deg);
	}
	50% {
		transform: translateY(-100px) rotate(180deg);
	}
	60% {
		transform: translateY(0px) rotate(360deg);
	}
	100% {
		transform: translateY(0px) rotate(360deg);
	}
}	
h1 span:nth-child(6) {
	animation: jump 3s;
	animation-delay: .5s;
}
@keyframes jump {
	0% {
		transform: translateY(0px) rotate(0deg);
	}
	40% {
		transform: translateY(0px) rotate(0deg);
	}
	50% {
		transform: translateY(-100px) rotate(180deg);
	}
	60% {
		transform: translateY(0px) rotate(360deg);
	}
	100% {
		transform: translateY(0px) rotate(360deg);
	}
}	
h1 span:nth-child(7) {
	margin-right: 2px;
	animation: jump 3s;
	animation-delay: .6s;
}
@keyframes jump {
	0% {
		transform: translateY(0px) rotate(0deg);
	}
	40% {
		transform: translateY(0px) rotate(0deg);
	}
	50% {
		transform: translateY(-100px) rotate(180deg);
	}
	60% {
		transform: translateY(0px) rotate(360deg);
	}
	100% {
		transform: translateY(0px) rotate(360deg);
	}
}
	h1 span:nth-child(8) {
	animation: jump 3s reverse;
	animation-delay: .7s;
}
@keyframes jump {
	0% {
		transform: translateY(0px) rotate(0deg);
	}
	40% {
		transform: translateY(0px) rotate(0deg);
	}
	50% {
		transform: translateY(-100px) rotate(180deg);
	}
	60% {
		transform: translateY(0px) rotate(360deg);
	}
	100% {
		transform: translateY(0px) rotate(360deg);
	}
}
	h1 span:nth-child(9) {
	animation: jump 3s reverse;
	animation-delay: .8s;
}
@keyframes jump {
	0% {
		transform: translateY(0px) rotate(0deg);
	}
	40% {
		transform: translateY(0px) rotate(0deg);
	}
	50% {
		transform: translateY(-100px) rotate(180deg);
	}
	60% {
		transform: translateY(0px) rotate(360deg);
	}
	100% {
		transform: translateY(0px) rotate(360deg);
	}
}	
	h1 span:nth-child(10) {
	animation: jump 3s reverse;
	animation-delay: .7s;
}
@keyframes jump {
	0% {
		transform: translateY(0px) rotate(0deg);
	}
	40% {
		transform: translateY(0px) rotate(0deg);
	}
	50% {
		transform: translateY(-100px) rotate(180deg);
	}
	60% {
		transform: translateY(0px) rotate(360deg);
	}
	100% {
		transform: translateY(0px) rotate(360deg);
	}
}
	h1 span:nth-child(11) {
	animation: jump 3s reverse;
	animation-delay: .6s;
}
@keyframes jump {
	0% {
		transform: translateY(0px) rotate(0deg);
	}
	40% {
		transform: translateY(0px) rotate(0deg);
	}
	50% {
		transform: translateY(-100px) rotate(180deg);
	}
	60% {
		transform: translateY(0px) rotate(360deg);
	}
	100% {
		transform: translateY(0px) rotate(360deg);
	}
}
	h1 span:nth-child(12) {
	margin-right: 2px;
	animation: jump 3s reverse;
	animation-delay: .5s;
}
@keyframes jump {
	0% {
		transform: translateY(0px) rotate(0deg);
	}
	40% {
		transform: translateY(0px) rotate(0deg);
	}
	50% {
		transform: translateY(-100px) rotate(180deg);
	}
	60% {
		transform: translateY(0px) rotate(360deg);
	}
	100% {
		transform: translateY(0px) rotate(360deg);
	}
}
	h1 span:nth-child(13) {
	animation: jump 3s reverse;
	animation-delay: .4s;
}
@keyframes jump {
	0% {
		transform: translateY(0px) rotate(0deg);
	}
	40% {
		transform: translateY(0px) rotate(0deg);
	}
	50% {
		transform: translateY(-100px) rotate(180deg);
	}
	60% {
		transform: translateY(0px) rotate(360deg);
	}
	100% {
		transform: translateY(0px) rotate(360deg);
	}
}
	h1 span:nth-child(14) {
	animation: jump 3s reverse;
	animation-delay: .3s;
}
@keyframes jump {
	0% {
		transform: translateY(0px) rotate(0deg);
	}
	40% {
		transform: translateY(0px) rotate(0deg);
	}
	50% {
		transform: translateY(-100px) rotate(180deg);
	}
	60% {
		transform: translateY(0px) rotate(360deg);
	}
	100% {
		transform: translateY(0px) rotate(360deg);
	}
}
	h1 span:nth-child(15) {
	animation: jump 3s reverse;
	animation-delay: .2s;
}
@keyframes jump {
	0% {
		transform: translateY(0px) rotate(0deg);
	}
	40% {
		transform: translateY(0px) rotate(0deg);
	}
	50% {
		transform: translateY(-100px) rotate(180deg);
	}
	60% {
		transform: translateY(0px) rotate(360deg);
	}
	100% {
		transform: translateY(0px) rotate(360deg);
	}
}
	h1 span:nth-child(16) {
	animation: jump 3s reverse;
	animation-delay: .1s;
}
@keyframes jump {
	0% {
		transform: translateY(0px) rotate(0deg);
	}
	40% {
		transform: translateY(0px) rotate(0deg);
	}
	50% {
		transform: translateY(-100px) rotate(180deg);
	}
	60% {
		transform: translateY(0px) rotate(360deg);
	}
	100% {
		transform: translateY(0px) rotate(360deg);
	}
}
	h1 span:nth-child(17) {
	animation: jump 3s reverse;
}
@keyframes jump {
	0% {
		transform: translateY(0px) rotate(0deg);
	}
	40% {
		transform: translateY(0px) rotate(0deg);
	}
	50% {
		transform: translateY(-100px) rotate(180deg);
	}
	60% {
		transform: translateY(0px) rotate(360deg);
	}
	100% {
		transform: translateY(0px) rotate(360deg);
	}
}	

h2 {
	position: relative;
	
}

.h2main {
	font-family: 'Playfair Display', sans-serif;
	font-size: 1.6rem;
	position: relative;
	transform: translate(50px, 230px);
	text-transform: uppercase;
	letter-spacing: 1px;
	background: linear-gradient(to left,#bdc3c7, #f8b500, #2c3e50);
	background-repeat: no-repeat;
	background-size: 80%;
	animation: animate 2.25s linear;
	-webkit-background-clip: text;
	-webkit-text-fill-color: rgba(255,255,255,.01);
}

@keyframes animate {
	0% {
		background-position: -500%;
	}
	20% {
		background-position: -300%%;
	}
	35% {
		background-position: -150%;
	}
	50% {
		background-position: 0%;
	}
	65% {
		background-position: 150%;
	}
	80% {
		background-position: 300%;
	}
	100% {
		background-position: 500%;
	}
}

.move {
	position: absolute;
	transform: translate(0,100px);
}

div ul {
	display: block;
	float: left;
}

div ul li {
	width: 60px;
	height: 60px;
	text-align: center;
	line-height: 60px;
	font-size: 35px;
	margin: 15px 0px;
	display: block;
	border-radius: 50%;
	position: relative;
	top: 293px;
	background: black;
}

div ul li a i {
	color: #fff;
}

div ul li:hover {
  transform: translateX(20px);
  transition: .3s;
}

.contacts {
	margin-left: 10px;
}

.facebook {
	background: #4267b2;
	margin-top: 25px;
	margin-bottom: 25px;
}

.linkedin {
	background: #0077b5;
	margin-top: 25px;
	margin-bottom: 25px;
}

.youtube {
	background: #ED3833;
	margin-top: 25px;
	margin-bottom: 25px;
}

.instagram {
	background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);;
	margin-top: 25px;
	margin-bottom: 25px;
}

/* Swinging Frame */
figure {
  float: right;
  position: relative;
  top: 30px;
  right: 30px;
  width: 325px;
  height: 400px;
  border: 1.5px solid #FFD700;
}

ol {
	list-style: none;
}

.swing {
    animation: swing ease-in-out 1s infinite alternate;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
    background-image: url("img/magic3.jpg");
    background-repeat: no-repeat;
}

.swing:after{
    content: '';
    position: absolute;  
    width: 11px; height: 11px;  
    border: 1px solid #FFD700;
    top: -6.25px; left: 50%;
    z-index: 0;
    border-bottom: none;
    border-right: none;
    transform: rotate(45deg);
}
/* nail */
.swing:before{
    content: '';
    position: absolute;
    width: 5.5px; height: 5.5px;
    top: -14px;left: 51%;
    z-index: 5;
    border-radius: 50% 50%;
    background: #FFD700;
}

@keyframes swing {
    0% { transform: rotate(3deg); }
    100% { transform: rotate(-3deg); }
}


.quote {
  margin: 20px 2px;
  font-size: 20px;
  font-style: italic;
  color: #FFD700;
}

.slider li.anim1 {
  animation: cycle 15s linear infinite;
}

.slider li.anim2 {
  animation: cycle2 15s linear infinite;
}

.slider li.anim3 {
  animation: cycle3 15s linear infinite;
}

.slider li.anim4 {
  animation: cycle4 15s linear infinite;
}

.slider li.anim5 {
  animation: cycle5 15s linear infinite;
}

@-moz-keyframes cycle {
  0% {
    top: 0px;
  }
  4% {
    top: 0px;
  }
  16% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  20% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
  21% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  92% {
    top: -325px;
    opacity: 0;
    z-index: 0;
  }
  96% {
    top: -325px;
    opacity: 0;
  }
  100% {
    top: 0px;
    opacity: 1;
  }
}

@-moz-keyframes cycle2 {
  0% {
    top: -325px;
    opacity: 0;
  }
  16% {
    top: -325px;
    opacity: 0;
  }
  20% {
    top: 0px;
    opacity: 1;
  }
  24% {
    top: 0px;
    opacity: 1;
  }
  36% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  40% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
  41% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  100% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
}

@-moz-keyframes cycle3 {
  0% {
    top: -325px;
    opacity: 0;
  }
  36% {
    top: -325px;
    opacity: 0;
  }
  40% {
    top: 0px;
    opacity: 1;
  }
  44% {
    top: 0px;
    opacity: 1;
  }
  56% {
    top: 0px;
    opacity: 1;
  }
  60% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
  61% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  100% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
}

@-moz-keyframes cycle4 {
  0% {
    top: -325px;
    opacity: 0;
  }
  56% {
    top: -325px;
    opacity: 0;
  }
  60% {
    top: 0px;
    opacity: 1;
  }
  64% {
    top: 0px;
    opacity: 1;
  }
  76% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  80% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
  81% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  100% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
}

@-moz-keyframes cycle5 {
  0% {
    top: -325px;
    opacity: 0;
  }
  76% {
    top: -325px;
    opacity: 0;
  }
  80% {
    top: 0px;
    opacity: 1;
  }
  84% {
    top: 0px;
    opacity: 1;
  }
  96% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  100% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
}
@-webkit-keyframes cycle {
  0% {
    top: 0px;
  }
  4% {
    top: 0px;
  }
  16% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  20% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
  21% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  50% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  92% {
    top: -325px;
    opacity: 0;
    z-index: 0;
  }
  96% {
    top: -325px;
    opacity: 0;
  }
  100% {
    top: 0px;
    opacity: 1;
  }
}

@-webkit-keyframes cycle2 {
  0% {
    top: -325px;
    opacity: 0;
  }
  16% {
    top: -325px;
    opacity: 0;
  }
  20% {
    top: 0px;
    opacity: 1;
  }
  24% {
    top: 0px;
    opacity: 1;
  }
  36% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  40% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
  41% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  100% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
}

@-webkit-keyframes cycle3 {
  0% {
    top: -325px;
    opacity: 0;
  }
  36% {
    top: -325px;
    opacity: 0;
  }
  40% {
    top: 0px;
    opacity: 1;
  }
  44% {
    top: 0px;
    opacity: 1;
  }
  56% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  60% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
  61% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  100% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
}

@-webkit-keyframes cycle4 {
  0% {
    top: -325px;
    opacity: 0;
  }
  56% {
    top: -325px;
    opacity: 0;
  }
  60% {
    top: 0px;
    opacity: 1;
  }
  64% {
    top: 0px;
    opacity: 1;
  }
  76% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  80% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
  81% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
  100% {
    top: -325px;
    opacity: 0;
    z-index: -1;
  }
}

@-webkit-keyframes cycle5 {
  0% {
    top: -325px;
    opacity: 0;
  }
  76% {
    top: -325px;
    opacity: 0;
  }
  80% {
    top: 0px;
    opacity: 1;
  }
  84% {
    top: 0px;
    opacity: 1;
  }
  96% {
    top: 0px;
    opacity: 1;
    z-index: 0;
  }
  100% {
    top: 325px;
    opacity: 0;
    z-index: 0;
  }
}

/* iPad Pro */
@media (min-width: 1024px) and (max-width: 1024px) {

body {
  height: 100vh;
}

nav {
  text-align: center;
  margin: 0 auto;
  width: 100vw;
}

nav li {
  margin: 1.2em;
  padding: 1.8em;
}

nav a {
  font-size: 20px;
}

div ul li {
  width: 110px;
  height: 110px;
  line-height: 112px;
  font-size: 70px;
  position: relative;
  top: 600px;
}

.contacts {
  margin-left: 30px;
}

figure {
  position: relative;
  top: 680px;
  right: 290px;
  width: 450px;
  height: 550px;
}

.swing {
  background-image: url("img/magic5.jpg")
}

.quote {
  font-size: 24px;
  top: 35px;
  right: 3px;
}
}

/* Tablets */
@media (min-width: 700px) and (max-width: 1023px) {

  body {
  height: 100vh;
}

nav {
  text-align: center;
  margin: 0 auto;
  width: 100vw;
}

nav li {
  margin: .5em;
  padding: 1.2em;
}

nav a {
  font-size: 16px;
}

h1 {
  font-size: 3em;
  position: relative;
  transform: translate(26px, 150px);
  margin: 0;
  padding: 0;
}

.h2main {
  background-size: 93%;
  position: relative;
  transform: translate(35px, 190px);
  margin: 0;
  padding: 0;
  font-size: 2em;
}

.contacts {
  margin-left: 30px;
  position: relative;
  transform: translateY(285px);
}

div ul li {
  width: 60px;
  height: 60px;
  text-align: center;
  line-height: 60px;
  font-size: 35px;
  margin: 15px 0px;
  display: block;
  border-radius: 50%;
  position: relative;
  top: 293px;
  background: black;
}

/* Swinging Frame */
figure {
  position: relative;
  top: 550px;
  right: 230px;
  width: 325px;
  height: 400px;
}

.swing {
  background-image: url("img/magic3.jpg")
}

.quote {
  font-size: 20px;
  right: 35px;
}
}

/* Mobile Devices */
@media (max-width: 600px) {

  body {
  height: 100vh;
  background-position: center;
}

nav {
  text-align: center;
  margin: 0 auto;
  width: 100vw;
}

nav li {
  margin: 0 auto;
  padding: .8em .2em;
}

nav a {
  font-size: 10px;
}

h1 {
  font-size: 1.4em;
  position: relative;
  transform: translate(16px, 50px);
  margin: 0;
  padding: 0;
}

.h2main {
  background-size: 93%;
  position: relative;
  transform: translate(35px, 40px);
  margin: 0;
  padding: 0;
  font-size: .8em;
}

.contacts {
  display: none;
}

div ul li {
  width: 60px;
  height: 60px;
  text-align: center;
  line-height: 60px;
  font-size: 35px;
  margin: 15px 0px;
  display: block;
  border-radius: 50%;
  position: relative;
  top: 293px;
  background: black;
}

/* Swinging Frame */
figure {
  position: relative;
  top: 300px;
  right: 65px;
  width: 250px;
  height: 350px;
}

.swing {
  background-image: url("img/magic2.jpg")
}

.quote {
  font-size: 16px;
  top: 35px;
  right: 3px;
}
}

/* XS Mobile */

@media (max-width: 330px) {

body {
  height: 100vh;
}

nav {
  text-align: center;
  margin: 0 auto;
  width: 100vw;
}

nav li {
  margin: 0 auto;
  padding: .5em;

}

nav a {
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 1.2em;
  position: relative;
  transform: translate(16px, 50px);
  margin: 0;
  padding: 0;
}

h2 {
  right: 10px;
}

/* Swinging Frame */
figure {
display: none;
}

.contacts {
  display: block;
  position: relative;
  bottom: 50px;
}
div ul li {
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 44px;
  font-size: 25px;
}

.instagram {
  margin-bottom: 0;
}
}
