* {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body {
  overflow: hidden;
  background-image: radial-gradient(circle at center, rgb(0, 55, 97, .64), rgb(0, 55, 97));
  margin: 0;
  padding: 0;
}

:root {
  --bu: rgb(0, 55, 97);
  --w: #FFFFFF;
  --art: #679873;
}

input {
  position: absolute;
  display: none
 }

i > img {
  width: 240px;
  height: 160px;
}

.qgem {
  position: absolute;
  top: -3em;
  left: -5em;
  transition: 1s ease-in-out;
}

.qgem img {
   width: 340px;
   height: 240px;
   animation-name: bob;
   animation-duration: 4s;
   animation-iteration-count: infinite;
   animation-timing-function: ease-in-out;
}

.desc {
   position: absolute;
   top: 12%;
   left: 34%;
   font-size: 1.6em;
   color: white;
   animation-name: bob;
   animation-duration: 6s;
   animation-iteration-count: infinite;
   animation-timing-function: ease-in-out;
   text-shadow:
   0 0 12px #FFFFFF,
    0 0 24px #FFFFFF,
    0 0 32px #FFFFFF,
    0 0 64px #FFFFFF,
    0 0 82px #FFFFFF,
    0 0 102px #FFFFFF,
    0 0 151px #FFFFFF,
    0 0 200px #FFFFFF;
    font-family: 'catamaran', sans-serif;
    transition: 1s ease-out;
}

.promo {
  position: absolute;
  top: 20px;
  right: 20px;
}

.promo2 {
  position: absolute;
  top: 10rem;
  right: 20px;
}

.promo3 {
  position: absolute;
  bottom: 20px;
  left: 20px;
}

.box  {
  text-align: center;
  width: 120px;
  height: 120px;
  font-family: 'catamaran', sans-serif;
  color: var(--w);
  border: 2px solid white;
  font-size: 1.2em;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bu);
}

/* overlay */
#yard, #yard2, #yard3 {
  display: none;
  position: fixed;
  background-color: rgb(90, 90, 90, .9);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  z-index: 2;
}


.exit {
  position: absolute;
  top: 2%;
  right: 3.2%;
}

.fa-xmark {
  font-size: 40px;
  color: var(--art);
}

.fa-xmark:hover {
  transform: scale(1.1);
  color: var(--w);
}

.block {
  font-family: 'catamaran', sans-serif;
  position: absolute;
  left: 12.5%;
  top: 12.5%;
  width: 75vw;
  height: 75vh;
  background-color: white;
  box-shadow: 2px 2px 12px darkgrey;
  border-radius: 26px;
  text-align: center;
}

.box:hover {
  background-color: white;
  color: var(--bu);
  box-shadow:
  0 0 6px #FFFFFF,
   0 0 14px #FFFFFF,
   0 0 26px #FFFFFF,
   0 0 44px #FFFFFF,
   0 0 62px #FFFFFF,
   0 0 76px #FFFFFF,
   0 0 96px #FFFFFF,
   0 0 111px #FFFFFF;
   font-family: 'catamaran', sans-serif;
   transition: .24s ease-out;
}

.video {
  padding-top: 32px;
}

iframe {
  width: 65vw;
  height: 65vh;
}

.title {
  font-size: 2em;
  color: var(--art);
  letter-spacing: 1px;
  font-family: 'catamaran', sans-serif;
}

.wrap {
  display: flex;
}

.writeup {
  font-size: 1.2em;
  letter-spacing: 1px;
  padding: 24px;
  font-family: 'catamaran', sans-serif;
}

.wikiguide {
  font-size: 1vw;
  margin-left: -12px;
  margin-right: -24px;
}

.wikiguide2 {
  font-size: 1vw;
  margin-left: -12px;
  margin-right: -24px;
}

.wikiguide ul {
  list-style: none;
  display: flex;
  text-align: center;
}

.wikiguide2 ul {
  list-style: none;
  display: flex;
  text-align: center;
}

.ins {
  color: var(--art);
  padding-left: 32px;
  font-size: 1.2em;
}

.ins2 {
  color: var(--art);
  padding-left: 32px;
  font-size: 1.2em;
}

.pdflink {
  padding-top: 72px;
}

.pdflink a {
  text-decoration: none;
  color: var(--art);
}

.pdflink a:hover {
  text-decoration: underline;
}

/* menu */
.menu {
  margin: 0 auto;
  position: absolute;
  top: 56%;
  left: 48%;
  margin-left: -25px;
  margin-top: -25px;
  z-index: 1;
}

.btn {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  position: absolute;
  overflow: hidden;
  cursor: pointer;
  font-family: 'catamaran', sans-serif;
}

.btn a {
  text-decoration: none;
  font-size: 1.2em;
  color: white;
}

.btn:hover a {
  font-size: 1.3em;
  font-weight: bold;
}

/*hovers*/
.btn:nth-child(1) {
  animation-name: lift1;
  animation-duration: 4s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}
.btn:hover:nth-child(2) {
  animation-name: lift2;
  animation-duration: 2s;
}
.btn:hover:nth-child(3) {
  animation-name: lift3;
  animation-duration: 2s;
}
.btn:hover:nth-child(4) {
  animation-name: lift4;
  animation-duration: 2s;
}
.btn:hover:nth-child(5) {
  animation-name: lift5;
  animation-duration: 2s;
}
.btn:hover:nth-child(6) {
  animation-name: lift6;
  animation-duration: 2s;
}
.btn:hover:nth-child(7) {
  animation-name: lift7;
  animation-duration: 2s;
}
.btn:hover:nth-child(8) {
  animation-name: lift8;
  animation-duration: 2s;
}
.btn:hover:nth-child(9) {
  animation-name: lift9;
  animation-duration: 2s;
}

.material-icons.md-36 {
  font-size: 36px;
  color: white;
}

.btn {
  background: var(--bu);
  font-size: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;


  -webkit-transition: all 0.3s cubic-bezier(.25,.8,.25,1);
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.btn:nth-child(1):hover {
  animation: flicker 2s infinite alternate;
}

.btn:not(:first-child):hover {
  box-shadow: 0 0 30px white;
  transition: all 0s;
}

.btn:not(:first-child) {
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  z-index: -2;

  -webkit-transition: all 0.6s cubic-bezier(.87,-.41,.19,1.44);
  transition: all 0.6s cubic-bezier(.87,-.41,.19,1.44);
}

.btn:nth-child(1) {box-shadow: 0 0 30px white;}
.btn:nth-child(2) {top:0px;-webkit-transition-delay: 0s;transition-delay: 0s}
.btn:nth-child(3) {top:0px;left:0px;-webkit-transition-delay: 0.1s;transition-delay: 0.1s}
.btn:nth-child(4) {left:0px;;-webkit-transition-delay: 0.2s;;transition-delay: 0.2s}
.btn:nth-child(5) {top:0px;left:0px;-webkit-transition-delay: 0.3s;transition-delay: 0.3s}
.btn:nth-child(6) {top:0px;-webkit-transition-delay: 0.4s;transition-delay: 0.4s}
.btn:nth-child(7) {top:0px;left:0px;-webkit-transition-delay: 0.5s;transition-delay: 0.5s}
.btn:nth-child(8) {left:0px;-webkit-transition-delay: 0.6s;transition-delay: 0.6s}
.btn:nth-child(9) {top:0px;left:0px;-webkit-transition-delay: 0.7s;transition-delay: 0.7s}

input#toggle:checked ~ #show-menu .btn:nth-child(2) {
  top:-170px;opacity:1;-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

input#toggle:checked ~ #show-menu .btn:nth-child(3) {
  top:-120px;left:120px;opacity:1;-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

input#toggle:checked ~ #show-menu .btn:nth-child(4) {
  left:170px;opacity:1;-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

input#toggle:checked ~ #show-menu .btn:nth-child(5) {
  top :120px;left:120px;opacity:1;-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

input#toggle:checked ~ #show-menu .btn:nth-child(6) {
  top:170px;opacity:1;-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

input#toggle:checked ~ #show-menu .btn:nth-child(7) {
  top:120px;left:-120px;opacity:1;-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

input#toggle:checked ~ #show-menu .btn:nth-child(8) {
  left:-170px;opacity:1;-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

input#toggle:checked ~ #show-menu .btn:nth-child(9) {
  top:-120px;left:-120px;opacity:1;-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

.menuBtn, .closeBtn {
  position: absolute;
  transition: all 0.3s ease;
}

.closeBtn {
  transform: translateY(50px);
  opacity: 0;
}

input#toggle:checked ~ #show-menu .btn .menuBtn {
  transform: translateY(-50px);
  opacity: 0;
}

input#toggle:checked ~ #show-menu .btn .closeBtn {
  transform: translateY(0px);
  opacity: 1;
}


@media (max-width: 1300px) {
  .wikiguide {
    margin-left: -32px;
  }

  .desc {
    left: 32%;
  }
}

@media (max-width: 1120px) {
  .wrap {
    display: block;
  }

  .wikiguide {
    margin-left: 160px;
  }

  .wikiguide2 {
    margin-left: 160px;
  }
}

@media (max-width: 1050px) {
  .box {
    width: 92px;
    height: 92px;
    font-size: 1em;
  }

  .desc {
    left: 26%;
  }

  .promo2 {
    top: 9rem;
  }

  .promo3 {
    bottom: 20px;
    left: 20px;
  }

  .writeup {
    font-size: 1em;
  }

  .wikiguide {
    margin-left: 120px;
  }

  .wikiguide2 {
    margin-left: 120px;
  }
}

@media (max-width: 850px) {
  .qgem img {
    width: 300px;
    height: 200px;
  }

  .qgem {
    top: -2.4em;
    left: -4.46em;
  }

  .desc {
    left: 24%;
    font-size: 1.4em;
  }

  .menu {
    top: 56%;
  }

  .wikiguide {
    margin-left: 80px;
  }

  .wikiguide2 {
    margin-left: 80px;
  }
}

@media (max-width: 750px) {
  .qgem img {
    width: 240px;
    height: 160px;
  }

  .qgem {
    top: -2em;
    left: -4em;
  }

  .desc {
    left: 22%;
  }

  .box {
    width: 62px;
    height: 62px;
    font-size: .9em;
  }

  .promo2 {
    top: 7rem;
  }

  .promo3 {
    position: absolute;
    bottom: 20px;
    left: 20px;
  }

  .writeup {
    font-size: .8em;
  }

  .wikiguide {
    margin-left: 50px;
  }

  .wikiguide2 {
    margin-left: 50px;
  }
}

@media (max-width: 650px) {
  .wikiguide {
    margin-left: 24px;
  }

  .wikiguide2 {
    margin-left: 24px;
  }

  .desc {
    left: 24%;
    font-size: 1.2em;
  }
}

@media (max-width: 550px) {
  .wikiguide {
    margin-left: 0px;
  }

  .wikiguide2 {
    margin-left: 0px;
  }

  .desc {
    top: 22%;
    left: 4%;
    font-size: 1.24em;
  }
}


@media (max-height: 660px) {
  .video {
    padding-top: 12px;
  }

  .writeup {
    font-size: 1em;
  }
}

@media (max-height: 460px) {
  .writeup {
    font-size: .8em;
    padding: 12px;
  }
}
