/* Recipes Page Styles */

main {
    padding: 2rem 0;
}

section {
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
    text-align: center;
}

p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
    text-align: center;
    line-height: 1.6;
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.recipe-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recipe-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
    text-align: center;
}

.recipe-image {
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.recipe-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .recipe-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .recipe-card {
        padding: 1rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
}