/* Scss Document */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: #000 url("/img/bg.jpg");
  background-position: center;
}

main#mainbody {
  margin: 0 auto;
  height: 100vh;
  width: 1px;
  background: #fff url("/img/dune/bg-dune.png") no-repeat;
  background-position: center;
  opacity: 0;
  overflow: hidden;
  position: relative;
  /*thingy*/
  /*marks*/
  /*stipBottom*/
}
main#mainbody div#bits {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
  background: url("/img/dune/bit.png");
}
main#mainbody div#thingy {
  position: absolute;
  bottom: 200px;
  right: 300px;
  z-index: 100;
}
main#mainbody div#thingy div {
  margin: auto;
  padding: 0;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  opacity: 0;
}
main#mainbody div#tower {
  position: absolute;
  bottom: 485px;
  right: 264px;
  z-index: 101;
}
main#mainbody div#tower div {
  margin: auto;
  padding: 0;
  position: absolute;
  top: -5px;
  right: 0;
  bottom: 5px;
  left: 0;
  width: 127px;
  height: 400px;
  opacity: 0;
}
main#mainbody div#brCorner {
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 463px;
  height: 567px;
  opacity: 0;
  z-index: 99;
}
main#mainbody div#subCorner {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 652px;
  height: 652px;
  z-index: 95;
}
main#mainbody div#subCorner div {
  opacity: 0;
  position: absolute;
  width: 652px;
  height: 652px;
  right: -5px;
  bottom: -5px;
}
main#mainbody div#thingy div#smallRing {
  z-index: 100;
}
main#mainbody div#thingy div#quarterRing {
  z-index: 99;
}
main#mainbody div#thingy div#wingedRing {
  z-index: 98;
}
main#mainbody div#thingy div#halfRingInner {
  z-index: 97;
}
main#mainbody div#thingy div#halfRingOuter {
  z-index: 96;
}
main#mainbody div#tower div#towerBase {
  z-index: 100;
}
main#mainbody div#marks {
  position: absolute;
  top: 10px;
  left: 10px;
  opacity: 1;
  z-index: 97;
}
main#mainbody div#marks div {
  width: 965px;
  height: 920px;
  position: absolute;
  opacity: 0;
}
main#mainbody div#marks div#mark03in,
main#mainbody div#marks div#mark03out {
  width: 150px;
  height: 150px;
  top: 394px;
  left: 16px;
}
main#mainbody div#stripBottom {
  width: 100%;
  height: 50px;
  background: url("/img/dune/bgStrip.svg") repeat-x;
  position: absolute;
  left: 0;
  bottom: -50px;
}
main#mainbody div#stripBottom div#bottomClip {
  width: 45px;
  height: 50px;
  position: absolute;
  right: 100%;
  bottom: 0;
  opacity: .5;
  background: #fff;
  z-index: -1;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
main#mainbody img#logo {
  position: fixed;
  top: 50%;
  left: 50%;
  /* bring your own prefixes */
  transform: translate(-50%, -50%);
}
main#mainbody input#xpost {
  border: none;
  background: none;
  color: #eee;
  font-size: .7em;
  text-align: right;
  position: absolute;
  top: 10px;
  right: 10px;
  opacity: 0;
}
main#mainbody input#ypost {
  border: none;
  background: none;
  color: #eee;
  font-size: .7em;
  text-align: right;
  position: absolute;
  top: 25px;
  right: 10px;
  opacity: 0;
}

/*Main body*/
div#loading {
  width: 80px;
  height: 80px;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
div#loading div#spin-out {
  width: 80px;
  height: 80px;
  position: absolute;
  -webkit-animation: spin 4s linear infinite;
  -moz-animation: spin 4s linear infinite;
  animation: spin 4s linear infinite;
}
div#loading div#spin-in {
  width: 36px;
  height: 36px;
  position: absolute;
  top: 22px;
  left: 22px;
  -webkit-animation: spinr 4s linear infinite;
  -moz-animation: spinr 4s linear infinite;
  animation: spinr 4s linear infinite;
}
@-moz-keyframes spin {
  100% {
    -moz-transform: rotate(360deg);
  }
}
@-webkit-keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes spinr {
  100% {
    -moz-transform: rotate(-360deg);
  }
}
@-webkit-keyframes spinr {
  100% {
    -webkit-transform: rotate(-360deg);
  }
}
@keyframes spinr {
  100% {
    -webkit-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}
.loaded {
  opacity: 0;
  visibility: hidden;
}

.openbody {
  opacity: 0;
  visibility: block;
}

/*loading*/
