* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html, body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    background-image: url('../images/Login/body.png');
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


/* Imágenes de arriba */
.top-row {
    display: flex;
    flex-direction: row; /* Siempre horizontal */
    justify-content: space-around;
    align-items: center;
    padding: 2% 5%;
    gap: 10px; /* Espacio entre imágenes */
    flex-wrap: wrap; /* Permite que bajen a segunda línea si no caben */
}

.top-row img {
    width: 20%;   /* Escala relativa */
    height: auto; /* Mantiene proporción */
    max-width: 200px;
    min-width: 80px; /* Tamaño mínimo para que no se hagan demasiado pequeñas */
}

/* Imagen lema */
.bottom-row {
    padding: 2% 5%;
}

.bottom-row img {
    width: 50%;
    height: auto;
    max-width: 500px;
}

/* Responsivo: cuando el ancho sea menor a 768px */
@media (max-width: 768px) {


    .top-row img {
        width: 25%;  /* Un poco más grandes pero aún caben */
        max-width: 120px;
    }

    .bottom-row img {
        width: 90%;
        max-width: 500px;
    }
}




.login-container{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 350px;
    height: 400px;
    background-color: #eeeee4;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,1);
}

.login-container h2{
    text-align: center;
    padding: 10px 0 15px 0;
    margin: 10px 0 10px 0;
    border-bottom: 2px solid silver;
    font-size: 30px;
}

.login-container form{
    padding: 0 40px;
    box-sizing: border-box;
}

form .username, form .password{
    position: relative;
    border-bottom: 1px solid #adadad;
    margin: 20px 0;
    font-weight: 600;
}

.username input, .password input{
    width: 100%;
    padding: 0 5px;
    height: 40px;
    font-size: 16px;
    border: none;
    background: none;
    outline: none;
}

.recordar{
    margin: -10px 0 20px 5px;
    color: blue;
    cursor: pointer;
}

.recordar:hover{
    text-decoration: underline;
}

.btningresar button{
    width: 100%;
    height: 50px;
    border: 1px solid;
    background-color: silver;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    outline: none;
}


.btningresar button:hover{
    border-color: darkgray;
    transition: .5s;
}

.registrar{
    margin: 20px 0;
    text-align: center;
    font-size: 16px;
    color: black;
}
.registrar a{
    color: blue;
    text-decoration: none;
}

.registrar a:hover{
    text-decoration: underline;
}
