body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: url('./images/backround/picture\ 1.jpg') no-repeat center center fixed; /* Background image */
    background-size: cover; /* Cover the entire background */
    color: #333;
}

header {
    background: rgba(74, 144, 226, 0.9); /* Soft blue with transparency */
    color: white;
    padding: 30px 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

header h1 {
    margin: 0;
    font-size: 2.5em;
}

nav {
    margin-top: 15px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #333;
}

main {
    padding: 20px;
    max-width: 900px;
    margin: 30px auto;
    background: rgba(244, 244, 244, 0.9); /* Light gray background with transparency */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

h2 {
    color: #4a90e2; /* Matching header color */
    margin-top: 30px;
    font-size: 2em;
    border-bottom: 2px solid #4a90e2;
    padding-bottom: 10px;
}

.category {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #ffffff; /* White background for category sections */
}

.category h3 {
    color: #4a90e2;
    margin-bottom: 10px;
}

.category ul {
    list-style-type: none;
    padding: 0;
}

.category ul li {
    background: #ffffff; /* White background for list items */
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    transition: background 0.3s;
}

.category ul li:hover {
    background: #e1f5fe; /* Light blue on hover */
}

.category ul li img {
    width: 50px; /* Uniform size for all ingredient images */
    height: 50px; /* Maintain aspect ratio */
    margin-right: 15px;
}

/* Set uniform size for all images on individual recipe pages */
.recipe-image {
    width: 300px; /* Set desired width for recipe images */
    height: 200px; /* Set desired height for recipe images */
    object-fit: cover; /* Ensures the image covers the area without distortion */
    border-radius: 10px; /* Optional: adds rounded corners */
    margin: 10px 0; /* Space around the image */
}

form {
    background: #ffffff; /* White background for forms */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

form label {
    display: block;
    margin: 15px 0 5px;
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

form input[type="submit"] {
    background: #4a90e2; /* Button color */
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    font-size: 1.1em;
}

form input[type="submit"]:hover {
    background: #357ab7; /* Darker blue on hover */
    transform: scale(1.05);
}

footer {
    text-align: center;
    padding: 20px 0;
    background: #f1f1f1;
    margin-top: 30px;
    position: relative;
    bottom: 0;
    width: 100%;
    font-size: 0.9em;
    color: #666;
}

@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }

    main {
        margin: 10px;
    }
}

.beef-dishes{
    width: 50px;
    height: auto;
    text-align: center;

}

.chicken-dishes{
    width: 50px;
    height: auto;
    text-align: center;
    


}

.salad-dishes{
    width: 50px;
    height: auto;
    text-align: center;
    

}

.dessert-dishes{
    width: 50px;
    height: auto;
    text-align: center;


}

.milkshake-dishes{
    width: 50px;
    height: auto;
    text-align: center;


}

.center-image {
    display: block;
    margin: 0 auto;
    max-width: 100%; 
    height: auto; 
}

