@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

* {
  margin: 0;
  font-family: 'Lato', sans-serif;
}

#video {
   position: relative;
   z-index: -1000;
}


#webgl {
    position: fixed;
    left: 0;
    top: 0;
    cursor: grab;
}

#blocker {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 101;
}

#instructions {
  width: 100%;
  height: 100%;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 25px;
  text-align: center;
  font-size: 15px;
  cursor: pointer;
}

#instructions p {
     letter-spacing: 2px;
     line-height: 1.5;
}


.joystick-area {
  opacity: 1;
  position: absolute;
  left: 40px;
  bottom: 25px;  
  width: 120px;
  height:120px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 105;
}

#value {
   position: absolute;
   z-index: 1000; 
}

.preloader-wrapper {
   position: fixed;
   width: 100vw;
   height: 100vh;
   background: rgb(14, 14, 14);
   z-index: 10000;
   transition: all 0.3s linear;
   overflow: hidden;
}



#percentage {
    color: white;
    font-size: 50px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

@media screen and (min-width: 1300px) {
    .joystick-area {
            display: none;
      
}
};