/* Overlay styles */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none; /* Hidden by default */
    justify-content: center;
    z-index: 1000;
  }
  
  /* Content inside overlay */
  .overlay-content {
    position: relative;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    max-width: 90vw; /* Max 90% of viewport width */
    max-height: 90vh; /* Max 90% of viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5vw;
  }
  
  /* Image inside overlay */
  .overlay-content img {
    max-width: 100%; /* Scale image down to fit within the container */
    max-height: 100%; /* Scale image down to fit within the container */
    width: auto; /* Maintain aspect ratio */
    height: auto; /* Maintain aspect ratio */
  }
  
  /* Close button styling */
  .close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
  }
  