/* estilos.css */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    background: #f2f4f8;
    color: #333;
    width: 100%;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    background: url(../img/fondo4.jpg) no-repeat center center fixed;   
}
/* Capa adicional para mejorar contraste */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}
/* Creamos el pseudo-elemento que contendrá el fondo desenfocado */
body::before {
    content: '';
    position: fixed;
    /* Ocupa toda la pantalla, independientemente del scroll */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('../img/fondo.jpg') no-repeat center center;
    background-size: cover;
    filter: blur(8px);
    /* Nivel de desenfoque */
    -webkit-filter: blur(8px);
    /* Compatibilidad con Safari */
    z-index: -1;
    /* Lo posicionamos detrás de todo el contenido */
    transform: scale(1.1);
    /* Escala ligeramente para evitar bordes borrosos */
}
/* Estilo del menú */
#menuHorizontal {
    display: flex;
    justify-content: center;
    list-style: none;
    background-color: #333;
    padding: 0;
    margin: 20px 0;
    border-radius: 6px;
}

h1 {
    text-align: center;
    padding: 20px;
    color: #f7f8f8;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

form {
    max-width: 700px;
    background: white;
    margin: 30px auto;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

input[type="text"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
    border-color: #3498db;
    outline: none;
}

textarea {
    resize: vertical;
}

input[type="submit"] {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #2980b9;
}

a {
    color: #2980b9;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

p {
    max-width: 700px;
    margin: 0 auto 15px auto;
    padding: 0 20px;
}

.container {
    max-width: 700px;
    background: #fff;
    margin: 20px auto;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}
