body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-image: linear-gradient(
        rgba(128, 128, 128, 0.3),
        rgba(128, 128, 128, 0.31),
        rgba(128, 128, 128, 0.31),
        rgba(128, 128, 128, 0.5)
    ), url("/img/background_desktop.jpg");
    background-size: cover;
    background-position: center;
}


header {
    padding: 1em;
    text-align: center;
}

main {
    flex: 1;
    display: flex;
    align-items: flex-end; /* Centramos verticalmente el contenido */
    justify-content: flex-end; /* Posicionamos el contenido al final */
    padding: 2em;
}

section {
    background-color: #f7f7f7;
    padding: 2em;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 400px; /* Establecemos un ancho máximo para el formulario */
    margin: 0 auto; /* Centramos horizontalmente el formulario */
}

label {
    display: block;
    margin-bottom: 10px;
}

input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
}

button[type="submit"] {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #444;
}

#response {
    color: #666;
    margin-top: 20px;
}

footer {
    padding: 1em;
    height: 50px;
    margin-top: auto;
}

.footer-left p {
    text-align: left;
    float: left;
}

.footer-right p {
    text-align: right;
    float: right;
}

footer div p {
    padding-right: 0.5em;
    padding-left: 0.5em;
}

/* Fondo para pantallas pequeñas (móviles) */
@media (max-width: 768px) {
    body {
        background-image: linear-gradient(
            rgba(128, 128, 128, 0.3),
            rgba(128, 128, 128, 0.31),
            rgba(128, 128, 128, 0.31),
            rgba(128, 128, 128, 0.5)
        ), url("/img/background_mobile.jpg");
        background-size: cover;
        background-position: center;
    }
}
