@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat'
}

body, html {
    font-size: 1rem;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.container {
    display: flex;
    width: 100%;
    height: 100%;
    background-image: url("../../images/login/background.png");
    background-size: cover;
}

.login-section {
    background-color: #ffffff;
    opacity: 0.85;
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25em;
    height: 100%; 
    padding-bottom: 12em;
}

.logo {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 8em;
}

.logo img {
    width: 25em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.25em;
}

form {
    width: 100%;
    max-width: 25em;
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 1em;
}

input {
    margin-bottom: 0.9375em;
    padding: 1em;
    border: 0.0625em solid #ccc;
    border-radius: 0.5em;
    background-color: rgb(255, 255, 255);
}

.password-container {
    position: relative;
    margin-bottom: 0.9375em;
}

.password-container input {
    width: 100%;
    padding-right: 2.5em;
}

.password-container i {
    position: absolute;
    right: 1em;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.forgot-password {
    text-align: center;
    margin-bottom: 1.25em;
    color: #DD0835;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-button {
    background-color: #DD0835;
    color: white;
    border: none;
    padding: 0.9375em;
    border-radius: 3.125em;
    cursor: pointer;
}

.login-button:hover {
    background-color: #DD0835;
}

.register-link {
    text-align: center;
    margin-top: 1.25em;
}

.register-link a {
    color: #DD0835;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

.info-section {
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7em;
    height: 100%;
}

.info-section h1 {
    color: white;
    font-size: 4.063em;
    text-align: left;
}

#eye-icon-password{
    padding-bottom: 0.6em;
    padding-top: 0.2em;
}

@media (max-width: 64em) {
    .container {
        flex-direction: column;
    }

    .login-section {
        width: 100%;
        height: 100%;
        padding-bottom: 10em;
    }

    .info-section {
        visibility: hidden;
        width: 0;
        height: 0;
        padding: 0;
    }

    .logo{
        margin-bottom: 4em;
    }

    .logo img {
        width: 20em;
    }

    .info-section h1 {
        font-size: 1.8em;
    }
}

@media (max-width: 75em) and (min-width: 64.0625em) {
    .container {
        flex-direction: row;
    }

    .login-section {
        width: 60%;
        height: 100%;
        padding-bottom: 10em;
        top: 6em;
    }

    .logo{
        margin-bottom: 8em;
    }

    .info-section {
        width: 40%;
        visibility: visible;
        padding: 2.5em;
        height: 100%; 
    }

    .logo img {
        width: 15em;
    }

    .info-section h1 {
        font-size: 3.5em;
    }
}
