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

@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/outfit/Outfit-VariableFont_wght.ttf") format("truetype");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

*:not(dialog) {
  margin: 0;
  padding: 0;
}

img {
  display: block;
  max-width: 100%;
}

body {
  display: grid;
  place-items: center;
  min-height: 100vh;
  font-family: "Outfit";
  line-height: 1.5;
  font-weight: 400;
  font-size: 16px;
  background-color: hsl(30, 54%, 90%);
}

.container {
  max-width: 540px;
    background-color: white;

}

.container .content {
    color: hsl(30, 10%, 34%);
    padding: 32px;
}

h1.title {
  color: black;
}

.content .description {
    margin: 16px 0;
}

.content h1.title, h2.title {
    font-family: "Young Serif";
}

.section .content li {
  padding-left: 24px;
}

.section .content li::marker {
  color: hsl(14, 45%, 36%);
  font-weight: bold;
}

h2.title {
    color: hsl(14, 45%, 36%)
}

.card--preparation {
    border-radius: 8px;
    padding: 20px;
    background-color: hsl(330, 100%, 98%);
}

.card--preparation .title {
    color: hsl(332, 51%, 32%);
}

.card--preparation ul {
    padding-left: 24px;
}

.card--preparation li {
    padding: 0 16px;
    margin-top: 8px;
}

.section {
  margin: 24px 0;
  border-top: 1px solid  hsl(30, 18%, 87%);
}

.section .title {
  padding-top: 34px;
}

.nutrition-card {
  display: flex;
}

.nutrition-card .values {
  font-weight: bold;
  color: hsl(14, 45%, 36%);
}

.labels, .values {
  width: 50%;
}

.labels p, .values p {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid hsl(30, 18%, 87%);
}

.labels p {
  padding-left: 32px;
}

@media (min-width: 1024px) {
  .container {
    border-radius: 16px;
    margin-top: 40px;
    max-width: 740px;
    padding: 20px;
    padding-bottom: 0;
  }

  .container .content {
    padding-left: 0;
    padding-bottom: 0;
  }

  .header img {
    border-radius: 12px;
  }

  .section .content ul, .section .content ol {
    padding-inline-start: 32px;
  }
}