body, h1, h2, h3, p, ul, li, a, button, input {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background: #f0f0f0;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: block;
}

header {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
    width: 100%;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

header h1 {
    font-size: 2em;
    color: #333;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav li {
    margin-left: 20px;
}

header nav li a {
    display: block;
    padding: 12px 24px;
    text-decoration: none;
    color: #333;
    background-color: #fff;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-shadow: 1px 1px 0px #eee;
    border: none;
    font-size: 16px;
    text-align: center;
}

header nav li a:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

header nav li a.active {
    background-color: #004080;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}


header .search-bar {
    display: flex;
}

header .search-bar input[type="text"] {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
}

header .search-bar button {
    background-color: #5cb85c;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.banner {
    background-color: #f8f8f8;
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
    width: 100%;
}

.banner .container {
    padding: 0 20px;
}

.banner h2 {
    color: #333;
    margin-bottom: 10px;
    font-size: 2.5em;
}

.banner p {
    color: #666;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.banner .button {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.featured-recipes, .recent-recipes {
    padding: 30px 0;
    text-align: center;
    width: 100%;
    display: block;
}

.featured-recipes h2, .recent-recipes h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 20px;
}

.recipe-list {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.recipe-item {
    width: 300px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
}

.recipe-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    margin-bottom: 0;
}

.recipe-item-content {
    padding: 20px;
}

.recipe-item h3 {
    margin-bottom: 10px;
    color: #333;
    font-size: 1.3em;
}

.recipe-item p {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.recipe-item a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
    border-top: 1px solid #555;
    width: 100%;
}