@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
    --primary-color: #E05225;
    /* Vermelho */
    --accent-color: #FFD200;
    /* Amarelo */
    --text-color: #1A1A1A;
    /* Preto */
    --color-17: #5BA830;
    /* Verde */
    --background-color: #F4F4F4;
    /* Cinza claro */
}



*::selection {
    color: var(--background-color);
    background-color: var(--primary-color);
}


@font-face {
    font-family: concourse_index;
    font-style: normal;
    font-weight: normal;
    font-stretch: normal;
    font-display: auto;
    src: url('../fonts/concourse_index_regular.woff2') format('woff2');
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 1rem 0;
    font-family: 'DM Serif Display', serif;
}

header {
    padding: 10px 0 20px 0;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
    position: fixed;
    width: 100%;
    background-color: var(--background-color);
    z-index: 9999;
}

header .header-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

header h1 a {
    text-decoration: none;
    color: var(--primary-color);
}

header h2 {
    font-size: 20px;
    line-height: 16px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
}

main {
    padding: 140px 0 80px 0;
}

p {
    margin: 0 0 1rem;
}

.container {
    width: 100%;
    margin: 0 auto;
}

h1 {
    font-size: 30px;
    margin: 0;
}

h2 {
    font-size: 24px;
    margin: 0;
}

footer {
    background-color: var(--background-color);
    padding: 20px 0;
    -webkit-box-shadow: 0 -3px 112px -40px rgba(0, 0, 0, .4);
    box-shadow: 0 -3px 112px -40px rgba(0, 0, 0, .4);
}

.footer-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    max-width: 1000px;
    margin: 0 auto;
    align-items: flex-start;
    align-content: stretch;
    flex-direction: row;
    gap: 25px;
    padding: 20px;
}

.footer-section {
    flex-basis: 100%;
    width: 100%;
}

.footer-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'DM Serif Display', serif;
    color: var(--text-color);
}

.footer-title .title {
    color: var(--primary-color);
}

.footer-description {
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
}

.footer-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-categories li {
    margin-bottom: 5px;
}

.footer-categories li a {
    color: var(--text-color);
    text-decoration: none;
    display: block;
    border-bottom: 1px dashed var(--color-17);
}

.footer-categories li:last-child a {
    border-bottom: none;
}

.footer-tag-cloud {
    margin-top: 10px;
}

.tag {
    display: inline-block;
    margin: 0 0 4px 0;
    padding: 4px;
    background-color: var(--accent-color);
    border: 1px solid var(--background-color);
    border-radius: 4px;
    color: var(--background-color);
    text-decoration: none;
    font-size: 0.825rem;
}

.tag:hover {
    background-color: var(--background-color);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}


.footer-bottom {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 13px;
    padding: 20px;
    min-height: 20px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 50%;
    float: left;
    font-weight: 500;
}

.footer-menu li {
    display: inline-block;
    padding-right: 20px;
}

.footer-menu li a {
    text-decoration: none;
    color: var(--text-color);
}

.footer-menu li a:hover {
    color: var(--color-17);
}

.footer-copyright {
    width: 50%;
    float: right;
    text-align: right;
}

/* Estilos gerais */
body {
    background-color: var(--background-color);
    color: var(--text-color);
}

section {
    max-width: 1000px;
    width: 80%;
    margin: 0 auto;
}

#disclaimer {
    display: none;
}

article.recipe {
    width: 100%;
}

article.recipe h1 {
    font-size: 2rem;
    line-height: 2rem;
    font-weight: 700;
}

article.recipe figure {
    width: 100%;
    margin: 0;
    overflow: hidden;
}

article.recipe figure img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    object-position: center;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
}

article.recipe figure figcaption {
    max-width: 1000px;
    width: 80%;
    margin: 10px auto 25px auto;
    font-size: 1rem;
    color: var(--color-17);
    font-family: 'Crimson Pro', serif;
}

.recipe-category {
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: .25rem;
    color: var(--primary-color);
    margin: 0;
}

.recipe-description {
    font-size: 1.45rem;
    line-height: 1.825rem;
    font-style: oblique;
    font-weight: 400;
    color: var(--color-17);
    font-family: 'Crimson Pro', serif;
    margin: 10px 0;
}

.recipe-content p {
    word-spacing: 3px;
    overflow-wrap: break-word;
}

.recipe-content a {
    font-weight: 500;
    color: var(--color-17);
    text-decoration: none;
    border-bottom: none;
}

.recipe-content a:hover {
    font-weight: 600;
    border-bottom: dotted 1px var(--color-17);
}

.recipe-body {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
}

.recipe-body #recipe-ingredients {
    padding-right: 25px;
    width: 30%;
    font-size: .8625rem;
    text-align: right;
    color: var(--color-17);
}

.recipe-body #recipe-ingredients h2 {
    color: var(--primary-color);
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1rem;
}

.recipe-body #recipe-ingredients ul li {
    list-style: none;
    line-height: 1rem;
    margin-bottom: 0.825rem;
}

.recipe-body #recipe-instructions {
    border-left: solid 2px var(--primary-color);
    padding-left: 25px;
    width: 70%;
}

.recipe-body #recipe-instructions ol {
    counter-reset: step;
    padding: 0;
}

.recipe-body #recipe-instructions ol li {
    line-height: 1.25rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: solid 1px var(--primary-color);
    margin-left: 2.5rem;
    list-style: none;
}

.recipe-body #recipe-instructions ol li:last-child {
    border-bottom: none;
}

.recipe-body #recipe-instructions ol li:before {
    counter-increment: step;
    content: counter(step);
    font-family: concourse_index;
    font-size: 1.25rem;
    position: absolute;
    margin-left: -2.5rem;
}

.recipe-info {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-around;
}

.info-column {
    flex-basis: 20%;
    flex-grow: 1;
    text-align: center;
    background-color: var(--background-color);
    color: var(--text-color);
    border: solid 1px var(--primary-color);
}

.info-column h4 {
    background-color: var(--primary-color);
    color: var(--background-color);
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.75rem;
    margin: 0;
}

.info-column p {
    margin: 0;
}

.card {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 3em;
    cursor: default;
}

.card .card-image {
    width: 40%;
    margin-right: 20px;
}

.card .card-image img {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    object-position: center;
    overflow: hidden;
    /*-webkit-transition: 0.2s ease-in-out;*/
    /*transition: 0.2s ease-in-out;*/
}

.card:hover img {
    /*-webkit-transform: scale(1.025) rotate(-1deg);*/
    /*transform: scale(1.025) rotate(1);*/
}

.card .card-content {
    width: 60%;
    display: flex;
    flex-direction: column;
}

section.receitas-sem-imagens {}

section.receitas-sem-imagens .card {
    margin-bottom: 1em;
}

section.receitas-sem-imagens .card .card-content {
    width: 100%;
    display: flex;
    flex-direction: row;
    white-space: pre-wrap;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
}

section.receitas-sem-imagens .card .card-content .recipe-category {
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: .25rem;
    color: var(--primary-color);
    margin: 0 20px 0 0;
    width: 40%;
    text-align: right;
}

.transition-color {
    -webkit-transition-duration: .2s;
    transition-duration: .2s;
}

.card .card-content h2 {
    line-height: 1.125em;
}

.card .card-content h2 a {
    text-decoration: none;
    color: var(--text-color);
}

.card .card-content h2 a:hover {
    text-decoration: dotted 1px;
    color: var(--primary-color);
}

.card .card-content .card-excerpt {}

.card .card-content .card-excerpt p {
    color: var(--color-17);
    margin: 0;
    padding: 0;
    line-height: 1.2em;
}



@media (max-width: 600px) {
    main {
        padding: 140px 0 20px 0;
    }

    section {
        max-width: 600px;
        width: 90%;
        margin: 0 auto;
    }

    .card {
        margin-bottom: 1em;
    }

    .card .card-content .card-excerpt {
        display: none;
    }

    .recipe-category {
        letter-spacing: 0.125rem;
    }

    section.receitas-sem-imagens .card .card-content {
        flex-direction: column;
        align-items: flex-start;
    }

    section.receitas-sem-imagens .card .card-content .recipe-category {
        width: 100%;
        text-align: start;
    }

    .footer-container {
        max-width: 600px;
        flex-direction: column;
    }

    .recipe-body {
        display: block;
    }

    .recipe-body #recipe-ingredients {
        width: 100%;
        font-size: .8625rem;
        text-align: left;
        color: var(--color-17);
    }

    .recipe-body #recipe-ingredients ul {
        padding-left: 1em;
    }

    .recipe-body #recipe-instructions {
        border-left: none;
        width: 100%;
        padding-left: 0;
    }

    .recipe-body #recipe-instructions .recipe-info .info-column {
        flex-basis: 40%;
    }
}

button#ver-mais {
    background-color: var(--primary-color);
    color: var(--background-color);
    border: 0;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    margin: -1em auto 2em auto;
    text-align: center;
    display: block;
    padding: 0.2em 1.8em;
    font-style: italic;
    cursor: pointer;
    border-radius: 25px;
    box-shadow: rgba(14, 63, 126, 0.04) 0px 0px 0px 1px, rgba(42, 51, 69, 0.04) 0px 1px 1px -0.5px, rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px, rgba(42, 51, 70, 0.04) 0px 6px 6px -3px, rgba(14, 63, 126, 0.04) 0px 12px 12px -6px, rgba(14, 63, 126, 0.04) 0px 24px 24px -12px;
}

.footer-categories span {
    background-color: var(--primary-color);
    color: var(--background-color);
    border: 0;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    text-align: center;
    float: right;
    padding: 0.2em 1.8em;
    font-style: italic;
    cursor: pointer;
    border-radius: 25px;
    box-shadow: rgba(14, 63, 126, 0.04) 0px 0px 0px 1px, rgba(42, 51, 69, 0.04) 0px 1px 1px -0.5px, rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px, rgba(42, 51, 70, 0.04) 0px 6px 6px -3px, rgba(14, 63, 126, 0.04) 0px 12px 12px -6px, rgba(14, 63, 126, 0.04) 0px 24px 24px -12px;
}

.category-related {
    margin-top: 70px;
}

.category-related h2 {
    margin: 2em 0;
    border-bottom: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.recipe-related {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    justify-content: space-evenly;
    align-items: center;
    grid-gap: 20px;
}

.recipe-related .recipe-related-item {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    align-self: flex-start;
    font-size: 0.75em 10.125px;
    align-self: stretch;
    display: flex;
}

.recipe-related .recipe-related-item a {
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    color: var(--primary-color);
    text-decoration: none;
    font-family: 'DM Serif Display', serif;
    display: block;
    background-color: var(--accent-color);
    align-self: stretch;
}

.recipe-related .recipe-related-item a:hover {
    background-color: var(--primary-color);
    color: var(--accent-color);
}

.recipe-related .recipe-related-item a p {
    line-height: 24px;
    text-align: left;
    padding: 0 10px;
}

.recipe-related .recipe-related-item a img {
    width: 100%;
    image-rendering: pixelated;
    height: 75%;
    object-fit: cover;
    object-position: center;
}

.recipe-related .recipe-related-item+.view-all a {
    align-content: center;
    padding: 35px;
}

@media (max-width: 600px) {
    .recipe-related {
        grid-template-columns: 1fr 1fr;
        grid-gap: 10px;
    }
}

#commento-error {
    display: none !important;
}