@import url('https://fonts.googleapis.com/css2?family=Teko:wght@600&display=swap');

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

body {
    background: #1F1517;
    color: #FFFFFF;
}

html {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

nav {
    max-width: 1120px;
    margin: auto;
    padding: 1.5rem 10rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Teko';
    font-size: 2rem;
    font-weight: 600;
    text-transform: uppercase;
}

.menu {
    list-style: none;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    gap: 1.5rem;
    color: #FFF2E780;
    margin: 0;
    padding: 0;
}

.menu li {
    display: inline;
    margin-right: 1.25rem;
}

.menu a {
    text-decoration: none;
    color: #FFF2E7;
    font-size: 1rem;
}

.Github {
    color: #FFF2E7;
    font-weight: 600;
}

main {
    display: flex;
    flex-direction: column;
}

.principal {
    background: #181012;
}

.hero {
    background: #181012;
    max-width: 1120px;
    height: 60vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 6rem;
    padding: 0rem 2rem;
    margin: auto;
    overflow: clip;
}

.hero-conteudo {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.destaque {
    font-family: 'Epilogue';
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
}

.marrom {
    color: #a45a49;
}

.amarelo {
    color: #E7A80E;
}

h1 {
    color: #FFF;
    font-family: 'Montserrat';
    font-size: 3.5rem;
    font-style: normal;
    font-weight: 700;
    padding-left: 20px;
}

p {
    padding-left: 20px;
}


hr {
    border-color: #a45a49;
}

.hero-sub {
    color: #C7BAB3;
    font-family: 'Inter';
    font-size: 1.5rem;
    font-weight: 400;
}

.hero-image-cont {
    max-width: 45%;
    column-count: 4;
    column-gap: 2rem;
    margin: -1rem;
}

.hero-image-cont > figure > img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

#detalhes-receita {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background-color:#181012 ;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#ingredientes-receita {
    list-style-type: none; 
    padding: 0;
    margin-bottom: 2rem;
}

#titulo-receita {
    margin-bottom: 0.5rem;
    font-size: 2rem;
    font-weight: 700;
    text-align:left;

}

#subtitulo-ingredientes {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: left;
}

#subtitulo-ingredientes {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem; 
    text-align: left;
}

#ingredientes-receita {
    list-style-type: none;
    padding: 0;
    margin-top: 1rem;
    margin-bottom: 2rem; 
}

#ingredientes-receita li {
    display: flex;
    align-items: center;
    background-color:#a45a49;
    padding: 0.5rem;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #FFF2E7;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
    max-width: 500px;
    margin-right: auto;
}

.receitas-card {
    margin-bottom: 15px;
}

#subtitulo-ingredientes {
    margin-top: 10px;
    margin-bottom: 5px;
}

#ingredientes-receita li::before {
    content: '✓'; 
    color: #E7A80E;
    font-weight: bold;
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    #ingredientes-receita li {
        font-size: 0.9rem; 
    }
}

#modo-preparo-receita {
    margin-top: 0.5rem;
    font-size: 1rem;
    line-height: 1.5;
    text-align: justify;

}


@media (max-width: 768px) {
    #detalhes-receita {
        padding: 1rem;
    }

    #ingredientes-receita li {
        font-size: 0.9rem;
        max-width: 100%;
    }

    #titulo-receita {
        font-size: 1.5rem;
    }
}

.receitas-card-container-novidades {
    display: flex;
    flex-wrap: wrap; 
    gap: 20px; 
    justify-content: center; 
    padding: 20px;
    margin-top: 20px;
}


.receitas-card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    width: 300px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    
}

.receitas-card:hover {
    transform: scale(1.05); 

}


.card-cabecalho {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}


.receita-titulo {
    font-size: 1.5rem;
    margin: 0;
}

.receita-avaliacao {
    margin-right: auto;
    font-size: 1rem;
    color: #f39c12; 
}


#subtitulo-ingredientes, h3 {
    font-size: 1.2rem;
    margin-top: 15px;
    
}


#ingredientes-receita {
    margin-right: auto;
    list-style-type: disc;
    padding-left: 20px;
    
}


@media (max-width: 768px) {
    .receitas-card {
        width: 100%; 
    }
}


#voltar {
    margin-top: 1rem;
    display: flrx;
    text-align: center;
    font-size: 1rem;
    color: #FFF2E7;
    padding: 0.8rem 1.5rem;
    border: none;
    align-items: center;
    width: 3rem;
    padding: 0,5;
    border-radius: 0.5rem; }

   

@media (max-width: 768px) {
    #detalhes-receita {
        padding: 1rem;
    }

    #ingredientes-receita li {
        font-size: 0.9rem;
        max-width: 100%;
    }

    #titulo-receita {
        font-size: 1.5rem;
    }
}

.menu li {
    display: inline;
}

.hero {
    padding: 3rem 0;
    text-align: inter;
}

.hero-conteudo {
    margin-bottom: 2rem;
}


.botao-container {
    text-align: center;
    margin-top: 2rem;
}

.botao-container {
   width: 100%;
   max-width: 1120px; 
   margin: auto;
   display: flex;
   justify-content:center; 
   padding: 1rem 0; 
}

button {
   border: none;
   padding: 0.5rem; 
   border-radius: 0.5rem;
   background-color: #a45a49; 
   display: flex;
   justify-content: center;
   align-items: center;
   width: 3rem;
   height: 3rem;
}

button img {
   width: 1.5rem; 
   height: 1.5rem; 
}


.receitas {
    display: flex;
    flex-direction: column;
    max-width: 1120px;
    padding: 3rem 2rem;
    margin: auto;
}

.receita-cabecalho {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.receita-titulo {
    font-family: 'Montserrat';
    font-size: 2rem;
    font-weight: 700;
    color: #FFF2E7;
}

.receitas-card {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px; 
    padding-left: 5;
    margin: 5px;
    width: 500px; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 14px; 
    overflow: hidden; 
}


.receita-subtitulo {
    color: #C7BAB3;
    font-family: 'Inter';
    font-size: 1rem;
    font-weight: 400;
}

.receitas-card-container {
    padding: 0rem 10rem;
    grid-template-columns: repeat(2, 1fr);
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

@media (max-width: 768px) {
    .receitas-card-container {
        grid-template-columns: 1fr; 
        padding: 0rem 2rem;
    }
}

.receitas-card {
    background: #241A1C;
    padding: 2rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex:1 0 30%;
    margin-top: 2rem;
    max-width: 500px;
}

.receitas-card:hover {
    transform: scale(1.05);   
}

@media (max-width: 768px) {
    .receitas-card-container {
        padding: 0rem 2rem; 
    }
    
    .receitas-card {
        flex-basis: calc(100% - 2rem); 
        margin-top: 1rem; 
    }
}


.card-cabecalho {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
}

.card-cabecalho-detalhes {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.receita-titulo {
    color: #FFF2E7;
    font-family: 'Montserrat';
    font-size: 1.5rem;
    font-weight: 700;
}

.receita-avaliacao {
    color: #756A67;
    font-family: 'Inter';
    font-size: 1rem;
    font-weight: 500;
}

.receita-descricao {
    color: #C7BAB3;
    font-family: 'Inter';
    font-size: 1rem;
    font-weight: 400;
}

.receita-autor {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.receita-autor > img {
    border-radius: 20rem;
    width: 1.5rem;
}

.receita-autor-nome {
    color: #C7BAB3;
    font-family: 'Inter';
    font-size: 1rem;
    font-weight: 600;
}

.receita-card {
    padding: 2rem;
    border-radius: 0.5rem;
    flex: 1 0 300px;
    margin: 1rem;
    max-width: 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background: #241A1C;
}

footer {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: #23181A;
}

.footer-copy {
    color: #FFF2E7;
    font-family: 'Inter';
    font-size: 1rem;
    font-weight: 500;
}

.footer-autor {
    color: #FFF2E7;
    font-family: 'Inter';
    font-size: 1rem;
    font-weight: 500;
}