    /* Reset de estilos */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    /* Estilo general */
    body {
        font-family: Arial, sans-serif;
        background-color: #5c0100;
        background-image: url("fondo.jpg");
        color: #333;
        display: grid;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        padding: 20px;
        align-content:center;
    }

    /* Contenedor principal */
    .container {
        background: #fff;
        padding: 30px;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        width: 100%;
        max-width: 800px;
    }

    /* Encabezado */
    h1 {
        text-align: center;
        font-size: 1.8rem;
        color: #222;
        margin-bottom: 20px;
    }

    /* Etiquetas */
    label {
        font-size: 1rem;
        color: #555;
        display: block;
        margin-bottom: 10px;
    }

    /* Campo de entrada */
    input[type="text"] {
        width: 100%;
        padding: 10px;
        font-size: 1rem;
        border: 1px solid #ddd;
        border-radius: 5px;
        margin-bottom: 20px;
    }

    input[type="text"]:focus {
        border-color: #007bff;
        outline: none;
        box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
    }

    /* Botón */
    button {
        width: 100%;
        padding: 12px;
        font-size: 1rem;
        color: #fff;
        background-color: #007bff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    button:hover {
        background-color: #0056b3;
    }

    /* Diseño responsivo */
    @media (max-width: 768px) {
        h1 {
            font-size: 1.5rem;
        }

        button {
            font-size: 0.9rem;
        }
    }
  
.container input[type="text"],
.container input[type="email"] {
    width: 100%;                   
    padding: 12px 15px;            
    margin: 8px 0 20px 0;          
    font-size: 1rem;               
    border: 1px solid #ccc;        
    border-radius: 5px;            
    box-sizing: border-box;        
    display: inline-block;
}


.container input[type="email"]:focus {
    border-color: #007bff;          
    outline: none;                 /
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); 
    
}

.container img {
    width: 300px;
    height: auto; /* El alto se ajusta automáticamente para mantener la proporción */
}

/* Cuando la pantalla sea de 768px o más (tablets y escritorios)... */
@media (min-width: 868px) {
    /* ...la regla de estilo dentro de este bloque se aplicará */
    .container img {
        width: 450px; /* Cambiamos el ancho de la imagen a 450px */
    }
}
footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 30px; /* Espacio para separarlo del contenido de arriba */
    color: #cccccc;   /* Color de texto gris claro y sutil */
    font-size: 0.9rem;
}

footer a {
    color: #ffffff;   /* Letras del enlace en color blanco */
    text-decoration: none; /* Quita el subrayado por defecto */
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline; /* Muestra el subrayado al pasar el mouse */
}