* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url("im.jpg") center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: #333;
    padding: 20px;
    position: relative;
}

body::before {
    content: "";
    background-color: rgba(255, 255, 255, 0.7); /* transparent white overlay */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}


header {
    text-align: center;
    margin-bottom: 40px;
}

header h1 {
    font-size: 2.5rem;
    color: #d35400;
}

header p {
    color: #555;
    margin-top: 10px;
}

.recipe-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

.recipe-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recipe-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.recipe-card h2 {
    color: #e67e22;
    margin-bottom: 10px;
}

.description {
    font-style: italic;
    margin-bottom: 15px;
    color: #666;
}

.recipe-card h3 {
    margin: 10px 0 5px;
    color: #333;
}

.recipe-card ul {
    padding-left: 20px;
    text-align: left;
    margin-bottom: 10px;
}

footer {
    text-align: center;
    margin-top: 200px;
    font-size: 0.9rem;
    color: #777;
}
footer a{
    text-decoration: none;
    color: #777
}

@media (max-width: 600px) {
    header h1 {
        font-size: 2rem;
    }
    .recipe-card {
        padding: 15px;
    }
}


