/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }
  
  .gallery {
    position: relative;
    width:80%;
    margin: 20px auto;
  }
  
  .image-container {
    position: relative;
    text-align: center;
  }
  
  .image-container img {
    width: 100%;
    cursor: pointer;
    transition: transform 0.2s ease;
  }
  
  .image-number {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
  }
  
  .nav-button {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background-color: rgba(0, 0, 0, 0.5);
      color: white;
      padding: 10px;
      cursor: pointer;
      display: none;
    }
  
  .gallery:hover .nav-button {
    display: block;
  }
  
  .nav-button.left {
    left: 0;
  }
  
  .nav-button.right {
    right: 0;
  }
  
  .nav-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  .dots {
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }
  
  .dot {
    width: 12px;
    height: 12px;
    background-color: lightgray;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .dot.active {
    background-color: gray;
  }
  
  /* Fullscreen Modal Styles */
  .fullscreen-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
  }
  
  .fullscreen-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  
  .fullscreen-image {
    max-width: 90%;
    max-height: 100%;
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    top: 50%;
    cursor: grab;
    transition: transform 0.2s ease;
  }

  .fullscreen-container:hover .nav-button {
    display: block;
  }
  
  .fullscreen-footnote {
    position: absolute;
    bottom: 1%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 6px 8px;
    border-radius: 4px;
    max-width: 80%;
    text-align: center;
    z-index: 10000;
  }
  
  .exit-fullscreen {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: white;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 4px;
    z-index: 10000;
  }
  
  #fullscreen-prev,
  #fullscreen-next {
    position: absolute;
    top: 50%;
    font-size: 36px;
    color: white;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 16px;
    border-radius: 4px;
    user-select: none;
    transform: translateY(-50%);
    z-index: 10000;
  }
  
  #fullscreen-prev {
    left: 20px;
  }
  
  #fullscreen-next {
    right: 20px;
  }
  
  .image-number-fullscreen {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 10000;
  }
  
  