/* BEGIN FONTS */

@font-face {
    font-family: 'Visby CF';
    src: url('/static/font/visby/visbycf-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Visby CF';
    src: url('/static/font/visby/visbycf-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Visby CF';
    src: url('/static/font/visby/visbycf-heavy.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
}

/* END FONTS */

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Visby CF', sans-serif;
    height: 100%;
    background-color: #0d0d0d;
    color: #ffffff;
}

.video-bg {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.2;
}

video.video-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 0;
}

.hero {
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 60%;
    /* padding: 10rem 2rem; */
    color: white;
}

.hero h1 {
    font-family: 'Visby CF', sans-serif;
    font-weight: 900;
    font-size: 5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    margin-bottom: 0.5em;
}

.hero h3 {
    font-family: 'Visby CF', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    margin-top: 0;
}

.hero .overlay {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 4rem 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
    color: white;
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section {
    padding: 2rem 2rem;
    text-align: center;
    position: relative;
}

.section-opaque {
    position: relative;
    z-index: 1;
    background-color: #0d0d0d; /* solid dark, no alpha */
}

.section-opaque::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #0d0d0d; /* solid background color */
    z-index: -1;
}

.text-normal {
    font-weight: 400;
}

.text-bold {
    font-weight: 700;
}

.text-heavy {
    font-weight: 900;
}

.ptop-1rem {
    padding-top: 1rem;
}

/* Hide right column on small screens */
@media (max-width: 1270px) {
    .hero-right {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr; /* Collapse to 1 column */
    }
}