* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Martel Sans', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
}

.main-content {
    display: flex;
    min-height: 78.9vh;
}

.login-box {
    flex: 1;
    background-color: #87005a;
    color: white;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.login-box h2 {
    margin-bottom: 2rem; /* antes era 2rem, ahora más espaciado */
}

.login-box form {
    width: 100%;
    max-width: 300px; /* Opcional: ancho máximo para el formulario */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-box form label {
    align-self: flex-start; /* Alinea etiquetas a la izquierda */
}

.login-box input {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.3rem;
    margin-bottom: 2.5rem;
    border: none;
    border-radius: 3px;
}

.login-box button {
    padding: 0.7rem 1.5rem;
    background-color: white;
    color: #87005a;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 2rem;
}
.register {
    margin-top: 3rem;
    font-size: 0.9rem;
}

.register a {
    color: white;
    text-decoration: underline;
}

.image-box {
    flex: 1;
    background-color: #25002c;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* responsive en 565*/
@media (max-width: 565px) {
    .main-content {
        flex-direction: column;
        min-height: 50vh;
    }

    .login-box {
        padding: 2rem 1.5rem;
        text-align: center;
        flex: none;
        height: 100vh;
    }

    .login-box form {
        max-width: 100%;
        width: 100%;
    }

    .login-box input {
        font-size: 1rem;
    }

    .login-box button {
        width: 100%;
    }

    .register {
        font-size: 0.85rem;
        margin-top: 2rem;
    }

    .image-box {
        display: none;
    }
}