* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  background-image: url("img/coin.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}

nav li {
  display: inline-block;
  margin: .8rem;
  padding: .8rem;
  border: 2px solid #3cacc8;
  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: #fff;
}

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

nav a:hover {
  color: #fff;
}

.wrap {
  background: linear-gradient(to bottom left,#bdc3c7,#2c3e50, #3cacc8);
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
  border: 1.5px solid #3cacc8; 
  max-width: 100%;
  width: 650px;
  height: 620px;
  position: relative;
  top: 30px;
  left: 42.5px;
  text-align: center;
}

h1 {
  font-size: 5.5em;
  padding-top: 5px;
  font-family: 'Open Sans Condensed', sans-serif;
}

h1 span {
  display: inline-block;
  background: linear-gradient(to top left,#bdc3c7, #f8b500, #bdc3c7);
  background-repeat: no-repeat;
  animation: rotate 1s ease-out;
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgba(255,255,255,.01);
}

h1 span:nth-child(1) {
  animation: rotate 1s;
}
@keyframes rotate {
  20%, 80% {
    transform: rotateY(180deg);
  }
  
  100% {
    transform: rotateY(360deg);
  }
}

h1 span:nth-child(2) {
  animation: rotate 1s;
  animation-delay: .1s;
}
@keyframes rotate {
  20%, 80% {
    transform: rotateY(180deg);
  }
  
  100% {
    transform: rotateY(360deg);
  }
}
h1 span:nth-child(3) {
  animation: rotate 1s;
  animation-delay: .2s;
}
@keyframes rotate {
  20%, 80% {
    transform: rotateY(180deg);
  }
  
  100% {
    transform: rotateY(360deg);
  }
}
h1 span:nth-child(4) {
  animation: rotate 1s;
  animation-delay: .3s;
  margin-right: 25px;
}
@keyframes rotate {
  20%, 80% {
    transform: rotateY(180deg);
  }
  
  100% {
    transform: rotateY(360deg);
  }
}
h1 span:nth-child(5) {
  animation: rotate 1s;
  animation-delay: .4s;
}
@keyframes rotate {
  20%, 80% {
    transform: rotateY(180deg);
  }
  
  100% {
    transform: rotateY(360deg);
  }
}
h1 span:nth-child(6) {
  animation: rotate 1s;
  animation-delay: .5s;
}
@keyframes rotate {
  20%, 80% {
    transform: rotateY(180deg);
  }
  
  100% {
    transform: rotateY(360deg);
  }
}
h1 span:nth-child(7) {
  animation: rotate 1s;
  animation-delay: .6s;
}
@keyframes rotate {
  20%, 80% {
    transform: rotateY(180deg);
  }
  
  100% {
    transform: rotateY(360deg);
  }
}
  h1 span:nth-child(8) {
  animation: rotate 1s;
  animation-delay: .7s;
}
@keyframes rotate {
  20%, 80% {
    transform: rotateY(180deg);
  }
  
  100% {
    transform: rotateY(360deg);
  }
}

p {
  font-family: 'Open Sans Condensed', sans-serif;
  text-align: left;
  color: #fff;
  font-size: 26px;
  line-height: 1.75;
  letter-spacing: 1px;
  padding-left: 25px;
  padding-right: 25px;
}

p:first-letter {
  float: left;
  font-size: 92px;
  line-height: 1;
  font-weight: bold;
  color: #3cacc8;
  margin-right: .3rem;
}

.video {
  margin: 0 auto;
  border: 2px ridge #3cacc8; 
  float: right;
  position: relative;
  bottom: 580px;
  right: 20px;
  box-shadow: 3px 3px 5px #3cacc8;
  width: 635px;
  height: 450px;
}

/* iPad Pro */
@media (min-height: 1366px) and (max-height: 1366px) {

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;
}

.wrap {
  margin: 0 auto;
  padding: 0;
  width: 860px;
  height: 500px;
  position: static;
  transform: translateY(50px);
}

h1 {
  font-size: 5.25em;
}

p {
  font-size: 26px;
  margin: 5px;
  padding: 15px;
}

p:first-letter {
  font-size: 92px;
  line-height: .75;
}

.video {
  width: 720px;
  height: 500px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 80px);

}

.center {
  position: relative;
} 
}

/* 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;
}

.wrap {
  width: 640px;
  height: 500px;
  left: 65px;
}

p {
  font-size: 20px;
}

.video {
  width: 520px;
  height: 350px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 80px);

}

.center {
  position: relative;
} 
}

/* 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;
}

.wrap {
  margin: 0 auto;
  padding: 0;
  width: 340px;
  height: 275px;
  position: static;
  transform: translateY(50px);
}

h1 {
  font-size: 2.25em;
}

p {
  font-size: 12px;
  margin: 5px;
  padding: 5px;
  padding-top: 0;
}

p:first-letter {
  font-size: 40px;
}

.video {

  width: 310px;
  height: 240px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 80px);

}

.center {
  position: relative;
}
}

/* XS Mobile */

@media (max-width: 330px) {

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

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

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

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

.wrap {
  margin: 0 auto;
  padding: 0;
  width: 290px;
  height: 225px;
  position: static;
  transform: translateY(50px);
}

h1 {
  font-size: 1.75em;
  padding: 0;
}

p {
  font-size: 10px;
  margin: 5px;
  padding: 3px;
  padding-top: 0;
}

p:first-letter {
  font-size: 30px;
}

.video {

  width: 280px;
  height: 190px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 70px);

}

.center {
  position: relative;
}

}