:root {
    --brand-gray-500: #2A2C29;
    --brand-gray-400: #555654;
    --brand-gray-300: #7F807F;
    --brand-gray-200: #AAABA9;
    --brand-gray-100: #D4D5D4;
    
    --brand-yellow-500: #F0FE2F;
    --brand-yellow-400: #F3FE59;
    --brand-yellow-300: #F6FE82;
    --brand-yellow-200: #F9FFAC;
    --brand-yellow-100: #FCFFD5;
    
    --old-bg-color: #F6F4E6;
}

/**,*/
/**::before,*/
/**::after {*/
/*    -webkit-box-sizing: border-box !important;*/
/*    -moz-box-sizing: border-box !important;*/
/*    box-sizing: border-box !important;*/
/*}*/

html {
    text-rendering: optimizeLegibility;
    letter-spacing: 0.025em;
    word-spacing: 0.05em;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: "OpenSans", Arial, Helvetica, sans-serif;
    overflow-x: hidden !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1, h2, h3 {
    font-family: "BebasNeue", "Bebas Neue", Impact, sans-serif;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 22px;
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #ededed;
}

::-webkit-scrollbar-thumb {
    background-color: #4d90fe;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #3366ff;
}

::-webkit-scrollbar-button {
    display: none;
}

@supports (scrollbar-width: auto) {
    * {
        scrollbar-width: thin;
        scrollbar-color: #4d90fe #ededed;
    }
}

@media (max-width: 960px) {
    ::-webkit-scrollbar {
        width: 7px;
        height: 7px;
    }

    h1 {
        font-size: 32px;
    }
    h2 {
        font-size: 26px;
    }
    h3 {
        font-size: 18px;
    }
}

@media screen and (min-width: 980px) {
    h1 {
        font-size: 42px;
    }
    h2 {
        font-size: 36px;
    }
    h3 {
        font-size: 28px;
    }
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    html, body {
        -ms-overflow-style: scrollbar;
    }
}

@media (hover: none) and (pointer: coarse) {
    body {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    }
}
