@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


:root {
    --bg-dark: #000b18;
    --bg-glow: #01162e;
    --text-main: #ffffff;
    --text-muted: #8393a7;
    --tag-bg: rgba(255, 255, 255, 0.1);
    --accent-blue: #1e3a5f;
}


html {
    font-family: "Montserrat";
    scroll-behavior: smooth;

}

body {
    transition: all 0.1s ease;
    background: radial-gradient(circle at 50% 50%, var(--bg-glow) 0%, var(--bg-dark) 100%);
    color: var(--text-main);
}



.page-wrap {
    width: 100%;
    border: 0 solid transparent;
    border-width: 0 20px;
    margin: 40px auto 40px;
    box-sizing: border-box;
    max-width: 732px;
}

#loading-cover {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at 50% 50%, var(--bg-glow) 0%, var(--bg-dark) 100%);
    z-index: 9999;
}


img {
    /* Автомасштаб изображений */
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    /*box-shadow: 0px 0px 50px #ffffff;*/
}

#loading-cover img {
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}



h1 {
    font-size: 20px;
    font-weight: bold;
}

h6 {
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--text-muted);
}

::selection {
    background: rgba(42, 92, 145, 0.6);
    color: var(--text-main);
    /* Установить цвет выделения */
}

.topic-button {
    background-color: var(--tag-bg);
    border: none;
    color: var(--text-main);
    padding: 11px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    border-radius: 9px;
    margin: 4px 2px;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #ffffff;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;

    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



.blur {
    filter: blur(0.5em);
    cursor: pointer;
    transition: filter 0.2s;
}

.blur.revealed {
    filter: blur(0);
    /* Removes the blur */
    cursor: text;
}
