* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

header {
    background-color: #333;
    color: white;
    padding: 1rem;
}

nav {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
}

.slideshow {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-color: #f0f0f0;
}

.slide.active {
    opacity: 1;
}

footer {
    background-color: #f4f4f4;
    padding: 1rem;
    text-align: center;
}

form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

input[type="email"] {
    flex: 1;
    padding: 0.5rem;
}

button {
    padding: 0.5rem 1rem;
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.gallery-filter {
    margin: 2rem auto;
    max-width: 500px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem auto;
    max-width: 1200px;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.vote-bar {
    height: 20px;
    background-color: #333;
    margin: 0.5rem 0;
}

.countdown {
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .slideshow {
        height: 200px;
    }
    
    form {
        flex-direction: column;
    }
    
    input[type="email"],
    button {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}