.container-principal {
    background: linear-gradient(135deg, #c4b7e175, #ffffff81) fixed, 
    url(../img/imagen-fondo.jpg) no-repeat center center fixed;
    background-size: cover;
    font-family: Arial, sans-serif;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 85vh;
}

.container-secondary {
    position: relative;
    width: 1100px;
    height: 70%;
}

.register-box {
    display: flex;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    border-radius: 10px;
    width: 100%;
    height: 80%;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 18px;
}

.login-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 30%;
    right: 50%;
    transform: translateY(-30%);
    background: #C4B7E1;
    color: #5d3b85;
    width: 45%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
}

.register-box-information {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: 100%;
    color: #5d3b85;
}

.btn {
    display: block;
    width: 50%;
    padding: 5px;
    background-color: white;
    color: #5d3b85;
    font-size: 22px;
    font-weight: bold;
    border: 1px solid #5d3b85;
    cursor: pointer;
}

.btn:hover {
    background-color: white;
}

.login-box-tittle {
    height: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.login-box-inputs {
    height: 60%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    font-size: 18px;
}

.tittles{
    font-size: 35px;
    font-weight: bold;
    color: #5d3b85;
}

/* Estilo de inputs */
.input-group {
    position: relative;
    margin-bottom: 20px;
    width: 80%;
    border-radius: 5px;
}

.input-group input {
    width: 100%;
    padding: 0.5vw;
    padding-right: 35px;
    border: 1px solid #5d3b85;
    border-radius: 5px;
    color: #5d3b85;
    font-size: 16px;
}

/* Icono dentro del input */
.icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.login-box-button{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 30%;
}

.recuperar-contraseña {
    display: flex;
    justify-content: center;
    cursor: pointer;
}

.register-box-escondido{
    display: none;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    font-size: 14px;
}
.title{
    font-weight: bold;
}

.registrarse, .recuperar-password{
    text-decoration: none;
    font-weight: bold;
    color: #5d3b85;
}
.registrarse:hover, .recuperar-password:hover{
    color: white;
}

@media (max-width: 1200px) {
    .register-box {
        font-size: 16px;
    }
    .btn {
        font-size: 20px;
    }
    .tittles{
        font-size: 30px;
    }
    .container-secondary{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .register-box{
        display: none;
    }
    .login-box{
        position: initial;
        transform: none;
        width: 500px;
        height: 80%;
    }
    .login-box-tittle {
        height: 10%;
    }
    .login-box-button{
        height: auto;
    }
    .register-box-escondido{
        display: flex;
    }
    .recuperar-contraseña {
        margin-top: 15px;
    }
}
@media (max-width: 768px) {
    .register-box {
        font-size: 14px;
    }
    .btn {
        font-size: 18px;
    }
    .tittles{
        font-size: 28px;
    }
    .login-box{
        width: 90%;
        height: 75%;
    }

    .login-box-inputs {
        height: 50%;
    }
    .button-create {
        width: 50% !important;
    }
}