@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    /*background: linear-gradient(#FFCC00, #D23637); */
    background-image: url('../images/img_principales/752-banner_quienes_somos.jpg') ;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.container {
    max-width: 400px;
    width: 90%;
    padding: 10px 20px; ;
    background-color: #fff;
    box-shadow: 0px 4px 15px rgb(0 0 0 / 70%);
    border-radius: 10px;
    box-sizing: border-box;
    margin-top: -50px;
    z-index: 10;
}

.header {
    background-color: #ffffff; /* Cambia el color de fondo segÃºn tus preferencias */
    overflow: hidden; 
    padding: 10px; 
    text-align: center; /* Centra el contenido en el eje horizontal */
    margin-top: 10px;
    border-radius: 5px;
}

.logo {
    overflow: hidden; 
}

.logo img {
    width: 35%; 
    height: auto;
    display: block;
    margin: 0 auto; 
}

h1 {
    text-align: center;
    margin-bottom: 10px;
    color: #555;
    font-size: 24px;
}

.input-field {
    margin-top: 25px;
    margin-bottom: 20px;
}

.input-field label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-size: 14px;
}

.input-field input {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

.input-field input:focus {
    border-color: #D23637;
}

.input-field {
    position: relative;
    width: 100%;
}
.input-field input {
    width: 100%;
    padding-right: 2.5rem; /* Space for the eye icon */
}
.input-field .toggle-password {
    position: absolute;
    top: 70%;
    right: 0.5rem;
    transform: translateY(-50%);
    cursor: pointer;
    color: #454545; /* Optional: Change icon color */
}

.button-field {
    margin-top: 20px;
}

.button-field button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    color: #fff;
    background: -webkit-linear-gradient(#FFCC00, #D23637);;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
}

.button-field button:hover {
    background: #FF5733;
} 

.boton-iniciar-sesion {
    width: 100%;
    padding: 12px;
    margin-top:15px;
    font-size: 16px;
    color: #fff;
    background: -webkit-linear-gradient(#FFCC00, #D23637);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
}

.boton-iniciar-sesion:hover {
    background: #FF5733;
    font-weight:300;

}

.registro{
    font-size: 12px;
    text-align: center;
    font-size:14px;
    margin-top:20px;
}

.registro a {
    color: #ff4e00;
    cursor: pointer;
    text-decoration: underline;
}



/***********************************************************************************/
/*                          VENTANA MODAL                                          */
.modal, .modal1 {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 10px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

@media screen and (max-width: 750px) {
    .modal-content {
        width: 90%;
        max-width: 90%;
    }
}

@media screen and (max-width: 400px) {
    .modal-content {
        width: 95%;
        max-width: 95%;
    }
}


.modal-content p{
    font-size:14px;
    /*font-weight:bold;*/
}

.modal-content img{
   margin-left:0px;
}

.error{
    font-size:3.0rem;
    color:red;
}
.close-modal, .close3, .close4 {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-modal:hover, .close:focus,
.close3:hover, .close3:focus,
.close4:hover, .close4:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.mensaje-error {
    color: #ec0511;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 13px;
    text-align: center;
}

.mensaje-mensaje-exito {
    background-color: #ffdddd;
    color: #d8000c;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #d8000c;
    border-radius: 5px;
}

.mensaje-exito {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
}

@media only screen and (max-width: 768px) {
    body {
        font-family: 'Poppins', sans-serif;
        font-size: 14px; 
        background: -webkit-linear-gradient(#FFCC00, #D23637);
            
    }
 
    .container {

        position: fixed;
        width: 90%;
        box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        box-sizing: border-box;
        margin-bottom: 50px;
    }
    
    h1 {
        margin-bottom: 20px;
        color: #333;
    }
    
    .input-field {
        margin-bottom: 20px;
    }
    
    .input-field label {
        display: block;
        margin-bottom: 5px;
        color: #555;
    }
    
    .input-field input {
        width: 100%;
        padding: 12px;
        font-size: 16px;
        box-sizing: border-box;
        border: 1px solid #ddd;
        border-radius: 5px;
    }
    
    .button-field {
        margin-top: 20px;
    }
    
    .button-field button {
        width: 100%;
        padding: 12px;
        font-size: 16px;
        color: #fff;
        background-color: #D23637;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        box-sizing: border-box;
    }

    .registro{
        font-size: 12px;
        text-align: center;
    }

   
}

