@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@font-face {
    font-family: 'young';
    src: url('assets/fonts/young-serif/YoungSerif-Regular.ttf') format('truetype');
}

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

html, body{
    background-color: white;
    background-color: #F3E5D8;
    font-family: 'outfit';
    display: flex;
    align-items: center;
    justify-content: center;
}

.line{
    border-bottom: 1px solid #ccc;
    padding-top: 20px;
}

.img{
    background: url('assets/images/image-omelette.jpeg') no-repeat center center;
    background-size: cover;
    height: 250px;
}

main{
    width: 97vw;
    max-width: 750px;
    background-color: white;
}

.container{
    padding: 25px;
}

h1, h2{
    font-family: 'young', serif;
    font-weight: normal;
}

h1{
    font-size: 2.5em;
    color: #2A2824;
}

h2{
    color: #784426;
    font-size: 2em;
    padding: 20px 0;
}

.container > p, .nutrition p{
    padding: 20px 0;
    color: #474747;
}

.time{
    background-color: #FFF7FC;
    border-radius: 10px;
    padding: 20px;
    color: #474747;
}

.time h3{
    color: #6B2945;
}

.time ul{
    padding: 30px;
}

.time ul li::marker{
    color: #6B2945;
}

li{
    padding: 10px;
}

.ingredients ul{
    padding-left: 30px ;
    color: #474747;
}

.ingredients li::marker{
    color: #784426;
}

.instructions ol{
    counter-reset: list-counter; /* Define um contador */
    list-style: none; /* Remove os números padrão */
    padding-left: 15px;
    color: #474747;
}

.instructions ol li{
    counter-increment: list-counter; /* Incrementa o contador */
    position: relative;
    padding-left: 30px; /* Espaço para o número */
    margin-bottom: 10px;

}

.instructions ol li::before {
    content: counter(list-counter) "."; /* Exibe o número gerado */
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #784426; /* Altere para a cor desejada */
}


table{
    border-collapse: collapse;
    width: 100%;
    color: #474747;
}

tr{
    border-bottom: 1px solid #ccc;
}

td{
    padding: 10px;
}

td:nth-child(even){
    color: #784426;
    font-weight: bold;
}