/* fonts */
@font-face {
    font-family: YoungSerif;
    font-weight:400;
    src: url(./assets/fonts/young-serif/YoungSerif-Regular.ttf);
}

@font-face {
    font-family: Outfit;
    font-weight: 400 600 700;
    src: url(./assets/fonts/outfit/Outfit-VariableFont_wght.ttf);
}

body {
    font-size: 16px;
    font-family: Outfit;
    background-color: hsl(30, 54%, 90%);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

section {
    margin: 0.2vw 0;
}

img {
    display: flex;
    width: 100%;
    border-radius: 1vw;
}

h1, h2 {
    font-family: YoungSerif;
}

h1 {
    color:hsl(24, 5%, 18%);
    font-size: 2.5em;
    margin: 2vw 1vw 0 0;
}

h2 {
    color: hsl(14, 45%, 36%);
    padding-top: 0;
    margin-top: 0;
    font-size: 1.7em;
}

h3 {
    color: hsl(332, 51%, 32%);
    padding: 0;
}

p {
    color: hsl(30, 10%, 34%);
}

ul {
    padding: 0 1.5vw;
}

ol {
    padding: 0 1.5vw;
}

li {
    padding: 0.5vw;
    color: hsl(30, 10%, 34%);
}

table{
    color: hsl(30, 10%, 34%);
    border-collapse: collapse;
    width: 100%;
    text-align: left;
}

tr {
    padding: 0.5vw;
    width: 100%;
}

th {
    font-weight: normal;
    padding: 0.7vw;
}

/* classes */
.container {
    margin: 0 auto;
    background-color: hsl(0, 0%, 100%);
    border-radius: 2vw;
    width: 37vw;
    padding: 3vw;
    margin: 5vw;
}

.prep-time {
    padding: 0 1.5vw;
    background-color: hsl(330, 100%, 98%);
    border-radius: 0.5vw;
}

.image {
    min-width: 0;
}

.tbl-label {
    font-weight: normal;
    padding-left: 1.5vw;
    padding-right: 0;
}

.tbl-info {
    color: hsl(14, 45%, 36%);
    font-weight: bold;
}

.row {
    border-bottom: 1px solid hsl(30, 18%, 87%);
}

/* attributes */
#ingredients {
    margin-top: 1vw;
}

#instructions, #ingredients {
    border-bottom: 1px solid hsl(30, 18%, 87%);
}

#ingredients-list {
    list-style-type: square;
}

#ingredients-list li::marker {
    color: hsl(14, 45%, 36%);
}

#instructions-list li::marker {
    color: hsl(14, 45%, 36%);
    font-weight: bold;
}