html, html * {
    font-family: var(--fontFamily), sans-serif;
    scroll-behavior: smooth;
    scrollbar-color: var(--colorBlackL) var(--colorLightGray);
    box-sizing: border-box;
    text-align: left;
    max-width: 100%;
    line-height: 1.2;
    margin: 0;
    scrollbar-width: thin;
}

body {
    overflow: hidden;
    counter-reset: horizontal-items 0 vertical-items 0 group-items 0 element-items 0 fragment-items 0;
}

a, button, label, span, footer, nav, img, svg, picture, iframe {
    user-select: none;
}

a {
    text-decoration: none;
    width: fit-content;
    color: var(--colorBlue);
}

a, p, h1, h2, h3, h4, h5, h6 {
    overflow: hidden;
}

@font-face {
    font-family: var(--fontFamily), sans-serif;
    src: var(--fontWOFF2) format('woff2'), var(--fontWOFF) format('woff'), var(--fontTTF) format('truetype'), var(--fontEOT) format('embedded-opentype');
}

@media (prefers-color-scheme: dark) {
    html, html * {
        scrollbar-color: var(--colorBlackLD) var(--colorLightGrayD);
    }

    a {
        color: var(--colorBlueD);
    }
}

@media only screen and (max-width: 500px) {
    p, a, span {
        font-size: 12px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 18px;
    }

    h5 {
        font-size: 16px;
    }

    h6 {
        font-size: 14px;
    }
}

@media only screen and (min-width: 501px) and (max-width: 1000px) {
    p, a, span {
        font-size: 13px;
    }

    h1 {
        font-size: 25px;
    }

    h2 {
        font-size: 23px;
    }

    h3 {
        font-size: 21px;
    }

    h4 {
        font-size: 19px;
    }

    h5 {
        font-size: 17px;
    }

    h6 {
        font-size: 15px;
    }
}

@media only screen and (min-width: 1001px) {
    p, a, span {
        font-size: 14px;
    }

    h1 {
        font-size: 26px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 20px;
    }

    h5 {
        font-size: 18px;
    }

    h6 {
        font-size: 16px;
    }
}