:root {
  /* Colors */
  --clr-White: hsl(0, 0%, 100%);

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

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

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

  /* Fonts */
  --ff-Young-Serif: "Young Serif", serif;
  --ff-Outfit: "Outfit", sans-serif;

  --fw-regular: 400;
  --fw-bold: 500;
  --fw-bolder: 700;

  /* Space */
  --space-small: 2rem;

  /* Layout
The designs were created to the following widths:
- Mobile: 375px
- Desktop: 1440px
 */
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  font-size: 62.5%;
  box-sizing: border-box;
}

body {
  font-size: 1.6rem;
  background-color: var(--clr-Stone-100);
  color: var(--clr-Stone-900);
  font-family: var(--ff-Outfit);
  line-height: 1.5;
}

.main-container {
  margin: 10rem auto;
  padding: 4rem;
  width: 55%;
  background-color: var(--clr-White);
  display: flex;
  flex-direction: column;
  gap: 3rem;
  border-radius: 2rem;
}

/* HEADER SECTION */
.header__img {
  max-width: 100%;
  margin-bottom: 2rem;
  border-radius: 2rem;
}

.mobile__img {
  display: none;
}

.header__heading {
  margin-bottom: 2rem;
  font-family: var(--ff-Young-Serif);
  font-size: 3.7rem;
  font-weight: var(--fw-regular);
  color: var(--clr-Stone-900);
}

/* PREPARATION SECTION */
.preparation-section {
  padding: 2rem;
  line-height: 2;
  background-color: rgba(225, 43, 128, 0.04);
  border-radius: 0.5rem;
}
.preparation-section__heading {
  font-size: 2rem;
  margin-left: 1.7rem;
  color: var(--clr-Rose-800);
}

.preparation-section__list {
  margin-left: 4rem;
}

.preparation-section__list span {
  margin-left: 2rem;
  font-weight: var(--fw-bold);
}

.preparation-section__list-item::marker {
  color: var(--clr-Rose-800);
}

/* INGREDIENTS  + INSTRUCTIONS*/
.ingredients-section,
.instructions-section {
  line-height: 2;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--clr-Stone-600);
}

.ingredients-section__heading,
.instructions-section__heading,
.nutrition-section__heading {
  font-size: 3.2rem;
  font-family: var(--ff-Young-Serif);
  color: var(--clr-Brown-800);
  font-weight: var(--fw-regular);
}

.ingredients-section__list,
.instructions-section__list {
  margin-left: 2rem;
}
.ingredients-section__list-item::marker,
.instructions-section__list-item::marker {
  color: var(--clr-Brown-800);
  font-weight: bolder;
}

/* INSTRUCTIONS +  NUTRITION*/
.instructions-section {
  line-height: 1.5;
}

.instructions-section__heading,
.nutrition-section__heading {
  margin-bottom: 2rem;
}

.instructions-section__list > *:not(:last-child) {
  margin-bottom: 1.2rem;
}
.instructions-section__list-item span {
  font-weight: var(--fw-bold);
}

/* NUTRITION */
.nutrition-section__paragraph {
  margin-bottom: 1rem;
}
.nutrition-section__table {
  width: 100%;
  border-collapse: collapse;
}

.nutrition-section__table td {
  border-bottom: 1px solid var(--clr-Stone-600);
  padding: 1rem;
}

.nutrition-section__table td:last-child {
  color: var(--clr-Brown-800);
  font-weight: var(--fw-bold);
}

/* ARRTRIBUTION */
.attribution {
  text-align: center;
}
.attribution a {
  color: hsl(228, 45%, 44%);
  text-decoration: none;
}

@media (max-width: 481px) {
  .main-container {
    width: 100%;
    margin: 0;
    border-radius: 0;
  }

  .header__img {
    display: none;
  }

  .header__heading {
    font-size: 3rem;
  }

  .mobile__img {
    display: block;
    width: 100%;
  }
}
