body {
    background-color: rgb(39, 39, 39);
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    color: var(--text-color);
    box-sizing: border-box;
    --text-color: rgba(255, 255, 255, 0.70);
    --link-color: #b0b0b0;
}

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: 4px;
    padding: 2px 4px;
}

pre {
    background-color: rgb(60, 60, 60);
    display: flex;
    box-sizing: border-box;
    margin: 10px 0px;
    padding: 12px;
    border-radius: 12px;
    max-height: 600px;
    overflow: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}


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

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

::-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-color: rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.05);
}