/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    text-align: center;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

h1 {
    margin-bottom: 20px;
}

/* Employee Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.gallery img {
    width: 100%;
    border: 2px solid #ddd;
    border-radius: 5px;
    transition: transform 0.2s ease-in-out;
}

.gallery img.active {
    border-color: #4CAF50;
    transform: scale(1.1);
}

/* Buttons */
.btn {
    padding: 10px 20px;
    font-size: 16px;
    background: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn:hover {
    background: #45a049;
}

/* Winner Section */
.winner {
    margin-top: 20px;
    display: none; /* Hidden by default */
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.winner img {
    width: 70%; /* Increase size to take 70% of the screen width */
    border: 8px solid gold; /* Thicker gold border */
    border-radius: 15px; /* Slightly rounder corners */
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}


.hidden {
    display: none;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    .winner img {
        width: 60%; /* Reduce size on smaller screens */
    }
}
