:root {

    --white-color: #FFFF;
    --black-color: #202020;
    
}

* {

    box-sizing: border-box;
    user-select: none;
    color: var(--black-color);
    overflow-x: hidden;

}

button, input {

    all: unset;
    box-sizing: border-box;

}

button {

    cursor: pointer;
    transition: all .25s;
    
}

p, h1, h2, h3, h4, h5 {

    margin: 0;
        
}

body {

    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;

}

/* ----------------------------------------------- */

.container_xl {
    
    position: relative;
    width: 100%;
    height: 100%;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    line-height: normal;
    font-style: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: var(--white-color);
    padding: 4%;

}

.mid_logo {

    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);

}

.login_container {

    width: 100%;
    max-width: 400px;
    height: min-content;

    h1 {

        font-size: 2rem;
        font-weight: 400;
        margin-bottom: 2rem;

    }

    .login_form {

        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        width: 100%;

        .user_block input, .password_block input {
    
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 2.5rem;
            border: 1px solid rgb(70, 70, 70);
            border-radius: 15px;
            padding: 0 1rem;
            margin-top: 5px;
    
        }

        .user_block input::placeholder, .password_block input::placeholder {
    
            font-weight: 400;
            color: rgba(32, 32, 32, .5);
    
        }

        .user_block label, .password_block label {
    
            font-weight: 500;
    
        }

        button {

            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 2.5rem;
            margin-top: 1.25rem;
            border: 1px solid rgb(70, 70, 70);
            border-radius: 5px;

        }

        button:hover {

            background-color: rgb(220, 220, 220);
        
        }

    }       
    
}

.error-message {

    color: red;

}