body, html {
    margin: 0;
    padding: 0;
    background-color: gray;
}

.navbar {
    background-color: green;
    padding: 10px;
    text-align: center;
}

.navbar button {
    padding: 10px 20px;
    margin: 0 10px;
}

.image-container {
    width: 100%;
    height: 600px; /* Adjust height as needed */
    background-color: grey;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container img {
    max-width: 100%;
    max-height: 100%;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Adjust the space between images */
    padding: 10px;
    background-color: grey; /* Light grey background for the gallery */
}

.gallery img {
    max-width: 300px; /* Set a max-width for images */
    height: auto;
    /*border: 2px solid #ccc; /* Add a border to each image */
    padding: 5px;
    background-color: gray;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}
  
  /* Modal Content (Image) */
.modal-content {
    width: auto; /* Adjust width as needed, auto ensures it maintains aspect ratio */
    max-width: 90%; /* Limit the image width to 90% of the modal's width */
    max-height: 80vh; /* Limit the image height to 80% of the viewport height */
    margin: auto; /* Center the image */
    display: block;
}
  
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}
  
/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
  
.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}



  

