@import url(global.css);

#receitas {
    padding: 4rem 0;
    text-align: center;
    background-color: var(--backColor);

    h1 {
        font-size: 2.5rem;
        font-weight: bold;
        margin-bottom: 2rem;
    }

    p {
        font-size: 1.375rem;
        margin-bottom: 2rem;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

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

.recipe-item {
    background-color: var(--accentColor);
    border-radius: 10px;
    padding: 1rem;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    img {
        height: 150px;
        width: 150px;
        object-fit: cover;
        border-radius: 10px;
        margin-bottom: 1rem;
    }

    h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        color: var(--backColor);
    }

    h3 {
        font-size: 1.25rem;
        margin-top: 1rem;
        font-weight: bold;
    }

    ul, ol {
        text-align: left;
        margin: 0.5rem 0;
        padding-left: 1.5rem;
        font-size: 1rem;
    }

    li {
        margin-bottom: 0.25rem;
    }
}

.recipe-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}