*
{
    margin: 0;
    padding: 0;
    font-family: 'poppins', sans-serif;
    box-sizing: border-box;
}
body {
    font-family: sans-serif;
    margin: 20px;
    background-color: #191919;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.gallery-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 800px;
    width: 95%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.controls {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.controls button {
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: white;
    color: white;
    font-size: 16px;
    transition: background-color 0.3s ease-in-out;
}

.controls button:hover {
    background-color: whitesmoke;
}

#current-image {
    max-width: 100%;
    height: 50%;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 15px 0;
    border-top: 1px solid #eee;
}

.thumbnail {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 3px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
    border-color: #007bff;
}