* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    font-family: "Butterfly Kids";
}

body {
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    font-size: 16px;
    background: #f2e8db;
}


section {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(0, 0, 0);
    scroll-snap-align: start;
    background-blend-mode: multiply;
    background-color: #f2e8db;
    background-image: url("assets/border.jpg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;


    .container {
        display: flex;
        flex-direction: column;
        width: 100%;

        .wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            max-width: 1280px;
            width: 100%;
            margin: auto;

            h1 {
                font-weight: 400;
                font-size: 3rem;
                margin-bottom: 1rem;
                text-align: center;
            }

            h2 {
                font-weight: 400;
                font-size: 2.5rem;
            }


            .vertical {
                max-height: 500px;
                mix-blend-mode: multiply;
            }

            .horizontal {
                width: 500px;
                mix-blend-mode: multiply;
            }


        }
    }
}

#timer {
    font-size: 3em;
    font-weight: 100;
    color: rgb(0, 0, 0);
    display: flex;
    justify-content: center;

    div {
        display: inline-block;
        min-width: 90px;
        margin: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        span {
            color: #000000;
            display: block;
            font-size: 1.5rem;
            font-weight: 400;
        }
    }
}

/* #s1,
#s2,
#s3,
#s4,
#s5,
#s6,
#s7,
#s8 {
    background: #f7f4eb;
} */

.number{
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.5rem;
}

.galleryWrap {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    justify-content: center;
    row-gap: 0.5rem;
    gap: 0.2rem;

    a {
        width: 33%;
        height: 200px;
        position: relative;
        overflow: hidden;

        img {
            position: absolute;
            top: 0;
            left: 0;
            object-fit: cover;
            width: 100%;
            height: 100%;
            transition: all ease 500ms;
        }

        img:hover {
            filter: blur(2px);
        }

        .vertical-img {
            object-position: top;
        }
    }
}

.dress-img {
    width: 400px;
}

.map {
    width: 500px;
    height: 450px;
    border: 0"

}

@media (max-width: 478px) {
    section {
        width: 90%;
        margin: auto;
        /* outline: 1px solid green; */
        padding: 0 3rem;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgb(0, 0, 0);
        scroll-snap-align: start;
        background-blend-mode: multiply;
        background-image: url("assets/border.jpg");
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;


        .container {
            display: flex;
            flex-direction: column;
            width: 100%;

            .wrapper {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                max-width: 478px;
                width: 100%;
                margin: auto;
                /* outline: 1px solid red; */

                h1 {
                    font-weight: 400;
                    font-size: 2.5rem;
                    margin-bottom: 1rem;
                    text-align: center;
                }

                h2 {
                    font-weight: 400;
                    font-size: 2rem;
                }


                .vertical {
                    mix-blend-mode: multiply;
                    max-width: 250px;
                }

                .horizontal {
                    width: 250px;
                    mix-blend-mode: multiply;
                }


            }
        }
    }

    .map {
        width: 300px;
        height: 300px;
        border: 0"

    }

    .galleryWrap {
        width: 100%;
        max-width: 600px;
        display: flex;
        flex-wrap: wrap;
        margin: auto;
        justify-content: center;
        row-gap: 0.5rem;
        gap: 0.2rem;

        a {
            width: 45%;
            height: 150px;
            position: relative;
            overflow: hidden;

            img {
                position: absolute;
                top: 0;
                left: 0;
                object-fit: cover;
                width: 100%;
                height: 100%;
                transition: all ease 500ms;
            }

            img:hover {
                filter: blur(2px);
            }

            .vertical-img {
                object-position: top;
            }
        }
    }

    .dress-img {
        width: 300px;
    }

    #timer {
        font-size: 3em;
        font-weight: 100;
        color: rgb(0, 0, 0);
        display: flex;
        justify-content: center;

        div {
            display: inline-block;
            min-width: 75px;
            margin: auto;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;

            span {
                color: #000000;
                display: block;
                font-size: 1.5rem;
                font-weight: 400;
            }
        }
    }

    .small{
        font-size: 1.5rem !important;
    }

    .number{
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem !important;
}

}

/*INTERSECTION OBSERVER*/

.hidden {
    opacity: 0;
    filter: blur(1px);
    transform: translateY(2.5%);
    transition: all 750ms ease;
}

.show {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0%);
}

/* #s2 { background: #16a34a; }
  #s3 { background: #ef4444; } */