/* Fondo general con imagen */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-image: url("imagenes/fondo-recetas.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: #4CAF50;
    color: #333;
}

/* Fondo semitransparente para que el texto se lea bien */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.7);
    z-index: -1;
}

/* Título principal */
h1 {
    text-align: center;
    margin-top: 30px;
    color: #2c3e50;
    font-size: 36px;
    text-shadow: 1px 1px 2px #fff;
}

/* Párrafos descriptivos */
p {
    font-size: 18px;
    text-align: center;
}

/* Solo este párrafo cambia */
#pequeno {
    font-size: 14px;
    text-align: left;
}


/* Imagen principal */
img {
    display: block;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* Enlace al formulario */
a {
    display: inline-block;
    margin-top: 20px;
    font-size: 20px;
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    color: #2e7d32;
}

/* FORMULARIO */
form {
    width: 350px;
    margin: 40px auto;
    padding: 25px;
    background: rgba(255,255,255,0.9);
    border: 2px solid #b0c4de;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* Cada campo uno debajo del otro */
label {
    display: block;
    margin-bottom: 15px;
    font-weight: bold;
    color: #34495e;
}

/* Inputs */
input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #aab7c4;
    border-radius: 5px;
    font-size: 14px;
}

/* Botón */
button {
    width: 100%;
    padding: 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background-color: #45a049;
}

/* Mensajes de error */
.error {
    text-align: center;
    color: red;
    font-weight: bold;
    margin-top: 20px;
}
