* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

html {}

body {
    overflow: hidden;
    font-family: "WDXLLubrifontTC", sans-serif;
    background-color: var(--background);
    font-weight: 400;
}

body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 10px;
}

body::-webkit-scrollbar-thumb {
    background: #ff7a00;
    border-radius: 10px;
}

body::-webkit-scrollbar-thumb:hover {
    background: #ff9d3a;
}

input:focus {
    outline: none;
}

/* цвет текста + размер */
input:-webkit-autofill {
    -webkit-text-fill-color: #000000 !important;
    font-size: 16px !important;
    font-family: inherit !important;
}

/* чтобы фон не ломался */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #0A4220 inset !important;
}

/* убираем дергание при загрузке */
input {
    transition: background-color 5000s ease-in-out 0s;
}

button {
    background: none;
}

svg {
    display: block;
}

/* Ð¡ÐºÑ€Ð¾Ð»Ð» */

/* Ð£Ð±Ð¸Ñ€Ð°ÐµÐ¼ Ñ„Ð¾Ð½, Ð¾ÑÑ‚Ð°Ð²Ð»ÑÐµÐ¼ ÑÑ‚Ñ€ÐµÐ»ÐºÑƒ Ñ‚Ð¾Ð»ÑŒÐºÐ¾ Ð´Ð»Ñ Ð¿Ð¾Ð»ÑŒÐ·Ð¾Ð²Ð°Ñ‚ÐµÐ»Ñ */
::-webkit-scrollbar {
    
    /* Ð¨Ð¸Ñ€Ð¸Ð½Ð° ÑÐºÑ€Ð¾Ð»Ð»Ð±Ð°Ñ€Ð° */
    display: none;
}

::-webkit-scrollbar-track {
    background: transparent;
    /* Ð¤Ð¾Ð½ Ð´Ð¾Ñ€Ð¾Ð¶ÐºÐ¸ */
}

::-webkit-scrollbar-thumb {
    background: #888;
    /* Ð¦Ð²ÐµÑ‚ Ð¿Ð¾Ð»Ð·ÑƒÐ½ÐºÐ° */
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
    /* ÐŸÑ€Ð¸ Ð½Ð°Ð²ÐµÐ´ÐµÐ½Ð¸Ð¸ */
}

@media screen and (min-width: 800px) {
    .header {
        position: relative;
        width: 100%;
        height: 60px;
        border-bottom: 2px solid #293640;
        display: flex;
        align-items: center;
        flex-shrink: 0;
        padding: 0 22px;
        justify-content: space-between;
    }

    .header_btn-home {
        cursor: pointer;
        fill: var(--gray);
    }

    .header_search {
        display: none;
    }

    .header_search:focus-within {
        border: 1px solid #1ED55E;
    }

    .header_icon-home {
        margin-left: 15px;
    }

    .header_search-input {
        background-color: transparent;
        font-size: 16px;
        margin-left: 10px;
        color: #A7A7A7;
        font-family: "Rubik", sans-serif;
    }

    .header_user-block {
        width: 44px;
        height: 44px;
        border-radius: 100%;
        background: #213141E6;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }

    .header_user-img_def {
        user-select: none;
    }

    .header_user-img {
        width: 34px;
        height: 34px;
        border-radius: 100%;
        user-select: none;
    }

    /* css auth blocks*/
    .main-container {
    width: 100vw;
    height: 100vh;
}

    .blocks-auth {
        width: 370px;
        height: max-content;
        position: absolute;
        left: 50%;
        top: 265px;
        transform: translate(-50%,-50%);
        padding: 20px;
    }

    .text_type-auth {
        width: max-content;
        font-size: 42px;
        color: var(--green);
        margin: auto;
        padding-bottom: 28px;
    }

    .text_input {
        font-size: 32px;
        color: var(--gree2);
        margin-top: 8px;
        padding-bottom: 8px;
    }

    .input-auth {
        width: 100%;
        height: 58px;
        background-color: var(--buttonBack);
        border: 3px solid #5AA371;
        border-radius: 28px;
        font-size: 20px;
        font-weight: 600;
        color: #000000;
        padding: 14px;
    }

    .passrowd-flex {
        position: relative;
        display: flex;
        align-items: center;
        margin-top: 8px;
    }

    .text-info {
        display: flex;
        font-size: 17px;
        margin-top: 8px;
    }

    .text-info {}

    .block-auth {
        width: 340px;
        min-height: 470px;
        position: absolute;
        background: linear-gradient(135deg, rgb(38 108 39 / 15%), rgb(32 53 33 / 21%));
        backdrop-filter: blur(20px);
        border-radius: 10px;
        padding: 10px;
        transition: opacity 0.5s ease, transform 0.3s ease-in-out;
        user-select: none;
    }

    .text-info_1{
        color: var(--whites);
    }

    .text-info_2 {
        color: var(--green);
        margin-left: 3px;
        cursor: pointer;
    }

    .glass {
        position: absolute;
        right: 16px;
        cursor: pointer;
    }

    .glass-open {
        margin-bottom: 2px;
    }

    .block-login {
        min-height: max-content;
        opacity: 1;
        z-index: 1;
    }

    .block-reg {
        z-index: 0;
        opacity: 0;
    }

    .submit-button {
        width: 285px;
        height: 50px;
        border-radius: 15px;
        color: #fff;
        font-size: 32px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: auto;
        margin-top: 8px;
        cursor: pointer;
        background: linear-gradient(270deg, #38a839, #0b6605);
        background-size: 400% 400%;
        animation: greenFlow 4s ease infinite;
    }

    @keyframes greenFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
}

@media screen and (min-width: 1000px) {

}

:root {
    --background: #061826;
    --green: #31D633;
    --gree2: #8EC97F;
    --buttonBack: #08F20829;
    --gray: #6A7E8C;
    --whites: #ffffff;
}

@font-face {
    font-family: "Rubik";
    src: url("../fonts/Rubik.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "WDXLLubrifontTC";
    src: url("../fonts/WDXLLubrifontTC-Regular.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}