/* Estilo base */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff3e0;
    color: #5a3e1b;
    text-align: center;
}

/* Encabezado */
header {
    background-color: #8b5a2b;
    padding: 20px;
    color: white;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

/* Pie de página */
footer {
    margin-top: 20px;
    padding: 10px;
    background-color: #8b5a2b;
    color: white;
}

/* Contenedor general para secciones del inicio */
.secciones {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

/* Caja individual de cada sección */
.seccion {
    background-color: #ffe0b2;
    padding: 15px;
    border-radius: 15px;
    width: 200px;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.1);
}

.seccion img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.seccion a {
    display: block;
    margin-top: 10px;
    font-size: 18px;
    color: #5a3e1b;
    text-decoration: none;
}

.seccion a:hover {
    text-decoration: underline;
}

/* Estilos de recetas individuales */
.recetas {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.receta {
    text-align: center;
    background-color: #ffe0b2;
    border-radius: 15px;
    padding: 10px;
    width: 220px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
}

.receta img {
    width: 200px;
    height: 150px;
    border-radius: 10px;
}

.receta a {
    text-decoration: none;
    color: #5a3e1b;
    font-weight: bold;
}

/* Imagen destacada para receta detallada */
.receta-img {
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 20px auto;
    border-radius: 10px;
}
