

* {
    box-sizing: border-box;
}


body {

    margin: 0;

    min-height: 100vh;

    font-family: "Times New Roman", serif;

    background-image:
      
        url("celebration-background.jpg");

    background-size: cover;

    background-position: center;

    background-attachment: fixed;

    overflow-x: hidden;
}




.celebration-heading {

    text-align: center;

    padding-top: 35px;

    margin-bottom: 55px;

}


.celebration-heading h1 {

    font-size: 55px;

    margin: 8px 0;

    color: white;

    font-style: italic;

    text-shadow:
        2px 3px 5px rgba(0, 0, 0, 0.7);

}


.celebration-heading p {

    font-size: 19px;

    font-weight: bold;

    color: white;

    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.7);

}


.celebration-decoration {

    color: #e5c86b;

    font-size: 18px;

    margin: 8px 0;

}



.celebration-carousel {

    width: 100%;

    position: relative;

    display: flex;

    align-items: center;

    padding: 0 75px 100px;

}



.celebration-track {

    width: 100%;

    display: flex;

    gap: 45px;

    overflow-x: auto;

    scroll-behavior: smooth;

    scroll-snap-type: x mandatory;

    padding: 70px 30px;

    scrollbar-width: none;

}


.celebration-track::-webkit-scrollbar {

    display: none;

}




.celebration-card {

    flex: 0 0 350px;

    min-height: 650px;

    background: rgba(87, 8, 8, 0.94);

    border: 3px solid #e5c86b;

    border-radius: 10px;

    overflow: hidden;

    scroll-snap-align: center;

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.5);

    display: flex;

    flex-direction: column;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

}


.celebration-card:hover {

    transform: translateY(-8px);

    box-shadow:
        0 18px 35px rgba(0, 0, 0, 0.6);

}




.celebration-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.celebration-video iframe {

    width: 100%;

    height: 100%;

    border: none;

    display: block;

}



.video-top .celebration-video {

    order: 1;

}


.video-top .celebration-info {

    order: 2;

}


.video-bottom .celebration-info {

    order: 1;

}


.video-bottom .celebration-video {

    order: 2;

}



.celebration-info {

    padding: 22px;

    background: #700000;

    color: white;

    flex: 1;

}


.celebration-info h2 {

    text-align: center;

    color: white;

    font-size: 29px;

    font-style: italic;

    margin: 0 0 18px;

    padding-bottom: 10px;

    border-bottom: 2px solid #e5c86b;

}


.celebration-info p {

    font-size: 15px;

    line-height: 1.5;

    text-align: left;

    margin: 12px 0;

    color: white;

}


.celebration-info strong {

    color: white;

}



.celebration-game {

    margin-top: 20px;

    padding: 15px;

    background: #f3d98b;

    border: 2px solid #700000;

    border-radius: 12px;

    box-shadow:
        3px 4px 8px rgba(0, 0, 0, 0.25);

}


.celebration-game > strong {

    display: block;

    font-size: 16px;

    color: #700000;

    margin-bottom: 8px;

}


.celebration-game p {

    margin: 7px 0 10px;

    font-size: 14px;

}


.celebration-game button {

    display: block;

    width: 100%;

    margin: 7px 0;

    padding: 8px;

    border: 2px solid #700000;

    border-radius: 8px;

    background: white;

    color: #4b0000;

    font-family:
        "Times New Roman",
        serif;

    font-weight: bold;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;

}


.celebration-game button:hover {

    background: #fff4cc;

    transform: scale(1.02);

}


.celebration-game button:disabled {

    cursor: default;

}


.correct-answer {

    background: #b9e5bd !important;

    border-color: #176b2c !important;

}


.wrong-answer {

    background: #f2b7b7 !important;

    border-color: #8b0000 !important;

}


.game-result {

    font-weight: bold;

    text-align: center !important;

    margin-top: 10px !important;

}





.celebration-carousel-button {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 70px;

    height: 70px;

    border-radius: 50%;

    border: 3px solid #e5c86b;

    background:
        linear-gradient(
            145deg,
            #700000,
            #450000
        );

    color: white;

    font-family: Georgia, serif;

    font-size: 55px;

    line-height: 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    z-index: 20;

    box-shadow:
        0 6px 15px rgba(0, 0, 0, 0.5);

    transition:
        transform 0.25s ease,
        background 0.25s ease;

}


.celebration-carousel-button:hover {

    transform:
        translateY(-50%)
        scale(1.12);

    background:
        linear-gradient(
            145deg,
            #8b0000,
            #570000
        );

    color: #e5c86b;

}


.left-celebration-button {

    left: 18px;

}


.right-celebration-button {

    right: 18px;

}




@media (max-width: 900px) {

    .celebration-carousel {

        padding-left: 65px;

        padding-right: 65px;

    }


    .celebration-track {

        gap: 30px;

    }


    .celebration-card {

        flex-basis: 320px;

    }


    .celebration-carousel-button {

        width: 58px;

        height: 58px;

        font-size: 45px;

    }

}


@media (max-width: 600px) {

    .celebration-heading h1 {

        font-size: 40px;

    }


    .celebration-heading p {

        font-size: 15px;

    }


    .celebration-carousel {

        padding-left: 50px;

        padding-right: 50px;

    }


    .celebration-track {

        padding-left: 15px;

        padding-right: 15px;

    }


    .celebration-card {

        flex-basis: 280px;

    }


    .celebration-carousel-button {

        width: 50px;

        height: 50px;

        font-size: 38px;

    }


    .left-celebration-button {

        left: 8px;

    }


    .right-celebration-button {

        right: 8px;

    }

}