body {
    font-family: 'Bree Serif', serif;
    margin: 0;
    background: linear-gradient(135deg, #f6c6dd 0%, #fdf3ea 50%, #fca7c7 100%);
    color: #333;
}

header {
    background: linear-gradient(90deg, #f6c6dd 0%, #fdf3ea 50%, #fca7c7 100%);
    color: blueviolet;
    padding: 20px;
    text-align: center;
}

nav {
    background: #841A6E;
    padding: 10px;
    text-align: center;
}

nav a {
    margin: 0 15px;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

section {
    padding: 40px;
    max-width: 900px;
    margin: auto;
}

h2 {
    color: #e63946;
}

.card {
    background: white;
    padding: 20px;
    margin: 15px 0;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

button {
    background: #e63946;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Quiz styling */
.quiz button {
    margin: 5px;
}

.logo {
    width: 350px;
    max-width: 75%;
    height: auto;
    display: block;
    margin: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,.15));
}

.tagline{

    font-size:20px;

    color: #841A6E;

    margin-top:10px;

    font-style:italic;
}

.gallery-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;

    margin-top: 30px;

}

.gallery-grid img {

    width: 100%;

    height: 250px;

    object-fit: cover;

    border-radius: 12px;

    box-shadow: 0 6px 20px rgba(0,0,0,.15);

    transition: transform .3s ease;

}

.gallery-grid img:hover {

    transform: scale(1.03);

}

.video-container {
    display: grid;
    justify-content: center;
    margin-top: 30px;
    
}

.slideshow-container {
    position: relative;
    max-width: 400px;
    margin: auto;
}

.slide {
    display: none;
}

.slide img {
    border-radius: 12px;
}

/* buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 12px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    background: rgba(0,0,0,0.4);
    border-radius: 5px;
    user-select: none;
}

.next {
    right: 0;
}

.prev {
    left: 0;
}

/* dots */
.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
}

.active, .dot:hover {
    background-color: #e63946;
}

/* fade animation */
.fade {
    animation: fade 0.6s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

.about-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.about-container img {
    width: 250px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.about-text {
    flex: 1;
}

/* Mobile responsive fix */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-container img {
        width: 80%;
        margin: auto;
    }
}

.winterclasses {
    display: block;
    max-width: 300px;
    width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 12px;
}

#bookclub {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    margin-top: 40px;
    margin-bottom: 40px;
}

.bookclub {
    display: block;
    max-width: 300px;
    width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 12px;
}

@media (max-width: 768px) {

    section {
        padding: 20px;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    nav a {
        margin: 5px;
    }

    h2 {
        text-align: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid img {
        height: auto;
    }

    .card {
        padding: 15px;
    }

    iframe {
        width: 100%;
        height: 1200px;
    }

    .logo {
        width: 250px;
    }

    .slideshow-container {
        max-width: 100%;
    }

    .delisle-poster {
        max-width: 250px;
        width: 100%;
    }
}