/* --------------------------------------sticky top background image---------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------- */
/* @keyframes text-shrink {
    from {
        font-size: var(--start-font-size, inherit);
    }

    69% {
        font-size: calc(var(--start-font-size, inherit) * 0.5);
    }

    to {
        font-size: calc(var(--start-font-size, inherit) * 0.5);
    }
} */

@keyframes text-move-up {
    from {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20vh);
    }

    to {
        transform: translateY(-100vh);
    }
}

@keyframes sticky-parallax-header-move-and-size {
    from {
        background-position: 50% 0;
        /* font-size: 5em; */
    }

    to {
        background-position: 50% 100%;
        background-color: white;
        height: 0vh;
        /* font-size: 0em; */
    }
}

body {
    padding-top: 100vh;
}

.hero-content {
    text-align: center;
    flex: 1;
    padding: 2rem;
    color: white;
    z-index: 2;
    margin-top: 35vh;
    animation: text-move-up linear forwards;
    animation-timeline: scroll();
    animation-range: 0vh 100vh;
}


.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-family: 'Dancing Script', cursive;
}

.title-line {
    display: block;
    animation: slideInLeft 1s ease-out;
}

.title-name {
    display: block;
    font-size: 3.5rem;
    color: #ffd700;
    animation: slideInRight 1s ease-out 0.3s both;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.fa-tree {
    display: flex;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.sticky-parallax-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.sticky-parallax-header {
    background-image: url('https://res.cloudinary.com/jerry7ge/image/upload/c_fill,ar_3:4/v1758545535/template_images/merry_christmas_bg.jpg');
    color: #fff;
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-blend-mode: soft-light;
    display: grid;
    place-items: center;
    text-align: center;
    z-index: 999;

    position: fixed;
    top: 0;

    animation: sticky-parallax-header-move-and-size linear forwards;
    animation-timeline: scroll();
    animation-range: 0vh 100vh;
}