@font-face {
    font-family: "Horizon";
    src: url("/fonts/Horizon.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Horizon_Outlined";
    src: url("/fonts/Horizon_Outlined.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    font-family: Arial, sans-serif;
    background: #000;
}

/* body > :not(.background-video) {
    position: relative;
    z-index: 1;
} */

.background-video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.title {
    --title-start-size: clamp(2rem, 12vw, 4rem);
    --title-end-size: calc(var(--title-start-size) + 10px);
    position: absolute !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "Horizon", sans-serif;
    font-size: var(--title-start-size);
    max-width: calc(100vw - 2rem);
    color: #ffdb5a;
    text-align: center;
    text-shadow: 2px 3px 0 rgba(255, 219, 90, 0.7), 0 0 30px rgba(255, 219, 90, 0.7);
    filter: blur(2px);
    animation: textPan 4s ease-out forwards;
}

.title-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.title-text {
    display: inline-block;
    transition: transform 0.25s ease;
}

.title-link.animation-complete:hover .title-text {
    transform: scale(1.08);
    font-family: "Horizon_Outlined", sans-serif;
}

.title-link:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 6px;
}

@keyframes textPan {
    from {
        transform: translate(-50%, -50%);
        font-size: var(--title-start-size);
        filter: blur(2px);
    }
    to {
        transform: translate(-50%, -50%);
        font-size: var(--title-end-size);
        filter: blur(0);
    }
}

