body {
    margin: 0;
    background: #020617;
    color: #fff;
    font-family: "Dosis", sans-serif !important;
}

body > .container-fluid {
    position: relative;
    z-index: 0;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

#myVideo {
    position: fixed;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.35), rgba(2, 6, 23, 0.9));
    pointer-events: none;
}

#columns {
    width: min(100% - 2rem, 1400px);
    margin: auto;
    padding: 3rem 0;
}

.infoColumn {
    position: relative;
    display: grid;
    min-height: clamp(22rem, 55vh, 32rem);
    overflow: hidden;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 1.5rem;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 1rem 3rem rgba(2, 6, 23, 0.4);
    isolation: isolate;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.infoColumn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.88));
}

.infoColumn:hover,
.infoColumn:focus-within {
    transform: translateY(-0.4rem);
    box-shadow: 0 1.5rem 3.5rem rgba(2, 6, 23, 0.6);
}

.contain {
    display: flex;
    height: 100%;
    padding: 2rem 1.25rem;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    text-align: center;
}

.contain h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.65rem, 4vw, 2.35rem);
    font-weight: 700;
    text-shadow: 0 0.2rem 1rem #000;
}

#aboutCGCol {
    background-color: #fff;
    background-image: url("../media/about/online-game-svgrepo-com.svg");
    background-size: 80% auto;
}

#genshinCol {
    background-image: url("../media/genshin/genshinMobile.jpg");
}

#csgoCol {
    background-image: url("../media/csgo/csgo-vert-banner.png");
}

#lolCol {
    background-image: url("../media/league/yordle.jpg");
}

.learnMore {
    display: inline-flex;
    min-height: 2.75rem;
    padding: 0.65rem 1.1rem;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    background: #0891b2;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 180ms ease, transform 180ms ease;
}

.learnMore:hover,
.learnMore:focus-visible {
    background: #0e7490;
    color: #fff;
    transform: scale(1.04);
}

#footer {
    margin-top: auto;
}

@media (max-width: 575.98px) {
    #columns {
        width: min(100% - 1.25rem, 1400px);
        padding: 1.5rem 0;
    }

    .infoColumn {
        min-height: 21rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    #myVideo {
        display: none;
    }
}
