@import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Outfit:wght@100..900&family=Young+Serif&display=swap");

/* Basic CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: var(--font-family2);
  background-color: var(--stone-100);
  color: var(--stone-600);
  /* padding-block: 4rem; */
}

/* Root Variables */
:root {
  --white: hsl(0, 0%, 100%);

  --stone-100: hsl(30, 54%, 90%);
  --stone-150: hsl(30, 18%, 87%);
  --stone-600: hsl(30, 10%, 34%);
  --stone-900: hsl(24, 5%, 18%);

  --brown-800: hsl(14, 45%, 36%);

  --rose-800: hsl(332, 51%, 32%);
  --rose-50: hsl(330, 100%, 98%);

  --font-family1: "Young Serif", serif;
  --font-family2: "Outfit", serif;
  --font-size: 1rem;
}

.container {
  padding: 2rem;
  background-color: var(--white);
  border-radius: 1rem;
  max-width: 1000px;
  margin: 6rem auto;
}

ol li::marker,
ul li::marker {
  font-weight: bold;
  color: var(--brown-800);
}

header img {
  width: 100%;
  height: auto;
  margin-bottom: 2rem;
  border-radius: 0.5rem;
}

header p {
  line-height: 1.35;
}

header h1 {
  font-family: var(--font-family1);
  font-size: 2rem;
  color: var(--stone-900);
  margin-bottom: 1rem;
}

.preparation {
  padding: 2rem;
  background-color: var(--rose-50);
  border-radius: 1rem;
  margin-top: 2rem;
}

.preparation p {
  font-size: 1.25rem;
  color: var(--rose-800);
  margin-bottom: 1rem;
  font-weight: 600;
}

span {
  color: var(--stone-600);
  font-weight: 700;
}

ul,
ol {
  margin-left: 1rem;
  padding-left: 0.6rem;
}

li {
  padding-left: 0.6rem;
  margin-block: 1rem;
}

.preparation ul li:last-child {
  margin-bottom: unset;
}

section {
  margin-block: 2rem;
}

h2 {
  font-family: var(--font-family1);
  font-size: 1.5rem;
  color: var(--brown-800);
  margin-bottom: 1rem;
}

.ingredients ul li {
  margin-block: 1rem;
}

.nutrition-flex {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 1rem;
}

.nutrition-flex .row {
  display: flex;
  justify-content: space-between;
  border-bottom: 0.8px solid #ddd;
  padding: 1rem 1.5rem;
}

.label {
  flex: 1;
  font-weight: normal;
}

.value {
  flex: 1;
  display: block;
  font-weight: bold;
  text-align: left;
  color: var(--brown-800);
}

@media screen and (max-width: 400px) {
  .container {
    margin: unset;
    padding: unset;
    padding-bottom: 1rem;
    border-radius: unset;
  }

  header > *:not(img) {
    padding-inline: 1.5rem;
  }

  header img {
    border-radius: unset;
  }

  main {
    padding-inline: 1.5rem;
  }
}
