* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fef9e8;
    color: #2c3e2f;
    line-height: 1.6;
    padding: 20px;
}


header {
    background: linear-gradient(135deg, #4a6b3c 0%, #2d4a1e 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 15px 15px 0 0;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

header img {
    max-height: 80px;
    width: auto;
    background-color: white;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 1.8rem;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

nav {
    background-color: #3a5a2a;
    padding: 0.8rem 2rem;
    border-radius: 0 0 15px 15px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

nav ul li a, nav ul li {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-radius: 25px;
    display: inline-block;
}

nav ul li a:hover {
    background-color: #f4a261;
    color: #2c3e2f;
    transform: translateY(-2px);
}

nav ul li#active, nav ul li a#active {
    background-color: #e76f51;
    color: white;
    cursor: default;
}

section.with_image {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: #faf7f0;
    border-radius: 16px;
}

section.with_image figure {
    flex: 1;
    min-width: 150px;
    text-align: center;
}

section.with_image figure img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

section.with_image figure img:hover {
    transform: scale(1.02);
}

section.with_image figcaption {
    margin-top: 0.5rem;
    font-style: italic;
    color: #6b4c3a;
    font-weight: 500;
}

.link_to_recipe {
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.2s;
}

.link_to_recipe:hover {
    border: 2px solid #e76f51;
}
