body {
    margin: 0;
    background-color: #101826;
    color: #ffffff;
    font-family: Arial, sans-serif;
}

.menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    padding: 10px 20px;
    background-color: #101826;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.menu-button {
    background: none;
    color: #ffffff;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.2rem;
    margin: 5px;
    text-decoration: none;
    border: 2px solid #000; /* Add border to buttons */
    border-radius: 10px; /* Add rounded corners */
}

.menu-button:hover {
    color: lightblue;
}

.menu-button.active {
    background-color: navy; /* Set the background to navy blue */
    color: #ffffff; /* Keep the text color white for readability */
}

.gallery {
    display: grid;
    grid-template-columns: repeat(11, 1fr); /* 6 equal columns */
    margin-top: 96px; /* Space from menu */
    gap: 10px; /* Spacing between thumbnails */
    justify-items: center; /* Center items */
}

.gallery img {
    width: 169px; /* Width of thumbnails */
    height: 169px; /* Height to maintain 1:1 aspect ratio */
    border: 2px solid black; /* Black border */
    border-radius: 8px; /* Rounded corners */
    transition: transform 0.3s ease, opacity 0.3s ease; /* Transition for thumbnail hover effect */
}

.gallery img.show {
    opacity: 1; /* Full opacity when shown */
}

.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8); /* Black background with opacity */
    justify-content: center;
    align-items: center;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    transform: scale(0); /* Start at scale 0 */
    opacity: 0; /* Start hidden */
    transition: transform 2s ease, opacity 2s ease; /* Transition for animation */
}

.modal-content.show {
    transform: scale(1); /* Full size */
    opacity: 1; /* Full opacity */
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}