/* Variables de inicio */
@import url(https://fonts.googleapis.com/css?family=Raleway:400,100,200,300);
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url(' https://fonts.googleapis.com/css?family=Proxima+Nova ');
:root{
    --primario: #9CE37D;
    --secundario: #87B37A;
    --terciario: #77867F;
    --blanco: #FFFFFF ;
    --verdeMusgo: #07A3B2;
    --crema: #D9ECC7;
    --turquesaDigital: #32D6C5;
    --verdeEsperanza: #5ED69E;
    --verdeProfundo:#1E7D6B;
    --grisTecnologia:#E8EDEE;
    --antracita:#1E1E1E;
    --slateGray:#708090;
}
/* Reseteos */
*{
    margin: 0;
    padding: 0;
}
html{
    box-sizing: border-box;
    font-family: 'Open Sans';
}
*, *:before, *:after{
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

/* Estilos inicio */
.inicio_container{
    background-image: url('hojas1.jpg');
    background-size: cover;
    width: 1050px;
    border-radius: 10px;
}
.inicio_texto{
    position: relative;
    top: 45%;
    left: 50%;
    transform: translate(-50%,-50%);
    max-width: 50%;
    text-align: center;
    color: #FFFFFF;
}
.inicio_texto h1{
    font-size: 65px;
}
.inicio_texto h4{
    font-size: 35px;
}
/* Estilos Login y register*/
body {
    background-image: url('../img/hojas.jpg');
    padding: 460px;
    overflow: hidden;
}
.container{
    background-color: var(--crema);
    width: 1050px;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border-radius: 10px;
    box-shadow: 1px 4px 22px -8px rgba(255, 255, 255, 0.267);
    font-family: "Raleway", sans-serif;
    display: flex;
    justify-content: space-between;
    padding: 0;
}

@media (min-width: 760px) {
    .container{
        height: 600px;
    }

    .register_box{
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        height: 100%;
    }
}

.left{
    width: 50%;
    padding: 20px;
}
.login_box{
    text-align: center;
    position: relative;
    top:50%;
    left: 50%;
    transform: translate(-50%,-50%);
    max-width: 100%;
    text-align: center;
    padding: 20px;
}
.login_box h3{
    margin-bottom: 20px;
    font-weight: bolder;
    font-size: 45px;
}
.login_box input[type = "email"],.login_box input[type = "password"], .encuestaForm input[type = "number"] {
    display: block;
    margin: 15px auto;
    background: var(--blanco);
    border: 0;
    border-radius: 5px;
    padding: 14px 10px;
    width: 100%;
    outline: none;
    color: #000000; 
    -webkit-box-shadow: 6px 6px 15px -7px rgba(0,0,0,0.53);
    -moz-box-shadow: 6px 6px 15px -7px rgba(0,0,0,0.53);
    box-shadow: 6px 6px 15px -7px rgba(0,0,0,0.53);
}
.login_box input[type = "email"]:focus,.login_box input[type = "password"]:focus,.encuestaForm input[type = "number"]:focus {
    border: 4px solid var(--secundario);   
    padding: 10px 6px;
}
.login_box input[type = "submit"], .encuestaForm input[type = "submit"]{
    display: block;
    margin: 20px auto;
    background: var(--secundario);
    border: 0;
    border-radius: 5px;
    padding: 14px 10px;
    width: 70%;
    outline: none;
    color: #FFFFFF; 
    transition: background 0.5s ease;
}

.login_box input[type = "submit"]:hover, .encuestaForm input[type = "submit"]:hover{
    background: var(--crema);
    border: 4px solid var(--secundario);
    padding: 10px 6px;
    color: #000000;
}

.form_registro input[type = "text"], .form_registro input[type = "password"]{
    margin: 9px auto !important;
}

.form_registro input[type = "submit"]{
    margin: 15px auto !important;
}

.login_box h3{
    font-size: 35px;
}

.login_box p a{
    color: #21a400;
    text-decoration: underline;
}

.login_box a{
    color: #21a400;
}

form{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.right{
    background-image: url('../img/hojas1.jpg');
    background-size: cover;
    width: 50%;
    overflow: hidden;
    border-radius: 0 10px 10px 0;
    color: #FFFFFF;
    text-align: center;
}
.right > h2, .right > h5{
    position: relative;
    top:47%;
    left: 50%;
    transform: translate(-50%,-50%);
    max-width: 50%;
    text-align: center;
}
.right h2{
    font-size: 65px;
}
.right h5{
    font-size: 30px;
}
.encuestaForm{
    text-align: center;
}

/* Responsive */

@media screen and ( max-width: 578px ){
    .right{
        display: none;
        width: 100%;
    }
    .left{
        flex-grow: 1;
    }
    .container{
        width: 90%;
    }
    body{
        background-image: url('../img/hojas.jpg');
    }
}
@media screen and ( max-height: 600px ){

    .container{
        height: 500px;
    }
    .encuestaForm input[type = "number"], .encuestaForm input[type = "submit"] {  
        padding: 3px 6px;
        margin: 8px auto;
    }

}
@media screen and ( max-height: 500px ){

    .container{
        height: 400px;
    }
    .form_registro input[type = "text"], .form_registro input[type = "password"]{
        padding: 1px 6px;
    }
    .encuestaForm h3{
        font-size: 30px;
    }   

}
@media screen and ( max-height: 400px ){

    .container{
        height: 350px;
    }
    .form_registro input[type = "submit"]{
        padding: 3px 6px;
    }
    .left .login_box h3{
        font-size: 30px;
    }

}
@media screen and ( max-height: 350px ){
    .form_registro input[type = "submit"]{
        padding: 3px 6px;
    }
    .left .login_box h3{
        font-size: 30px;
    }
}
@media screen and ( min-height: 900px ){
    body{
        padding: 700px;
    }
}


/* REGISTER */

.register_box_sec1{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 5px 10px 5px 10px;
}

.register_box hr{
    margin: 0;
    border: 1px solid black;
}

.register_box{
    text-align: center;
    position: relative;
    top:50%;
    left: 50%;
    transform: translate(-50%,-50%);
    max-width: 100%;
    text-align: center;
    border-radius: 10px;
}

.register_box p a{
    color: #21a400;
    text-decoration: underline;
}

/* Bloques para cada etapa del registro */

.register_step{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 100%;
}

.register_step p{
    font-size: 25px;
}

.botones1{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 70%;
}

.boton{
    outline: none;
    width: 200px;
    padding: 14px 30px;
    color: black;
    border: 2px solid var(--slateGray);
    border-radius: 0px;
    transition: border 0.5s ease, transform 0.5s ease, border-radius 0.5s ease, background-color 0.5s ease ;
}

.boton a{
    color: black;
    text-decoration: none;
}

.boton:hover, .boton:active{
    border-radius: 10px;
    border: 2px solid var(--secundario);
    background-color: var(--secundario);
}

.botonContinuar {
    display: block;
    margin: 20px auto;
    background-color: var(--secundario);
    border: 0;
    border-radius: 5px;
    padding: 14px 10px;
    text-decoration: none;
    width: 100%;
    outline: none;
    color: #FFFFFF; 
    transition: background 0.5s ease;
    transition: background-color 0.5s ease ;
}

.botonContinuar:hover {
    background: var(--crema);
    border: 4px solid var(--secundario);
    padding: 10px 6px;
    color: #000000;
    text-decoration: none;
}

.botonContinuar2{
    width: 200px !important;
}

.register_step{
    overflow: hidden;
}

.inputLabel{
    width: 80%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 10px 0;
}

.register_step .form{
    width: 100%;
}

/* REGISTRO DE INTERESES */

.causas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 600px;
}

.toggle-btn {
    padding: 4px 8px;
    border: 2px solid #555;
    border-radius: 20px;
    background-color: white;
    cursor: pointer;
    transition: 0.2s;
    font-size: 14px;
}

.toggle-btn.selected {
    background-color: #4CAF50 !important;
    color: white !important;
    border-color: #4CAF50 !important;
}

/* MENSAJES DE ERROR DE PYTHON */

ul.messages{
    list-style: none;
}

ul.messages li.error {
    color: red;
    font-weight: bold;
}
ul.messages li.success {
    color: green;
}

/* ESTILOS PARA LA RECUPERACION DE CONTRASEÑA */

.recuperacionBox{
    width: 40%;
    margin: auto;
    text-align: left !important;
    position: relative;
}

.formularioRecuperacion{
    text-align: left !important;
}

.inputTexto{
    display: block;
    margin: 15px auto;
    background: var(--blanco);
    border: 0;
    border-radius: 5px;
    padding: 14px 10px;
    width: 100%;
    outline: none;
    color: #000000; 
    -webkit-box-shadow: 6px 6px 15px -7px rgba(0,0,0,0.53);
    -moz-box-shadow: 6px 6px 15px -7px rgba(0,0,0,0.53);
    box-shadow: 6px 6px 15px -7px rgba(0,0,0,0.53);
}

.inputTexto:focus {
    border: 4px solid var(--secundario);   
    padding: 10px 6px;
}

.inputSubmit{
    display: block;
    margin: 20px auto;
    background: var(--secundario);
    border: 0;
    border-radius: 5px;
    padding: 14px 10px;
    width: 70%;
    outline: none;
    color: #FFFFFF; 
    transition: background 0.5s ease;
}

.inputSubmit:hover, .inputSubmit:focus{
    background: var(--crema);
    border: 4px solid var(--secundario);
    padding: 10px 6px;
    color: #000000;
}

@media screen and ( max-height: 600px ){
    .inputSubmit{  
        padding: 3px 6px;
        margin: 8px auto;
    }

}

@media screen and ( max-height: 500px ){
    .inputTexto{
        padding: 1px 6px;
    }
}

@media screen and ( max-height: 400px ){
    .inputSubmit{
        padding: 3px 6px;
    }

}

@media screen and ( max-height: 350px ){
    .inputSubmit{
        padding: 3px 6px;
    }
}



.labelRecuperar{
    font-size: 20px;
}
