@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;
}

.wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 90%;
    margin: 0 auto;
}

.mensaje-error {
    
    color: #ff0311;
    padding: 0px;
    margin-bottom: 15px;
    border-radius: 5px;
    text-align: center;
    z-index: 9999;
}

img {
    width: 20%;
    height: auto;
    display: block;
    float: left; 
    margin-right: 10px; 
}



.container {
    max-width: 700px;
    width: 100%;
    height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: #fff;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
   /* box-sizing: border-box;*/
    text-align: center;
    overflow: auto;
}

h1 {
    text-align: center;
    margin-top: 10px;
    margin-left: auto;
    margin-right: 150px;
    color:#555;
}


form {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 15px;
    max-width: 800px;
    margin: 0 auto; 
}
.input-field label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    text-align: left;
    margin-left: 15px;
}

.input-field input {
    width: calc(100% - 24px); 
    padding: 12px;
    font-size: 14px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

.input-field a{
    color: #ff4e00;
    cursor: pointer;
    text-decoration: underline;
}

.input-field p {
    font-size: 9px; 
    font-weight: bold;
    color: #5e5c5c;
    font-style: italic; 
    text-align: left; 
    margin-left:14px;
    text-align: left
}

.toggle-password{
    position: absolute;
    right:40px;
    margin-top:12px;
    color: #555;
    cursor: pointer;
}

.button-field {
    margin-top: 20px;
}

.button-field button {
    width: 30%;
    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;
    grid-column: span 2; 
    text-align: center;
    margin-top: 30px;
    
}

.button-field button:hover {
    background: #FF5733;
    font-weight:300;

}



.login-link{
    margin-top:25px;
    font-size:14px
}

.login-link a{
    color: #ff4e00;
    cursor: pointer;
    text-decoration: underline;
    /* font-style: italic; */
    font-weight:bold;
}


.policy-link {
    color: #5eff00;
}

.policy-link:hover {
    text-decoration: underline;
}


@media only screen and (max-width: 768px) {
    body {
        font-family: 'Poppins', sans-serif;
        font-size: 14px; 
        background: -webkit-linear-gradient(#FFCC00, #D23637);
            
    }
    .custom-container{
        display: none;
    }

    .text-overlay{
        display: none;
    }

    body {
        justify-content: space-around;
    }

    .wrapper {
        flex-direction: row;
    }

    .container {
        width: 90%;
        box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        box-sizing: border-box;
        margin-bottom: 50px;
    }

    form {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column; /* Set form elements in a single column */
        max-width: 800px;
        margin: 0 auto;
    }

    img {
        width: 35%; 
        height: auto;
        display: block;
        margin: 0 auto; 
        float: none;
    }

    .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;
    }

    h1 {
        margin-bottom: 20px;
        color: #555;
        font-size: 24px;
        text-align: center;
    }

}
