@font-face {
    font-family: 'Weddingday';
    src: url(/proxy-template/e4174eed/fonts/weddingday-font/WeddingdayPersonalUseRegular-1Gvo0.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0100-024F, U+1E00-1EFF, U+2000-206F, U+2C60-2C7F, U+A720-A7FF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    color: white;
    background: #000;
    overflow: hidden;
}

/* Remove the scrollbar */
body::-webkit-scrollbar {
    display: none;
}

body {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* --- BACKGROUND LAYER --- */
.video-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* UPDATED OVERLAY:
           Flat 40% black layer. This is the cleanest way to make text readable 
           without affecting the color grading of the video too much.
        */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* --- SCROLL SNAP CONTAINER --- */
main {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

/* Remove the scrollbars */
main::-webkit-scrollbar {
    display: none;
}

section {
    height: 100vh;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 20px;
}

/* --- TYPOGRAPHY & SHADOWS --- */

/* SUBCONSCIOUS SHADOW:
           0 offset, 20px blur. It acts like a glow behind the text 
           to separate it from the video, rather than a "drop shadow".
        */
.text-glow {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.script-font {
    font-family: 'Weddingday', cursive;
    font-size: 8rem;
    line-height: 0.8;
    font-weight: 400;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.clean-font {
    font-size: 1.2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 300;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(20px);
}

.highlight {
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    padding-bottom: 5px;
}

.huge-date {
    font-size: 6rem;
    font-weight: 300;
    letter-spacing: -2px;
    opacity: 0;
    transform: scale(0.9);
}

.separator {
    width: 1px;
    height: 80px;
    background: rgba(255, 255, 255, 0.8);
    margin: 30px auto;
    opacity: 0;
    transform: scaleY(0);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    /* Shadow for the line too */
}

/* Scroll Indicator */
.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@media (max-width: 768px) {
    .script-font {
        font-size: 5rem;
    }

    .huge-date {
        font-size: 3.5rem;
    }
}