﻿body {
    margin: 0;
    color: white;
    background-color: var(--color-dark-one);
    overflow: hidden;
}

form {
    width: 100vw;
    height: 100dvh;
    display: flex;
    gap: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    form > h2 {
        margin-bottom: 40px;
    }

    form > div {
        width: 100%;
        max-width: 200px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        form > div > label {
            width: 100%;
            padding-bottom: 5px;
        }

div[id="cnt_inp_psw"] {
    position: relative;
    width: 100%;
}

    input[type="password"]{
    box-sizing: border-box;
        width: 100%;
    }

div[id="btn_pass"]{
    position: absolute;
    right: 5px;
    top: calc(50% - 10px);
    cursor: pointer;
}

    div[id="btn_pass"] > img {
        height: 20px;
    }

input[type=submit] {
    width: 100%;
    max-width: 80px;
    height: 40px;
    margin-top: 40px;
    background-color: var(--color-highlight-two);
    border: none;
    color: white;
}

    input[type=submit]:hover {
        background-color: var(--color-highlight-one);
        max-width: 100%;
        transition: max-width 0.25s;
    }

div > input {
    box-sizing: border-box;
    width: 100%;
    height: 30px;
}

    div > input:focus{
        height: 40px;
    }

.inp-err {
    border: 2px solid red;
}

    