* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    box-sizing: border-box;
}

.body__index {
    background: url(/Front/img/fondoprincipal.png) no-repeat center top;
    background-size: cover;
    display: flex;
    height: 100vh;

}

.formulario_login {
    width: 350px;
    /* height: 444px; */
    /* height: 70%; */
    background: #fff;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    padding: 20px;
    opacity: 0.9;
    box-shadow: 1px 1px 2px 1px gainsboro;
    border-radius: 10px;
}

.formulario_login_cambioClave {
    width: 350px;
    /* height: 444px; */
    /* height: 70%; */
    background: #fff;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    padding: 20px;
    opacity: 0.9;
    box-shadow: 1px 1px 2px 1px gainsboro;
    border-radius: 10px;
}

.titulo_escudo {

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
}

.logo {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
}

h3 {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 5px;
    color: rgba (0, 0, 0, 0.5);
}

.ingresoDatos {
    padding: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

input[type=text],
select,
input[type=date],
input[type=password] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    outline: none;
    resize: vertical;
}

input[type="submit"] {
    width: 100%;
    background-color: #4CAF50;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0, 2;
    margin-bottom: 0;
    margin-top: 15px;
}

.btn_ingresar {
    width: 95%;
    text-decoration: none;
    background-color: #4CAF50;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0, 2;
    margin-bottom: 0;
    margin-top: 10px;
    text-align: center;
}

.olvide {
    margin-top: 10px;
    padding: 10px;
    color: blue;
    text-decoration: none;
    font-size: 0.8rem;
    align-self: flex-start;
}

.mensaje {
    background-color: azure;
    padding: 9px;
    font-size: 0.7rem;
    color: orangered;
    text-align: justify;
    margin-top: 0.7rem;
}

@media (max-width: 370px) {
    .formulario_login {
        width: 90%;
        min-width: 232px;
        height: 400px;
        background: #fff;
        top: 50%;
        left: 50%;
        position: absolute;
        transform: translate(-50%, -50%);
        box-sizing: border-box;
        padding: 20px;
        opacity: 0.9;
        box-shadow: 1px 1px 2px 1px gainsboro;
        border-radius: 10px;
    }

    .formulario_login_cambioClave {
        width: 90%;
        min-width: 232px;
        background: #fff;
        top: 50%;
        left: 50%;
        position: absolute;
        transform: translate(-50%, -50%);
        box-sizing: border-box;
        padding: 20px;
        opacity: 0.9;
        box-shadow: 1px 1px 2px 1px gainsboro;
        border-radius: 10px;
    }
    .mensaje{
        margin-top: 1rem;
    }
}

@media (max-width: 310px) {
    .formulario_login_cambioClave {
        height: 61%;
        /* margin-top: 1rem; */
    }
    .mensaje{
        margin-top: 1rem;
    }
}

@media (max-width: 263px) {
    .formulario_login_cambioClave {
        height: 63%;
        /* margin-top: 1rem; */
    }
    /* .mensaje{
        margin-top: 1rem;
    } */
}

