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


:root {
  --bu:#ffd9aa;
  --w: #FFFFFF;
  --art: #679873;
}

input {
  position: absolute;
  display: none
 }

i > img {
  width: 100px;
  height: 100px;
}

.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: 2em;
   color: black;
   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;
  z-index: 2;
}

.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: #b5cbea;
}


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


.btn {
  z-index: 1;
  width: 60%;
  height: 60%;
  margin-top: 20%;
  margin-left: 20%;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  font-family: 'courier new', serif;
  position: absolute;
}

.btn_home {
  width: 100%;
  height: 100%;
  margin: 0;
  font-size: 2vw;
  font-size:calc(12px + 1vw);
  color: white;
}

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

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


.default {cursor: default;}


.btn:nth-child(2){
  background: #4777ec;
}
.btn:nth-child(3){
  background: #79d1ff;
}
.btn:nth-child(4){
  background: #47acec;
}
.btn:nth-child(5){
  background: #4777ec;
}
.btn:nth-child(6){
  background: #79d1ff;
}
.btn:nth-child(7){
  background: #47acec;
}


@keyframes animate {
  0% {top: 0%;}
  50% {top: 10%;}
  100%  {top: -10%;}
}

@keyframes colour1 {
  0% {background-color: #4777ec;}
  100% {background-color: var(--bu);}
}
@keyframes colour2 {
  0% {background-color: #79d1ff;}
  100% {background-color: var(--bu);}
}
@keyframes colour3 {
  0% {background-color: #47acec;}
  100% {background-color: var(--bu);}
}


/*hovers*/
.btn:nth-child(1) {
  animation-name: lift1;
  animation: animate 3s ease-in-out alternate;
  animation-iteration-count: infinite;
  animation-delay: 3s;
}
.btn:hover:nth-child(2) {
  animation: lift2 2s forwards, colour1 0.5s forwards;
}
.btn:hover:nth-child(3) {
  animation: lift3 2s forwards, colour2 0.5s forwards;
}
.btn:hover:nth-child(4) {
  animation: lift4 2s forwards, colour3 0.5s forwards;
}
.btn:hover:nth-child(5) {
  animation: lift5 2s forwards, colour1 0.5s forwards;
}
.btn:hover:nth-child(6) {
  animation: lift6 2s forwards, colour2 0.5s forwards;
}
.btn:hover:nth-child(7) {
  animation: lift7 2s forwards, colour3 0.5s forwards;
}


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

.btn {
  background: var(--bu);
  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;left: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) {top:0px;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;left: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}

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

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

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

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

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

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



@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) {
  .promo{
    left: 20px;
    bottom: 20px;
    top: auto;
}

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