body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
  }
  
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 10px;
    width: 90%;
    max-width: 1600px;
    margin-top: 20px;
  }
  
  .image-card, .control-card {
    position: relative;
    overflow: hidden;
  }
  
  .image-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
  }
  
  .image-card img:hover {
    transform: scale(1.05);
  }
  
  .image-info {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    width: 100%;
    padding: 10px;
    font-size: 14px;
    text-align: center;
  }

  .download-link {
    display: block;
    text-align: center;
    margin-top: 5px;
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
  }
  
  .download-link:hover {
    text-decoration: underline;
  }
  
  .thumbnail-image {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
  }
  
  .preview-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* Prevents flickering by ignoring hover events on video */
    z-index: 1;
    }
  
  .hover-container {
    position: relative;
    width: 100%;
    height: auto;
  }
  
  .hover-container:hover .preview-video {
    opacity: 1; /* Fade in on hover */
  }
  
  .filter-controls {
    display: flex;
    justify-content: center;
    margin: 10px 0;
  }
  
  .filter-button {
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
  }
  
  .filter-button.active {
    background-color: #0056b3;
  }
  
  #minimap {
    padding: 0px;
    margin: 0 0px;
    display: block;
    width: 100%;
    height: 256px;
    position: relative;

  }

.maplibregl-map:hover {
  opacity: 0.5; /* Fade in on hover */
  transition: opacity 0.3s ease;
}

