body {
    margin: 0;
    background-color: #101826;
    color: #ffffff;
    font-family: Arial, sans-serif;
}


.gallery {
    display: grid;
    grid-template-columns: repeat(7, 1fr); /* 6 equal columns */
    margin-top: 96px; /* Space from menu */
    gap: 10px; /* Spacing between thumbnails */
    justify-items: center; /* Center items */
}

.gallery img {
    width: 300px; /* Width of thumbnails */
    height: 169px; /* Height to maintain 16:9 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;
}