@font-face {
  font-family: "MegaMan 2 Regular";
  src:
    url("../font/megaman_2.eot?") format("eot"),
    url("../font/megaman_2.woff") format("woff"),
    url("../font/megaman_2.ttf") format("truetype"),
    url("../font/megaman_2.svg#MegaMan-2") format("svg");
  font-weight: normal;
  font-style: normal;
}

.bg {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0px;
  z-index: 0;

  background: #818faa;
  background: -moz-linear-gradient(
    top,
    #818faa 0%,
    #956a7e 2%,
    #694368 12%,
    #ec3f41 18%,
    #e4a45c 30%,
    #e4a45c 50%,
    #f88544 66%,
    #d08669 100%
  );
  background: -webkit-linear-gradient(
    top,
    #818faa 0%,
    #956a7e 6%,
    #694368 12%,
    #ec3f41 18%,
    #e4a45c 30%,
    #e4a45c 50%,
    #f88544 66%,
    #d08669 100%
  );
  background: linear-gradient(
    to bottom,
    #818faa 0%,
    #956a7e 6%,
    #694368 12%,
    #ec3f41 18%,
    #e4a45c 30%,
    #e4a45c 50%,
    #f88544 66%,
    #d08669 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#818faa', endColorstr='#d08669',GradientType=0 );
}

.button {
  font-family: "MegaMan 2 Regular";
  width: 560px;
  height: 48px;
  margin: 8px auto;
  margin-left: -12px;
  margin-bottom: 48px;
  border-radius: 4px;
  border: 1px solid #aaa;
  padding: 0;
  background: #ccc;
  display: inline-block;
  text-decoration: none;
  color: #000;
  padding-top: 3px;
}

.button:hover {
  background: #eee;
}

.layer {
  position: fixed;
  top: 0px;
  margin: auto;
  width: 100%;
  z-index: 100;
  min-height: 400px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-position: top center;
  background-repeat: no-repeat;
}

.parallax {
  height: 100vh;
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-perspective: 1px;
  perspective: 1px;
}

.parallax-group {
  position: relative;
  height: 100vh;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.parallax-group div:nth-child(1) {
  background-color: transparent;
  margin-top: 600px;
  -webkit-transform: translateZ(-24px) scale(25.24);
  transform: translateZ(-24px) scale(25.24);
}
.parallax-group div:nth-child(1):before {
  content: "";
  width: 100%;
  height: 200px;
  position: absolute;
  bottom: 100%;
  left: 0;
  background-image: url("../images/clouds-1.svg");
  background-position: 0 0;
  background-size: 1920px 200px;
  background-repeat: repeat-x;
}

.parallax-group div:nth-child(2) {
  background-color: transparent;
  margin-top: 500px;
  -webkit-transform: translateZ(-20px) scale(21.2);
  transform: translateZ(-20px) scale(21.2);
}
.parallax-group div:nth-child(2):before {
  content: "";
  width: 100%;
  height: 200px;
  position: absolute;
  bottom: 100%;
  left: 0;
  background-image: url("../images/clouds-2.svg");
  background-position: 200px 0;
  background-size: 1920px 200px;
  background-repeat: repeat-x;
}

.parallax-group div:nth-child(3) {
  background-color: #091734;
  margin-top: 1200px;
  background-color: #091734b;
  -webkit-transform: translateZ(-8px) scale(9.08);
  transform: translateZ(-8px) scale(9.08);
}
.parallax-group div:nth-child(3):before {
  content: "";
  width: 100%;
  height: 200px;
  position: absolute;
  bottom: 100%;
  left: 0;
  background-image: linear-gradient(135deg, transparent 66%, #091734 66.01%),
    linear-gradient(45deg, #091734 34%, transparent 34.01%);
  background-position: 186px 0px;
  background-size: 200px 100%;
  background-repeat: repeat-x;
}

.parallax-group div:nth-child(4) {
  background-color: #0a071c;
  margin-top: 1500px;
  -webkit-transform: translateZ(-6px) scale(7.06);
  transform: translateZ(-6px) scale(7.06);
}
.parallax-group div:nth-child(4):before {
  content: "";
  width: 100%;
  height: 500px;
  position: absolute;
  bottom: 100%;
  left: 0;
  background-image: url("../images/buildings-3.svg");
  background-position: -100px 0px;
  background-size: 1920px 500px;
  background-repeat: repeat-x;
}

.parallax-group div:nth-child(5) {
  margin-top: 1800px;
  background-color: #070415;
  -webkit-transform: translateZ(-4px) scale(5.04);
  transform: translateZ(-4px) scale(5.04);
}
.parallax-group div:nth-child(5):before {
  content: "";
  width: 100%;
  height: 325px;
  position: absolute;
  bottom: 100%;
  left: 0;
  background-image: url("../images/buildings-2.svg");
  background-position: -250px 0px;
  background-size: 1920px 325px;
  background-repeat: repeat-x;
}

.parallax-group div:nth-child(6) {
  background-color: #02020a;
  margin-top: 2500px;
  background-color: #02020a;
  -webkit-transform: translateZ(-2px) scale(3.02);
  transform: translateZ(-2px) scale(3.02);
}
.parallax-group div:nth-child(6):before {
  content: "";
  width: 100%;
  height: 489px;
  position: absolute;
  bottom: 100%;
  left: 0;
  background-image: url("../images/buildings-1.svg");
  background-size: 1920px 500px;
  background-position: 0px 0px;
  background-repeat: repeat-x;
}

.content {
  width: 100%;

  margin-top: -500px;

  color: white;
  font-family: "MegaMan 2 Regular";
  letter-spacing: 10px;
  text-transform: uppercase;
  text-align: center;
  font-size: 15px;

  position: relative;
  background-color: transparent;
  line-height: 40px;
  z-index: 10;
  -webkit-transform: translateZ(-2px) scale(3);
  transform: translateZ(-2px) scale(3);
}

.video-download {
  width: 560px;
  margin: 0 auto;
}

.building {
  height: 1893px;
  width: 500px;
  background: #030106;
  position: absolute;
  top: 200px;
  right: 0;
}

.building:before {
  content: "";
  width: 100%;
  height: 200px;
  position: absolute;
  bottom: 100%;
  left: 0;
  background-image: url("../images/miss_might.svg");
  background-position: 0px 0px;
  background-size: 400px 200px;
  background-repeat: no-repeat;
}

.logo {
  color: #fafafa;
  position: absolute;
  top: 50px;
  left: 100px;
  width: 500px;
  height: 105px;

  color: white;
  font-family: "MegaMan 2 Regular";
  letter-spacing: 10px;
  text-transform: uppercase;
  font-size: 15px;
  line-height: 1.5em;
}

.logo img {
  width: 100%;
  height: 100%;
}

.desktop {
  display: block;
  background: rgba(0, 0, 0, 0.5);
  padding: 6px;
}

.mobile {
  display: none;
}

.fill {
  height: 80%;
}

.responsive-youtube {
  overflow: hidden;
  position: relative;
  height: 0;
}
.responsive-youtube iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media only screen and (min-device-width: 320px) and (max-width: 640px) {
  .building {
    display: none;
  }

  .logo {
    left: 10px;
    width: 100%;
  }

  .desktop {
    display: none;
  }
  .mobile {
    display: block;
    margin-bottom: 3em;
  }

  .video-download {
    margin-top: -550px;
    position: absolute;
    top: 100px;
    width: 100%;
  }

  .responsive-video {
    width: 100%;
  }

  .button {
    width: 100%;
    margin: 16px auto;
  }

  .content {
    margin-top: 25px;
    position: absolute;
    top: 2500px;
  }
}

@media only screen and (max-width: 380px) {
  .content {
    margin-top: 150vh;
  }
}

@media only screen and (max-width: 315px) {
  .content {
    margin-top: 2000px;
  }
}
