:root {
    --mainColor: #6d8dff;
    --primaryColor: #111111;
    --secondaryColor: #fff;
    --shadeColor: #929292;
    --titleFont: ClashDisplay;
    --mainFont: IBMPlexSans, sans;
    --cardBackground: #17171aee;
    --cardBorder: #2a2a30;

    --wipBackground: #2a2512;
    --wipColor: #e0c24f;
    --activeBackround: #13281d;
    --activeColor: #5fc38a;
    --liveBackround: #161d33;
    --liveColor: var(--mainColor);
    --closedBackround: #222428;
    --closedColor: #9a9aa3;

    color-scheme: dark;
}

@font-face {
    font-family: IBMPlexSans;
    src: url("../assets/fonts/IBMPlexSans-subset.woff2") format("woff2");
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: ClashDisplay;
    src: url("../assets/fonts/ClashDisplay-Semibold.woff2") format("woff2");
    font-weight: 600;
    font-display: swap;
    font-style: normal;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: var(--mainFont);
    color: var(--secondaryColor);
    cursor: default;
}

::selection {
    background: var(--mainColor);
    color: var(--secondaryColor);
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
}

a {
    text-decoration: none;
    transition: all .3s;
    cursor: pointer;

    * {
        text-decoration: none;
        transition: all .3s;
        cursor: pointer;
    }

    &:hover {
        color: var(--mainColor);

        svg {
            fill: var(--mainColor);
        }
    }

    *:hover {
        color: var(--mainColor);
    }
}

body {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

body {
    background-color: #111111;
    isolation: isolate;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    --minor: color-mix(in srgb, var(--mainColor) 5%, transparent);
    --major: color-mix(in srgb, var(--mainColor) 11%, transparent);

    background-image:
        /* főrács */
        linear-gradient(transparent calc(50% - .5px), var(--major) calc(50% - .5px), var(--major) calc(50% + .5px), transparent calc(50% + .5px)),
        linear-gradient(90deg, transparent calc(50% - .5px), var(--major) calc(50% - .5px), var(--major) calc(50% + .5px), transparent calc(50% + .5px)),
        /* finom rács */
        linear-gradient(transparent calc(50% - .5px), var(--minor) calc(50% - .5px), var(--minor) calc(50% + .5px), transparent calc(50% + .5px)),
        linear-gradient(90deg, transparent calc(50% - .5px), var(--minor) calc(50% - .5px), var(--minor) calc(50% + .5px), transparent calc(50% + .5px));

    background-size:
        120px 120px, 120px 120px,
        24px 24px,   24px 24px;

    background-position: 50% 50%;

    mask-image: radial-gradient(ellipse at center, #000 35%, transparent 85%);
}
svg {
    height: 1em;
    width: 1em;
    transition: all .3s;
    fill: var(--secondaryColor);
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    height: fit-content;
    padding: 10px 5vw;
    background-color: color-mix(in srgb, var(--primaryColor) 80%, transparent);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    z-index: 10000;

    .head {
        height: 100%;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 5px;

        img {
            width: 36px;
            height: 36px;
            border-radius: 10px;
        }

        strong {
            font-size: 1.1rem;
            font-family: var(--titleFont);
        }
    }

    nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 15px;
        font-size: 1rem;
        font-weight: 500;
    }
}

main {
    display: flex;
    flex-direction: column;

    section {
        width: 100%;
        min-height: 100dvh;
        padding: 6vw 5vw;
        background-color: transparent;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 10px;
    }

    h2 {
        font-size: 1.5rem;
        font-family: var(--titleFont);
    }

    ul {
        margin-left: 20px;

        li {
            strong {
                font-weight: 500;
            }
        }
    }
}

footer {
    display: flex;
    gap: 20px;
    flex-direction: column;
    background: linear-gradient(to top, var(--primaryColor), transparent);
    padding: 30px 10px;
    font-size: .9rem;
    justify-content: flex-start;
    align-items: center;

    .footer-top {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 4%;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;

        .footer-ls {
            display: flex;
            flex-direction: column;
            width: 130px;
            gap: 2px;

            .footer-title {
                font-weight: 600;
                text-align: left;
                font-size: .95rem;
                font-family: var(--titleFont);
            }

            hr {
                width: 100%;
                border: 1px solid var(--mainColor);
                margin-bottom: 6px;
            }

            a {
                display: flex;
                flex-direction: row;
                justify-content: left;
                align-items: center;
                width: fit-content;

                svg {
                    margin-right: 3px;
                }
            }
        }
    }

    hr {
        width: 80%;
        text-align: center;
        border: 1px solid #333;
    }

    .footer-bottom {
        width: 100%;
        text-align: center;
    }
}