.home {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100dvh;
    min-height: 100svh;
}

#homeVideo, #homeVideo2, #homeVideo3 {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none !important;
}

#homeVideo {
    z-index: 1;
    opacity: 1;
}

#homeVideo2, #homeVideo3 {
    z-index: 2;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.home-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: rgba(0, 0, 0, 0);
}

.fireflies {
    position: absolute;
    inset: 0;
    z-index: 4;
    overflow: hidden;
    pointer-events: none;
}

.firefly {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--color-light);
    box-shadow: 0 0 6px 2px rgba(250, 251, 255, 0.7);
    opacity: 0;
    animation:
        fireflyMove var(--duration) ease-in-out infinite,
        fireflyGlow var(--glow-duration) ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes fireflyMove {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(
            var(--move-x1),
            var(--move-y1)
        );
    }

    50% {
        transform: translate(
            var(--move-x2),
            var(--move-y2)
        );
    }

    75% {
        transform: translate(
            var(--move-x3),
            var(--move-y3)
        );
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes fireflyGlow {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 0.8;
    }

    40% {
        opacity: 0.2;
    }

    60% {
        opacity: 1;
    }

    80% {
        opacity: 0.3;
    }

    100% {
        opacity: 0;
    }
}

.home-content {
    /* background: url(../img/frame-home.png);
    background-position: center;
    background-size: cover; */
    position: absolute;
    inset: 0;
    z-index: 5;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: var(--color-light);
    gap: 1rem;

    text-shadow:
        0 2px 3px rgba(20, 29, 48, 1),
        0 4px 8px rgba(20, 29, 48, 1),
        0 8px 16px rgba(20, 29, 48, 0.9),
        0 12px 25px rgba(20, 29, 48, 0.8);
}

.home-content h2 {
    font-size: 1.2rem;
    font-family: var(--font-content);
}

.home-names {
    font-size: 2.5rem;
    font-family: var(--font-display);
    line-height: 3.5rem;
}

.home-content p {
    font-size: 1.2rem;
    font-family: var(--font-content);
}