body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212; /* Dark background color */
    color: #e0e0e0; /* Light text color */
  }
  
  header {
    background-color: #1c1c1c; /* Darker background for header */
    color: #ffffff;
    padding: 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }
  
  h1 {
    margin: 0;
    font-size: 2em;
  }
  
  main {
    display: flex;
    justify-content: center; /* Center the main content */
    padding: 20px;
  }
  
  .gallery-container {
    max-width: 1200px; /* Limit the max width for the gallery */
    width: 100%;
    box-sizing: border-box;
  }
  
  .gallery-item {
    width: calc(33.333% - 20px); /* Adjust width considering margin */
    margin: 10px; /* Add gap between items */
    background-color: #2c2c2c; /* Dark background for items */
    border-radius: 8px; /* Rounded corners */
    overflow: hidden; /* Clip overflow */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
  }
  
  .gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer; /* Make images clickable */
  }
  
  .gallery-item p {
    margin: 0;
    padding: 10px;
    background-color: #2c2c2c; /* Match item background */
    text-align: center;
    color: #e0e0e0; /* Light text for captions */
  }
  
  @media (max-width: 600px) {
    .gallery-item {
      width: calc(50% - 20px); /* Adjust width for smaller screens */
    }
  }
  
  /* Modal styles */
  .modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
  }
  
  .modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
  }
    .modal-content.zoomed {
    transform: scale(2); /* Adjust the scale as needed */
    transition: transform 0.3s ease;
    cursor: zoom-out;
  }
  #caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
  }
  
  .close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
  }
  