.image-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: var(--bg2);
}

.pattern-banner {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fg);
    --s: 200px;
    --c1: var(--card);
    --c2: var(--bg);
    --c3: var(--bg2);

    background: var(--pattern-background);
    background-size: var(--pattern-size);
}

.video-banner {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fg);
}

.video-banner video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.banner-text {
    position: relative;
    z-index: 1;
    font-family: var(--font-family);
    text-align: center;
    text-shadow: 2px 2px 4px var(--readability);
    width: 100%;
    max-width: 1000px;
    margin-inline: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1.5rem;
}

.banner-box {
    pointer-events: auto;
    width: fit-content;
    max-width: 90%;
    margin-inline: auto;
    color: var(--fg);
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: var(--readability);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.banner-box h1 {
    margin: 0rem;
}

@media (max-width: 900px) {

    .image-banner,
    .video-banner {
        height: 100svh;
    }

    .pattern-banner {
        height: 220px;
    }

    .banner-text {
        max-width: 92%;
        padding: 1.5rem 1.5rem;
    }

    .banner-box {
        padding: 0.6rem 0.85rem;
    }

    .banner-box h1 {
        font-size: clamp(1.35rem, 5vw, 1.9rem);
    }
}

@media (max-width: 768px) {

    .image-banner,
    .video-banner {
        height: 100svh;
    }

    .pattern-banner {
        height: 180px;
    }

    .banner-text {
        padding: 1.25rem 1rem;
    }

    .banner-box {
        padding: 0.5rem 0.75rem;
    }

    .banner-box h1 {
        font-size: clamp(1.15rem, 4vw, 1.6rem);
    }
}

@media (max-width: 480px) {

    .image-banner,
    .video-banner {
        height: 100svh;
        padding: 1rem 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .pattern-banner {
        height: 160px;
    }

    .banner-box {
        padding: 1rem 0.8rem;
        max-width: 88%;
    }

    .banner-box h1 {
        font-size: clamp(1rem, 3.5vw, 1.4rem);
        margin: 0;
    }

    .banner-text {
        max-width: 88%;
        padding: 1rem 0.8rem;
    }
}