@charset "UTF-8";

@font-face {
    font-family: Outfit;
    src: url(assets/fonts/outfit/Outfit-VariableFont_wght.ttf);
}
@font-face {
    font-family: young-serif;
    src: url(assets/fonts/young-serif/YoungSerif-Regular.ttf);
}

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

body {
    background-color: hsl(30, 54%, 90%);
}
#container {
    margin: auto;
    max-width: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    min-height: 100vh;
    padding: 40px 0px;
}
#card {
    padding: 30px;
    border-radius: 15px;
    max-width: 80%;
    max-height: auto;
    background-color: white;
}
img {
    border-radius: 10px;
    width: 100%;
    height: auto;
}
h1 {
    margin: 20px 0px;
    font-family: young-serif, serif;
    font-weight: 400;
}
hr {
    margin-top: 20px;
    border-color: rgba(128, 128, 128, 0.247);
}
h2 {
    margin: 20px 0px;
    color: hsl(14, 45%, 36%);
    font-family: young-serif, serif;
    font-weight: 500;
    font-size: 1.7em;
}
p {
    font-family: Outfit;
    color: hsla(32, 10%, 34%, 0.89);
    font-weight: 400;
    font-size: 15px;
    text-align: justify;
    margin: 20px 0px;
}
div.preparationtime h3 {
    color: hsl(332, 74%, 39%);
    margin-bottom: 10px;
    font-size: 1.4em;
}
div.preparationtime {
    background-color: hsla(332, 51%, 32%, 0.068);
    padding: 30px;
    border-radius: 10px;
    font-family: Outfit, sans-serif;
    margin-bottom: 10px;
}
.list{
    font-family: Outfit, sans-serif;
    color: hsl(30, 10%, 34%);
    margin-left: 22px;
    line-height: 1.8em;
    font-size: 1.1em;
    font-weight: 400;
    text-indent: 20px;
}
#instructions {
    text-indent: 0px;
}
#instructions li {
    padding-left: 20px;
}
#instructions li::marker {
    color: hsl(14, 45%, 36%);
    font-weight: bold;
}

.nutrition {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    font-family: Outfit, sans-serif;
}

.nutrition li {
    display: flex;
    justify-content: space-between;
    padding: 10px 50px;
    border-bottom: 1px solid #ddd;
}

.n1 {
    font-weight: 600;
    color: hsl(30, 10%, 34%);
}

.n2 {
    font-weight: 800;
    color: hsl(14, 45%, 36%);
    
}
