:root {
    --boton: #2B94E8;
    --botonHover: #66b0ec;
}

body {
    max-width: 100%;
    height: auto;
    font-family: "EB Garamond", serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-image: url('../images/Principal.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.login {
    width: 400px;
    min-height: 400px;
    margin-right: 90px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: min-height 0.3s ease;
}

.login.alert-visible {
    min-height: 450px; /* Incrementa el tamaño mínimo para acomodar la alerta */
}

.user {
    margin-top: 10px;
}

.usuario {
    margin-top: 5px;
    display: flex;
    align-items: center;
}

.usuario .img3 {
    border-radius: 5px;
    margin-right: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 43px;
    width: 43px;
    background-color: var(--boton);
    font-weight: bold;
    font-size: 14pt;
}

.usuario input {
    width: 90%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    backdrop-filter: blur(5px);
}

.password {
    margin-top: 5px;
    display: flex;
    align-items: center;
}

.password .img2 {
    border-radius: 5px;
    display: flex;
    margin-right: 5px;
    justify-content: center;
    align-items: center;
    height: 43px;
    width: 43px;
    background-color: var(--boton);
    font-weight: bold;
    font-size: 14pt;
}

.password input {
    width: 90%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    backdrop-filter: blur(5px);
}

.boton {
    display: flex;
    justify-content: center;
}

.boton button {
    font-weight: bold;
    font-size: 10pt;
    border: none;
    border-radius: 8px;
    background-color: var(--boton);
    width: 90px;
    height: 40px;
    margin-top: 5px;
    cursor: pointer;
}

.boton button:hover {
    background-color: var(--botonHover);
}

.recuperar {
    margin-top: 10px;
    font-weight: bold;
    font-size: 12pt;
}

label {
    font-weight: bold;
}

.recuperar a {
    text-decoration: none;
    color: red;
    margin-left: 10px;
}

.redeSociales {
    display: flex;
    justify-content: center;
    align-items: center;
}

.redeSociales i {
    margin-right: 15px;
}

/* Media Query para Dispositivos Móviles */
@media (max-width: 768px) {
    body {
        background-color: #2B94E8;
        justify-content: center;
        background-size: cover;
        padding: 10px;
    }

    .login {
        width: 90%;
        height: auto;
        margin-right: 0;
        padding: 15px;
    }

    .usuario, .password {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .usuario .img3, .password .img2 {
        width: 43px;
        height: 43px;
        margin-right: 10px;
    }

    .usuario input, .password input {
        width: calc(100% - 40px); /* Ajusta el ancho para tener en cuenta el icono */
    }

    .boton button {
        width: 90px;
    height: 40px;
    cursor: pointer;
    }
    
    .boton button:hover {
    background-color: var(--botonHover);
}
}
