body {
  background-color: #FFFFFF;
  padding: 0px;
  margin: 0px;
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

#mainCanvas{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  margin: 0px;
  padding: 0px;
  width: auto;
  height: auto;
}

.buffer{
  display: none;
}

#wait{
  z-index: 997;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
}

#wait img{
  z-index: 998;
  position: absolute;
  max-width: 30%;
  max-height: 30%;
  width: auto;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#w01{
  -webkit-animation: load2 1.6s infinite linear 0s;
  animation: load2 1.6s infinite linear 0s;
}

#w02{
  -webkit-animation: load2 1.6s infinite linear 0.2s;
  animation: load2 1.6s infinite linear 0.2s;
}

#w03{
  -webkit-animation: load2 1.6s infinite linear 0.4s;
  animation: load2 1.6s infinite linear 0.4s;
}

#w04{
  -webkit-animation: load2 1.6s infinite linear 0.6s;
  animation: load2 1.6s infinite linear 0.6s;
}

#w05{
  -webkit-animation: load2 1.6s infinite linear 0.8s;
  animation: load2 1.6s infinite linear 0.8s;
}

#w06{
  -webkit-animation: load2 1.6s infinite linear 1s;
  animation: load2 1.6s infinite linear 1s;
}

#w07{
  -webkit-animation: load2 1.6s infinite linear 1.2s;
  animation: load2 1.6s infinite linear 1.2s;
}

#w08{
  -webkit-animation: load2 1.6s infinite linear 1.4s;
  animation: load2 1.6s infinite linear 1.4s;
}

#overlay{
  z-index: 1001;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  mix-blend-mode: multiply;
  border: none;
}

#rendering{
  display: none;
  z-index: 1000;
  font-family: "Arial Narrow", sans-serif;
  color: #000000;
  font-size: min(10px, 4vw);
  font-weight: 100;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -110%);
}

#menu{
  z-index: 991;
  
}

#background, #waitbackground{
  z-index: 992;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: white;
}

#buttons{
  z-index: 993;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

button{
  font-family: "Arial Narrow", sans-serif;
  color: black;
  font-size: 5vh;
  font-weight: 100;
  margin-top: 0.75vh;
  padding: 0px;
  background: none;
  border-color: black;
  border: none;
  cursor: pointer;
}

button:disabled{
  cursor: default;
  font-style: italic;
  border-bottom: solid 2px;
}

.break{
  margin-bottom: 5vh;
}


@-webkit-keyframes load2 {
  0% {
    opacity: 0;
  }
  2% {
    opacity: 0;
  }
  4% {
    opacity: 1;
  }
  17% {
    opacity: 1;
  }
  19% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes load2 {
  0% {
    opacity: 0;
  }
  2% {
    opacity: 0;
  }
  4% {
    opacity: 1;
  }
  17% {
    opacity: 1;
  }
  19% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
