@import "/public/tools/basics.css";

.main-section {
    background-image: url("/public/images/background2.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.centered-panel {
    height: 800px;
    display: block;
    margin-top: auto;
    margin-bottom: auto;
}

.main-panel {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 1000px;
    border-radius: 30px;
    background: var(--color-charcoal);
    overflow: hidden;
}

.image-pane {
    width: 50%;
    height: 100%;
    background-image: url("/public/images/icon.png");
    background-repeat: no-repeat;
    background-size: 700px;
    background-position: center;
    background-color: #323E56;
}

.login-pane {
    display: flex;
    flex-direction: column;
    width: 50%;
    height: 100%;
    background: white;
}

.login-title {
    font-size: 30px;
    margin-left: auto;
    margin-right: auto;
}

.login-form {
    margin-left: auto;
    margin-right: auto;
    margin-top: 70px;
    display: flex;
    flex-direction: column;
}

.login-signup {
    margin-left: auto;
    margin-right: auto;
}

label {
    position: absolute;
    transform: translateY(-3px);
}

.login-basic-input {
    margin-top: 20px;
    width: 300px;
    height: 35px;
    border-radius: 5px;
    border: gray solid 1px;
    font-size: 15px;
}

.login-half-input {
    margin-top: 20px;
    width: 145px;
    height: 35px;
    border-radius: 5px;
    border: gray solid 1px;
    font-size: 15px;
}

a {
    color: var(--color-aqua-blue);
    text-decoration: none;
}

a:hover {
    color: var(--color-lavender);
    cursor: pointer;
}

p {
    color: var(--color-slate-gray);
    cursor: default;
}

div {
    cursor: default;
}

.invalid-login {
    display: block;
    color: red;
    position: absolute;
    transform: translateY(-25px);
}

.password-eye {
    font-size: 20px;
    position: absolute;
    transform: translate(120px, 28px)
}

.cpe {
    transform: translate(275px, 28px);
}

.agreement-text {
    text-align: center;
    text-wrap: wrap;
    font-size: 15px;
    color: var(--color-charcoal);
}

@media screen and (max-width: 2000px) {
    .centered-panel {
        height: 500px;
    }
    .main-panel {
        width: 700px;
    }
    .image-pane {
        background-size: 500px;
    }
    .login-basic-input {
        width: 220px;
        height: 20px;
    }
    .login-half-input {
        width: 105px;
        height: 20px;
    }
    .login-form {
        margin-top: 40px;
    }
}

@media screen and (max-width: 800px) {
    .centered-panel {
        height: 500px;
    }
    .main-panel {
        width: 350px;
    }
    .image-pane {
        display: none;
    }
    .login-pane {
        width: 100%;
    }
    .login-half-input {
        width: 100px;
    }
}

.hidden {
    display: none;
}