.site-login{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    flex: 1;
    height: 100%;

    .login-block{
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 100px;

        flex: 1;
        max-height: 80%;

        @media screen and (max-width: 1040px){
            gap: 40px;
        }

        @media screen and (max-width: 860px){
            flex-direction: column;
            max-height: none;
        }

        @media screen and (max-width: 500px){
            padding: 5px;
        }

        .login-form{
            display: flex;
            flex-direction: column;
            justify-content: center;

            background-color: var(--strong-blue);
            border-radius: 50px;
            padding: 30px;

            max-width: 450px;
            min-height: 450px;
            height: 70%;

            @media screen and (max-width: 880px){
                height: auto;
            }

            @media screen and (max-width: 500px){
                width: 100%;
                height: auto;
                max-width: none;
                padding: 15px;
                border-radius: 24px;
            }

            .is-valid, .is-invalid{
                background-image: none;
            }


            form{
                display: flex;
                flex-direction: column;

                gap: 15px;
            }

            .login-form__head{
                margin-bottom: 30px;

                display: flex;
                align-items: center;
                justify-content: center;

                img{
                    width: 100%;
                }
            }

            .form-control.is-invalid, .form-control.is-valid{
                background-position: right 40px center;
            }

            .invalid-feedback{
                display: none !important;
            }

            .password-toggle {
                position: absolute;
                right: 10px;
                top: 16px;
                border: none;
                background: transparent;
                cursor: pointer;
                color: #888;
            }

            .password-toggle .fa-eye {
                color: #888;
            }

            .password-toggle .fa-eye-slash {
                color: #888;
            }

            .form-group {
                position: relative;

                .help-block {
                    color: red;
                    font-size: 14px;
                }
            }

            input{
                height: 55px;
            }

            #password-input{
                padding-right: calc(1.5em + 2.4rem);
            }

            .form-group.submit-button{
                width: 100%;

                button{
                    width: 100%;
                    background-color: var(--mandarine);
                    border: none;
                    font-size: 25px;
                }
            }
        }
    }

    img.bg-login{
        width: clamp(400px, 25vw, 30vw);

        @media screen and (max-width: 880px){
            display: none;
        }

        @media screen and (max-width: 500px){
            width: 100%;
        }
    }
}