:root {
  --color-white: hsl(0, 0%, 100%);
  --color-stone-100: hsl(30, 54%, 90%);
  --color-stone-150: hsl(30, 18%, 87%);
  --color-stone-600: hsl(30, 10%, 34%);
  --color-stone-900: hsl(24, 5%, 18%);
  --color-brown-800: hsl(14, 45%, 36%);
  --color-rose-800: hsl(332, 51%, 32%);
  --color-rose-50: hsl(330, 100%, 98%);
}

.text-preset-1 {
  font-family: "Young Serif", serif;
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1;
}

.text-preset-3 {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1;
}

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

img {
  max-width: 100%;
  height: auto;
}

strong {
  font-weight: 700;
}

html {
  background-color: var(--color-stone-100);
  font-size: 1rem;
}

body {
  font-family: "Outfit", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-stone-600);
}

ol {
  list-style-type: decimal;
}

ul {
  list-style-type: disc;
}

ol,
ul {
  padding-left: 1.5rem;
  display: grid;
  row-gap: 8px;
}

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

.recipe {
  background-color: var(--color-white);
}

.recipe__content {
  padding: 2.5rem 2rem;
  display: grid;
  row-gap: 2rem;
}

.recipe__thumbnail {
  width: 100%;
  height: 171px;
  overflow: hidden;
}

.recipe__thumbnail img {
  object-fit: cover;
  height: inherit;
  width: 100%;
}

.recipe__title {
  color: var(--color-stone-900);
}

.recipe__divider {
  border: none;
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--color-stone-150);
  margin: 0;
}

.recipe__description {
  color: var(--color-stone-600);
}

.recipe__section {
  display: grid;
  row-gap: 1.5rem;
}

.recipe__section.prep-time {
  row-gap: 1rem;
  background-color: var(--color-rose-50);
  border-radius: 12px;
  padding: 1.5rem;
  color: var(--color-stone-600);
}

.prep-time__title {
  color: var(--color-rose-800);
}

.prep-time__list li::marker {
  color: var(--color-rose-800);
}

.section-title {
  font-family: "Young Serif", serif;
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--color-brown-800);
}

.ingredients li::marker,
.instructions li::marker {
  color: var(--color-brown-800);
}

.instructions li::marker {
  font-weight: 700;
}

.nutrition-table {
  display: grid;
  row-gap: 0.75rem;
}

.nutrition-table__row {
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1rem;
}

.nutrition-table__value {
  color: var(--color-brown-800);
  font-weight: 700;
}

@media screen and (min-width: 712px) {
  body {
    padding: 0 3rem;
  }

  .recipe {
    max-width: 736px;
    margin: 8rem auto;
    border-radius: 24px;
    overflow: hidden;
    padding: 2.5rem;
    display: grid;
    row-gap: 2.5rem;
  }

  .recipe__content {
    padding: 0;
  }

  .recipe__thumbnail {
    width: auto;
    height: 300px;
    border-radius: 12px;
  }

  .text-preset-1 {
    font-size: 2.5rem;
  }
}
