
#login-form-container {
    margin: 2rem auto;
    width: fit-content;
    background-color: #161616;
    display: flex;
    border-radius: 2rem;

    > img {
        border-top-left-radius: 2rem;
        border-bottom-left-radius: 2rem;
    }

    > #login-form {
        padding: 2rem 6rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 1rem;

        > #error {
            max-width: 19rem;
        }

        > #pw-login {
            display: flex;
            flex-direction: column;
            gap: 1rem;

            > .field {
                width: 100%;
                display: flex;
                align-items: center;
                gap: .5rem;
                
                > img {
                    width: 1.5rem;
                    opacity: .7;
                }

                > input {
                    width: 17rem;
                    padding: .2rem .5rem;
                    background-color: transparent;
                    border-radius: 7px;
                    border: 1px solid #aeaeae8f;
                    color: #aeaeae;
                    font-size: 1rem;

                    &:focus {
                        outline: none;
                        border-color: #aeaeae;
                    }
                }
            }

            > button {
                width: 17rem;
                margin-left: auto;
                padding: .4rem;
                border-radius: 7px;
                border: 1px solid #aeaeae8f;
                background-color: transparent;
                color: #aeaeae;
                font-size: 1.2rem;
                cursor: pointer;
                transition: all .3s ease;
                font-family: 'Technor';

                &:active,
                &:hover {
                    color: white;
                    background-color: #262626;
                    border-color: #262626;
                }
                &:active {
                    filter: brightness(.9);
                }
            }
        }
        
    }
}

/* mobile */
@media (max-width: 700px) {

    #login-form-container {
        flex-direction: column;
        width: 77vw;
        margin-top: 5rem;
        
        > img {
            height: 30dvh;
            object-fit: cover;
            border-radius: 2rem 2rem 0 0;
        }

        > #login-form {
            padding: 2rem 3rem;
            > #pw-login {
                > button {
                    width: 100%;
                }
            }
        }

    }

}
