/* info-overlay.css */

#infoOverlay {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed position to stay in place */
    top: 0;
    left: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    z-index: 2; /* Ensure it's on top of other content */
    overflow-x: hidden; /* Prevent horizontal scrolling */
    overflow-y: auto; /* Enable vertical scrolling if the content is tall */
  }
  
  /* Style for the content inside the overlay */
  .infoOverlay-content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }

  #infoOverlay .overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    text-align: center;
    padding: 40px;
    box-sizing: border-box;
  }
  
 /* Close button styles (if you have one) */
#infoOverlay .closebtn {
    cursor: pointer;
    position: absolute;
    top: 220px; /* Adjust as necessary to position correctly */
    left: 22px; /* Adjust as necessary to position correctly */
    width: 25px;
    height: 25px;
    z-index: 103; /* Ensure it is above the infoButton */
    opacity: 0; /* Make the button invisible but still functional */
}

/* Adjust for small screens if needed */
@media screen and (max-height: 450px) {
  .overlay .closebtn {
    top: 220px; /* Adjust as necessary */
    left: 22px; /* Adjust as necessary */
    opacity: 0; /* Keep it invisible on small screens */
  }
}


  /* Additional styles specific to the infoOverlay */

  
  /* The navigation links inside the overlay */
  .overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    /* Display block instead of inline */
    transition: 0.3s;
    /* Transition effects on hover (color) */
  }
  .overlay a:hover,
  .overlay a:focus {
    color: #f1f1f1;
  }
  
 
  

  