:root {
    --bottle-green: #006a4e;
    --gold: #d4af37;
    --black: #111;
    --white: #f9f9f9;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--black);
    color: var(--white);
}

header {
    background-color: var(--bottle-green);
    color: var(--white);
    padding: 1rem;
    text-align: center;
}

nav {
    margin-top: 1rem;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 0;
}

nav li {
    display: inline;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: var(--gold);
    color: var(--black);
}

main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    max-height: 150px;
    object-fit: cover;
    margin-bottom: 1rem;
    min-height: 100vh;
}

.recipe-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
}

.recipe-card {
    flex: 1 1 300px;
    max-width: 300px;
    background-color: var(--black);
    border: 2px solid var(--gold);
    padding: 1rem;
    width: 300px;
    border-radius: 8px;
    box-sizing: border-box;
}
.recipe-card img {
    max-height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.recipe-card h2 {
    color: var(--bottle-green);
}

.recipe-card h2 a {
    color: var(--bottle-green);
    text-decoration: none;
}

.recipe-card h2 a:hover {
    text-decoration: underline;
}

button {
    background-color: var(--gold);
    color: var(--black);
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: var(--bottle-green);
    color: var(--white);
}