body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

#myHeading {
    position: sticky;
    top: 0;
    padding: 10px;
    z-index: 1000;
}

.text {
    font-size: 2em; /* Larger font size in em units */
    text-align: center; /* Center the text */
    color: #3030ff; /* Set the text color */
}

#gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centers the images in the gallery */
    gap: 10px; /* Adds space between the images */
}

#gallery img {
    flex: 1 0 calc(15% - 20px); /* Adjusts the width taking the gap into account */
    height: auto;
    padding: 5px;
    border: 3px solid #c4b474;
    border-radius: 15px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#gallery img:hover {
    transform: scale(1.05);
    z-index: 1;
    /* Adjust margin to move the image horizontally towards the center */
    margin-right: auto;
    margin-left: auto;
}


/* Modal styles */
.modal-content {
    max-height: 95vh; /* Max height is 80% of the viewport height */
    max-width: 95%; /* Max width is 90% of the viewport width */
    width: auto; /* Width is auto to maintain aspect ratio */
    height: auto; /* Height is auto to maintain aspect ratio */
    margin: auto; /* Center the image */
    display: block;
    
    position: absolute; /* Allows precise positioning */
    top: 50%; /* Position at the middle of the modal vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust position to truly center the image */

    
    border: 4px solid #c4b4f4; /* Solid border with a chosen color */
    border-radius: 10px; /* Rounded corners for the border */
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5); /* Optional: Adds a shadow for depth */
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    user-select: none;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.language-buttons {
    text-align: center;

    color: white; /* White text */
    padding: 12px 24px; /* Increase padding */
    font-size: 16px; /* Larger font size */
    margin: 10px auto;
    display: block;
}

.language-buttons button {
    margin: 0 5px;
    background: #c4b454; /* Green background */
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px; /* Rounded corners */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s; /* Smooth transition for hover effect */
}

.language-buttons button:hover {
    background: #e4d454; /* Darker green on hover */
    border-color: #7464f4; /* Darker border on hover */
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3); /* More pronounced shadow on hover */
}


