html,
body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  height: 100%;
}

#webgl {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hidden {
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  opacity: 0;
}

#time-text {
  font-size: 1vw;
  font-size: 20px;
}

.time-display {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-family: Arial, sans-serif;
}

#world-time-display {
  transform: translateY(100px);
  transition: opacity 0.5s ease-in-out, transform 1s ease-in-out;
  opacity: 0;
}

#world-time-display.visible {
  opacity: 1;
  transform: opacity 1s ease-in-out;
  transform: translateY(0px);
}

.progress-bar-container {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#progress-bar {
  width: 30%;
  margin-top: 0.5%;
  height: 1.5%;
}

label {
  color: lightgray;
  font-size: 2rem;
}

.fade-out {
  transition: opacity 2.5s ease-out;
  opacity: 0;
}

.lil-gui {
  --width: 450;
  --background-color: #000;
  --padding: 4px;
  --spacing: 10px;
  --font-size: 15px;
  --input-size: 15px;
  --widget-height: 18px;
  --name-width: 50%;
  --slider-input-width: 1%;
  --color-input-width: 1%;
  --scrollbar-width: 1px;
  --widget-border-radius: 5px;
  --folder-indent: 15px;
}


.white {
  color: white;
  padding: 10px;
}


.tooltip {
  color: white;
  padding: 10px;
  transform: translateY(-10px);
  position: relative;
  opacity: 0;
  transition-duration: 0.2s;
  transition-property: opacity, transform;
}

.hide {
  opacity: 0;
  transform: opacity 0.3s ease-in-out;
  transform: translateY(-10px);
}

.show {
  opacity: 1;
  transform: opacity 1s ease-in-out;
  transform: translateY(0px);
}

#reset-camera-btn {
  position: absolute;
  top: 2%;
  left: 30px;
  z-index: 100;

  visibility: hidden;
  transition: opacity 0.5s ease-in-out, transform 1s ease-in-out;
  transform: translateX(200px);
  opacity: 0; 

  color: whitesmoke;
  font-size: 25px;
  cursor: grab;
}

#reset-camera-btn.show {
  opacity: 1;
  transform: translateX(0);
}

#legend-container {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 100;
  
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, transform 1s ease-in-out;
  transform: translateX(10px);
  opacity: 0;

  color: whitesmoke;
}

#legend-container.show {
  opacity: 1;
}

.legend-item {
  display: flex;
  align-items: center;
  margin: 1px 0;
}

.color-indicator {
  width: 15px;
  height: 15px;
  margin-right: 15px;
  transform: translateY(-7.5px);
}

.legend-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

