body {
    margin: 0;
    padding: 0;
    font-family: "Overpass", sans-serif;
}

#map {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9998;
    opacity: 0;
    transition: opacity 1s ease-in;
}

.video-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.nav-btn {
    position: absolute;
    top: 50vh;
    font-size: 24px;
    color: white;
    cursor: pointer;
    z-index: 9999;
    user-select: none;
    font-family: "Overpass", sans-serif;
}

.close-btn {
    left: 24px;
}

.next-btn {
    right: 24px;
}

.custom-marker, mapboxgl-marker { 
    cursor: pointer;
    transition: opacity 0.5s !important;
}

/* Hide sub-icons initially */
.custom-marker .marker-wrapper .marker-subicon {
    opacity: 0;
    transition: opacity 0.4s ease; /* fade in over 0.4s, adjust as desired */
  }
  
  /* Always show the intensity icon */
  .custom-marker .marker-wrapper .intensity-icon {
    opacity: 1;  /* always visible */
  }
  
  /* When hovering the entire marker container, show the sub-icons */
  .custom-marker:hover .marker-wrapper .marker-subicon {
    opacity: 1;
  }
  

.marker-wrapper {
    transition: opacity 0.5s !important;
}

.travel-mode-btn {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 10000;
}

.mapboxgl-canvas {
    cursor: crosshair;
}

.drawn-line {
    stroke: #ff0000;
    stroke-width: 2;
}