body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    --text-color: rgba(255, 255, 255, 0.70);
    --link-color: #b0b0b0;
}

p {
    margin: 0px 0px;
    font-weight: 300;
    line-height: 1.6;
}

strong {
    font-weight: 700;
}

a {
    color: var(--link-color, #b0b0b0);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/*a:visited {
    color: #909090;
}*/

a:active {
    color: #cccccc;
}


/* Код */
code {
    background-color: rgb(60, 60, 60);
    border-radius: 6px;
    padding: 0px 4px 2px 4px;
    line-height: 1.5;
    font-family: 'Exo2', sans-serif;
}

pre {
    font-size: 16px;
    background-color: rgb(60, 60, 60);
    display: flex;
    box-sizing: border-box;
    margin: 10px 0px;
    padding: 10px;
    border-radius: 14px;
    max-height: 600px;
    overflow: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    width: 100%;
    line-height: 1.5;
    font-family: 'Exo2', sans-serif;
}

/* Скроллбар */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

/* Убираем стрелочки */
::-webkit-scrollbar-button {
    display: none;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

::-webkit-scrollbar-thumb:active {
    background: rgba(255, 255, 255, 0.4);
}

/* Для Firefox стрелочки не отображаются при scrollbar-width: thin */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

@font-face {
    font-family: 'Open Sans';
    src: url('/static/fonts/OpenSans-Light.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('/static/fonts/OpenSans-Regular.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('/static/fonts/OpenSans-Medium.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('/static/fonts/OpenSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('/static/fonts/OpenSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('/static/fonts/OpenSans-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Exo2 */

@font-face {
    font-family: 'Exo2';
    src: url('/static/fonts/Exo2-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Exo2';
    src: url('/static/fonts/Exo2-Light.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Exo2';
    src: url('/static/fonts/Exo2-Regular.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Exo2';
    src: url('/static/fonts/Exo2-Medium.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

