body {
    background-color: #e7e7e7;
    margin: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
}
.preloader {
    display: flex;
    justify-content: center;
    align-content: center;
    /*фиксированное позиционирование*/
    position: fixed;
    /* координаты положения */
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    bottom: 0;
    /* фоновый цвет элемента */
    background: #e7e7e7;
    /* размещаем блок над всеми элементами на странице (это значение должно быть больше, чем у любого другого позиционированного элемента на странице) */
    z-index: 1001;
}

.loaded_hiding .preloader {
    transition: 0.3s opacity;
    opacity: 0;
}

.loaded .preloader {
    display: none;
}

.incorrect-auth {
    color: indianred;
}
.form {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 15px;
    
    display: flex;
    justify-content: center;
    align-content: center;
    
    flex-direction: column;
    font-family: 'Jost', monospace;
    background-color: #fff;
    
    max-width: 350px;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.form-title {
    font-family: 'Jost', monospace;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 600;
    text-align: center;
    color: #000;
}


.input-container input, .input-container2 input{
    outline: none;
    border: 1px solid #e5e7eb;
    margin: 8px 0;
}
.form button {
    outline: none;
    border: 1px solid #e5e7eb;
    margin: 8px 0;
    padding: 8px;
    cursor: pointer;
    
    transition: 0.2s;
}
.form button:hover {
    transform: scale(105%);
}
.form button:active {
    transform: scale(95%);
}
.input-container input {
    font-family: 'Jost', monospace;
    
    background-color: #fff;
    padding: 10px 15px;
    font-size: 0.875rem;
    line-height: 1.25rem;
    width: 300px;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.submit {
    font-family: 'Jost', monospace;
    
    display: block;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    background-color: #4F46E5;
    color: #ffffff;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    width: 100%;
    border-radius: 0.5rem;
    text-transform: uppercase;
}

.signup-link {
    font-family: 'Jost', monospace;
    
    color: #6B7280;
    font-size: 0.875rem;
    line-height: 1.25rem;
    text-align: center;
}

.signup-link a {
    font-family: 'Jost', monospace;
    
    text-decoration: underline;
}

.spinner {
    position: absolute;
    width: 9px;
    height: 9px;
}

.spinner div {
    position: absolute;
    width: 100%;
    height: 300%;
    background: #4f46e5;
    border: 3px solid #3a33a4;
    border-radius: 5px;
    transform: rotate(calc(var(--rotation) * 1deg)) translate(0, calc(var(--translation) * 1%));
    animation: spinner-fzua35 1s calc(var(--delay) * 1s) infinite ease;
}

.spinner div:nth-child(1) {
    --delay: 0.1;
    --rotation: 36;
    --translation: 150;
}
.spinner div:nth-child(2) {
    --delay: 0.2;
    --rotation: 72;
    --translation: 150;
}

.spinner div:nth-child(3) {
    --delay: 0.3;
    --rotation: 108;
    --translation: 150;
}

.spinner div:nth-child(4) {
    --delay: 0.4;
    --rotation: 144;
    --translation: 150;
}

.spinner div:nth-child(5) {
    --delay: 0.5;
    --rotation: 180;
    --translation: 150;
}

.spinner div:nth-child(6) {
    --delay: 0.6;
    --rotation: 216;
    --translation: 150;
}

.spinner div:nth-child(7) {
    --delay: 0.7;
    --rotation: 252;
    --translation: 150;
}

.spinner div:nth-child(8) {
    --delay: 0.8;
    --rotation: 288;
    --translation: 150;
}

.spinner div:nth-child(9) {
    --delay: 0.9;
    --rotation: 324;
    --translation: 150;
}

.spinner div:nth-child(10) {
    --delay: 1;
    --rotation: 360;
    --translation: 150;
}

@keyframes spinner-fzua35 {
    0%, 10%, 20%, 30%, 50%, 60%, 70%, 80%, 90%, 100% {
        transform: rotate(calc(var(--rotation) * 1deg)) translate(0, calc(var(--translation) * 1%));
    }

    50% {
        transform: rotate(calc(var(--rotation) * 1deg)) translate(0, calc(var(--translation) * 1.5%));
    }
}