
/* common */
html, body {
  background-color: black;
  margin: 0;
  padding: 0;
  position: relative;
  height: 100%;
}


body {
  color: #fff;
  overflow-x: hidden;
}

.top-bar {
  width: 100vw;
  height: 50vh;
  background: black;
  position: fixed;
  z-index: 1000;
  top: 0;
  transition: .3s ease-in-out;
}

.top-bar.bar {
  height: 10vh;
}

.top-bar.hide {
  height: 0vh;
  min-height: 0;
}

.bottom-bar {
  width: 100vw;
  height: 50vh;
  background: black;
  position: fixed;
  z-index: 1000;
  bottom: 0;
  text-align: center;
  transition: .3s ease-in-out;
}

.bottom-bar.bar {
  height: 10vh;
}

#webgl {
  position: fixed;
  z-index: 2;
  opacity: 0;
  transition: 10s opacity ease-in;
}

#webgl.show {
  opacity: 1;
}



/* info */
/* sound */
.sound {
  width: 20px;
  height: auto;
  position: absolute;
  z-index: 1000;
  top: 25px;
  right: 20px;
  cursor: pointer;
  opacity: .7;
}

.soundOn {
  display: block;
}

.soundOff {
  display: none;
}

/* sound */
/* sound icon animation */
.sbar {
  height: 1px;
  width: 2px;
  float: left;
  background-color: #3d5257;
  opacity: 1;
  bottom: 5px;
  position: absolute;
  -webkit-animation-duration: 500ms;
  -webkit-animation-play-state: running;
  -webkit-animation-direction: alternate;
  -webkit-animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  animation-duration: 500ms;
  animation-play-state: running;
  animation-direction: alternate;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.sbar.noAnim {
  -webkit-animation: none !important;
  -moz-animation: none !important;
  -o-animation: none !important;
  -ms-animation: none !important;
  animation: none !important;
}

.sbar#bar-1 {
  left: 0;
  -webkit-animation-name: danceHeight1;
  -webkit-animation-delay: 0ms;
  animation-name: danceHeight1;
  animation-delay: 0ms;
}

.sbar#bar-2 {
  left: 4px;
  -webkit-animation-name: danceHeight2;
  -webkit-animation-delay: 300ms;
  animation-name: danceHeight2;
  animation-delay: 300ms;
}

.sbar#bar-3 {
  left: 8px;
  -webkit-animation-name: danceHeight3;
  -webkit-animation-delay: 600ms;
  animation-name: danceHeight3;
  animation-delay: 600ms;
}

.sbar#bar-4 {
  left: 12px;
  -webkit-animation-name: danceHeight4;
  -webkit-animation-delay: 900ms;
  animation-name: danceHeight4;
  animation-delay: 900ms;
}

@-webkit-keyframes danceHeight1 {
  from {
    height: 1px;
  }

  to {
    height: 10px;
  }
}

@-webkit-keyframes danceHeight2 {
  from {
    height: 1px;
  }

  to {
    height: 12px;
  }
}

@-webkit-keyframes danceHeight3 {
  from {
    height: 1px;
  }

  to {
    height: 14px;
  }
}

@-webkit-keyframes danceHeight4 {
  from {
    height: 1px;
  }

  to {
    height: 8px;
  }
}

@keyframes danceHeight1 {
  from {
    height: 1px;
  }

  to {
    height: 10px;
  }
}

@keyframes danceHeight2 {
  from {
    height: 1px;
  }

  to {
    height: 12px;
  }
}

@keyframes danceHeight3 {
  from {
    height: 1px;
  }

  to {
    height: 14px;
  }
}

@keyframes danceHeight4 {
  from {
    height: 1px;
  }

  to {
    height: 8px;
  }
}

/* end sound anmation */
/* menu / nav */
.menu-button,
.menu-button span {
  display: inline-block;
  transition: all .3s;
  box-sizing: border-box;
}

.menu-button {
  width: 30px;
  height: 60px;
  position: absolute;
  top: 30px;
  right: 30px;
  cursor: pointer;
  z-index: 1000;
  display: none;
}

.menu-button span {
  position: absolute;
  left: 0;
  width: 100%;
  height: .2vw;
  min-height: 1px;
  background-color: #fff;
  opacity: 1;
  border-radius: 0vw;
}

.menu-button span:nth-of-type(1) {
  top: 0vw;
}

.menu-button span:nth-of-type(2) {
  top: 2vw;
}

.menu-button.active span:nth-of-type(1) {
  -webkit-transform: translateY(1vw) rotate(-45deg);
  transform: translateY(1vw) rotate(-45deg);
}

.menu-button.active span:nth-of-type(2) {
  -webkit-transform: translateY(-1vw) rotate(45deg);
  transform: translateY(-1vw) rotate(45deg);
}

/* end menu/nav */
::-webkit-scrollbar {
  width: 1px;
}

::-webkit-scrollbar-track {
  background: #000;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #333
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}


.footer-sound {
  text-align: center;
  width: 18px;
  position: fixed;
  height: 18px;
  margin-left: auto;
  right: 1vw;
  top: 2vh;
  cursor: pointer;
  z-index: 10000;
}


/* content */
/* loader */
.loader {
  opacity: 0;
  width: 0%;
  height: 1px;
  background-color: #3d5257;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: .3s all, .5s opacity;
  z-index: 0;
}

.loader.show {
  opacity: .7;
  z-index: 10000;
}

.loader-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: auto;
  z-index: 10000;
  opacity: 1;
  transition: .3s all, .5s opacity;
}

.loader-icon.show {
  opacity: 1;
  z-index: 10000;
}
