/* common */

html, body {
  font-family: Verdana, sans-serif;
  color: rgba(255, 255, 255, 0.5);

  background-color: rgba(0, 0, 0, 1);
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* list */
nav {
  display: table-cell;
  vertical-align: bottom;
  /*
  text-align: center;
  */
}
ul {
  line-height: 2;
  margin: 10px 10px;

  list-style: none;
  -webkit-padding-start: 0;
  text-align: center;
}

/* hide */
header nav {
  position: absolute;
  right: 0;
  top: -100000px;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 10px;
}

/* menu icon */
#iconsToggle{
  position: absolute;
  display: flex;
  bottom: 0px;
  padding: 25px;
  width: 100%;
  justify-content: center;
  align-items: center;
}
#iconsDiv{
  position: relative;
  flex-direction: row;
  cursor: pointer;
}
#soundIcon{
  padding-right: 5px;
}
#helpIcon{
  padding-left: 5px;
  padding-right: 5px;
}

#navToggle {
  position: absolute;
}
#helpToggle{
  position: absolute;
  bottom: 0px;
  right: 0px;
}
#soundToggle {
  position: absolute;
  bottom: 0px;
  left: 0px;
}

/* open menu */
#navToggle .openNav span:nth-child(1) {
  transform: rotate(-45deg);
}
#navToggle .openNav span:nth-child(2),
#navToggle .openNav span:nth-child(3) {
  transform: rotate(45deg);
}
.openNav nav {
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
}

/* menu */
.scene{
  cursor: pointer;
  border-bottom: solid 1px rgba(255, 255, 255, 0.3);
}
.selectedScene{
  color: rgba(255, 255, 255, 0.9);
  border-bottom: solid 1px rgba(255, 255, 255, 0.9);
}

/* overlay */
/*
#overlayWrap{
  position: absolute;
  background-color: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
}
#overlay{
  position: relative;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);

  width: 80px;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);;
  padding: 8px;
  border: solid 3px rgba(255, 255, 255, 0.9);
  background-color: rgba(0, 0, 0, 1);
  cursor: pointer;
}
*/
#overlay{
  display: flex;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  align-items: center;
  justify-content: center;
  opacity: 1;

  color: rgba(255, 255, 255, 0.9);;
  background-color: rgba(0, 0, 0, 0.7);
  cursor: pointer;

  z-index: 100;
}
#overlay.off{
  opacity: 0;
  pointer-events: none;
}

/* canvas */
#canvas {
  display: block;
}
/*
body #wrapper{
  width: 100%;
  height: 100%;
  position: fixed;
}
#canvas {
  display: block;
  z-index: 0;
}
*/

.linkIcon{
  margin: 5px;
}

a:link, a:visited, a:active{
  color: rgba(255, 255, 255, 0.3);
}
a.linkIcon:hover{
  color: rgba(255, 255, 255, 0.9);
}
a.scene:hover{
  color: rgba(255, 255, 255, 0.9);
  border-bottom: solid 1px rgba(255, 255, 255, 0.9);
}
a:active{
  color: rgba(255, 255, 255, 0.3);
}

#helpIcon.openNav, #soundIcon.openNav{
  color: rgba(255, 255, 255, 0.7);
}
#soundIcon, #helpIcon{
  color: rgba(255, 255, 255, 0.3);
}
#soundIcon:hover, #helpIcon:hover{
  color: rgba(255, 255, 255, 0.9);
}

img {
  display: inline-block;
  margin-top: 15px;
}

.icon {
  text-align: center;
}

#soundCard{
  width: 100%;
  height: 100%;
}

@media(min-width: 0px){
  html, body{
    font-size: 28px;
  }header nav {
    width: 80%;
  }
  #navToggle{
    margin: 50px;
    width: 60px;
    height: 50px;
  }
  #navDiv{
    height: 50px;
  }
  #navToggle span:nth-child(1) {top:0px}
  #navToggle span:nth-child(2) {top:22px}
  #navToggle span:nth-child(3) {top:44px}
  #navToggle .openNav span {top: 22px}

  #helpToggle{
    margin: 40px;
    width: 60px;
    height: 50px;
  }
  #helpDiv{
    height: 50px;
  }

  #soundToggle{
    margin: 40px;
    width: 60px;
    height: 50px;
  }
  /*
  #soundDiv{
    height: 50px;
  }
  */

  img, #soundcloud{
    width: 64px;
    height: 64px;
  }
  #soundcloud{
    transform: scale(2);
    transform-origin: 0 0;
  }
  #guiContainer *{
    font-size: 20px;
  }
}

@media(min-width: 1000px){
  html, body{
    font-size: 14px;
  }
  header nav {
    width: 30%;
  }
  #navToggle{
    margin: 20px;
    width: 30px;
    height: 25px;
  }
  #navDiv{
    height: 25px;
  }
  #navToggle span:nth-child(1) {top:0px}
  #navToggle span:nth-child(2) {top:11px}
  #navToggle span:nth-child(3) {top:22px}
  #navToggle .openNav span {top: 11px}

  #helpToggle{
    margin: 20px;
    width: 30px;
    height: 25px;
  }
  #helpDiv{
    height: 25px;
  }

  #soundToggle{
    margin: 20px;
    width: 30px;
    height: 25px;
  }
  /*
  #soundDiv{
    height: 25px;
  }
  */

  img, #soundcloud{
    width: 32px;
    height: 32px;
  }
  #soundcloud{
    transform: scale(1);
    transform-origin: 0 0;
  }
  #guiContainer *{
    font-size: 14px;
  }
}

.openNav #bar1, .openNav #bar2, .openNav #bar3{
  border-bottom: solid 3px rgba(255, 255, 255, 0.9);
}

#guiWrapper{
  position: absolute;
  right: 0;
  top: 0;
}
#guiContainer{
  position: relative;
  z-index: 1;
}
