/* General styling */
body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #111111;
}
#Header_Title {
    font-size: 30px;
    color: rgb(255, 255, 255);
}

/* Thumbnail grid */
#gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px;
}

.thumbnail img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.2s;
}

.thumbnail img:hover {
    transform: scale(1.1);
}
/* Image viewer container */
#viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#viewer.show {
    visibility: visible;
    opacity: 1;
}

/* Full image */
#fullImage {
    max-width: 80%;
    max-height: 70%;
    border-radius: 10px;
}

/* Description styling */
#imageDescription {
    color: white;
    font-size: 18px;
    margin: 10px 0;
    text-align: center;
    max-width: 80%;
}

/* Controls container (keeps buttons fixed at the bottom) */
#viewerControls {
    position: fixed;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Buttons styling */
#viewerControls button {
    background-color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 18px;
    transition: background-color 0.2s;
}

#viewerControls button:hover {
    background-color: #ddd;
}
