@import url('https://fonts.googleapis.com/css2?family=Epilogue:wght@500&family=Inter:wght@400;500;600&family=Montserrat:wght@700;800&family=Roboto:wght@700&family=Teko:wght@600&display=swap');

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

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

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

ul {
    list-style: none;
}

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

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

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

.menu {
    display:flex;
    flex-direction: row;
    gap: 1.5rem;
}

.menu a {
    color:#FFF2E780;
    text-decoration: none;
}

.github {
    text-decoration: none;
    color: #FFF2E7;
    font-weight: 600;
}

.main__content1 {
    background: #181012;
}

.hero {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    min-width: 1120px;
    height: 60vh;
    gap: 6rem;

    padding: 2rem 4rem;
    margin: auto;
    overflow: clip;
}

.hero--content {
    display: flex;
    flex-direction: column;
    width: 30rem;
    height: 16rem;
    gap: 1rem;
}

.emphasis {
    font-family: Epilogue, sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
}

.marrom {
    color: #A45A49;
}

h1 {
    font-family: Montserrat;
    font-size: 3.5rem;
    font-weight: 800;
}

hr {
    border-color: #A45A49;
}

.amarelo {
    color: #E7A80E;
}

.hero--subtitle {
    color: #C7BAB3;
    font-family: Inter;
    font-size: 1.25rem;
    font-weight: 400;
}
.hero--imagens {
    position: static;
    column-count: 4;
    column-gap: 1.5rem;
    margin: -1;
}

.hero--imagens > figure > img {
    width: 100%;
}

.btn__container {
    width: 100%;
    max-width: 1120px;
    margin: auto;
    transform: translate('0, -50%');
}

.btn {
    border: none;
    padding: 1rem;
    border-radius: 0.5rem;
    background: #A45A49;
}

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

.recipes--header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.recipes--title {
    font-family: Montserrat;
    font-size: 2rem;
    font-weight: 700;
    color: #FFF2E7;
}

.recipes--subtitle {
    font-family: Inter;
    font-size: 1rem;
    font-weight: 400;
    color: #C7BAB3;
}

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

.recipes--card {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex-basis: 29rem;
    background: #241A1C;
    padding: 2rem;
    border-radius: 0.5rem;
    margin-top: 2rem;
}

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

.recipes--card--header--details {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    gap: 0.5rem;
}

.recipe--rate {
    font-family: Inter;
    font-size: 1rem;
    font-weight: 500;
    color: #756A67;
}

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

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

.author--avatar {
    border-radius: 20rem;
    width: 1.5rem;
}

.author--name {
    font-family: Inter;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
}

.loading--container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading--btn {
    font-family: Inter;
    font-size: 1rem;
    font-weight: 400;
    border-radius: 1rem;
    border: none;
    padding: 1rem 1rem;
    color: #FFF2E7;
    background: #A45A49;
}

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

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

.footer--author {
    color: #FFF2E780;
    font-family: Inter;
    font-size: 1rem;
    font-weight: 500;
}