/* Estilo general */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

/* Contenedor principal */
.book-container {
    max-width: 900px;
    margin: 20px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to right, #ff7e5f, #feb47b);
}

/* Cabecera */
header {
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    font-size: 48px;
    color: #fff;
    font-family: 'Pacifico', cursive;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #f39c12;
}

/* Secciones de recetas */
.recipe {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.recipe h2 {
    font-size: 32px;
    color: #e74c3c;
    font-family: 'Lora', serif;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.recipe h3 {
    font-size: 22px;
    color: #34495e;
    margin-bottom: 10px;
}

.recipe ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.recipe ul li {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 8px;
}

.recipe p {
    font-size: 16px;
    color: #7f8c8d;
    line-height: 1.6;
}

/* Fondo alternado en las recetas */
.recipe:nth-child(even) {
    background-color: #f0f3f4;
}

/* Pie de página */
footer {
    text-align: center;
    font-size: 14px;
    color: #fff;
    background-color: #34495e;
    padding: 15px;
    border-radius: 8px;
    margin-top: 40px;
}

footer p {
    margin: 0;
}
