header {
    width: 100%;
    height: 100svh;
    position: relative;
}
.header-video,
.header-video-container {
    width: 100%;
    height: 100%;
    pointer-events: none;
    user-select: none;
}
.header-video video {
    width: 100%;
    height: 90%;
    object-fit: cover;
    object-position: center;
    position: relative;
    animation: zoomin linear forwards;
    animation-timeline: view();
    animation-range-start: 800px;
    animation-range-end: 1400px;
    scale: 1;
}
@keyframes zoomin {
    to {
        scale: 1.2;
    }
}
.header-video::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--bg-clr) 18%, transparent, transparent);
}
body.bg-black .header-video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-clr);
    opacity: 0.2;
}
.header-container {
    position: absolute;
    bottom: 40px;
    left: 50%;
    z-index: 2;
    transform: translateX(-50%);
}
.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    white-space: nowrap;
}
.header-content h2 {
    font-size: 2.5rem;
    font-weight: 100;
    max-width: 850px;
    margin-bottom: 2rem;
    white-space: nowrap;
}
