body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-image: url('Images/hermanos.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative; /* Asegura que el contenedor se posicione relativo a este elemento */
    display: flex;
    justify-content: center;
    align-items: center;
   }

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* Cambia el color y el nivel de opacidad según tu preferencia */
    z-index: 1;
}

.container {
    z-index: 2;
    display: flex;
    gap: 10px;
    position: absolute; /* Asegura que el contenedor esté posicionado en la parte inferior */
    bottom: 0;
    margin: 10px; /* Espacio desde el borde inferior */
}

.image-box {
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.8s ease;
}

.image-box:hover {
    transform: scale(1.05);
}

.image-box img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #fff;
}

.image-box h2 {
    margin: 0;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 1.2em;
}
.login-container {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 300px;
}

.login-container h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.5em;
}

.login-container input[type="text"],
.login-container input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 1em;
}

.login-container button {
    width: 100%;
    padding: 10px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-container button:hover {
    background-color: #555;
}
