* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: 1rem;
}

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

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

@font-face {
  font-family: "Outfit";
  src: url(/recipe-page/assets/fonts/outfit/Outfit-VariableFont_wght.ttf)
    format(truetype);
  font-weight: 100 900;
  font-style: normal;
}

.text-preset-1 {
  font-family: "Young Serif";
  font-weight: 400;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0px;
}

.text-preset-2 {
  font-family: "Young Serif";
  font-weight: 400;
  font-size: 28px;
  line-height: 100%;
  letter-spacing: 0px;
}

.text-preset-3 {
  font-family: "Outfit";
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0px;
}

.text-preset-4 {
  font-family: "Outfit";
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: 0px;
}

.text-preset-4-bold {
  font-family: "Outfit";
  font-weight: 700;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: 0px;
}

body {
  background-color: var(--clr-stone-100);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.recipe-container {
  background-color: white;
  width: 80%;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  padding: 3rem;
}

.omelette-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
}

section {
  margin: 2rem 0rem;
}

section:last-of-type {
  margin: 2rem 0 0 0;
}

hr {
  background-color: hsl(0, 0%, 85%);
  height: 1px;
  border: none;
}

h1 {
  margin-top: 2rem;
}

h2,
h3 {
  color: var(--clr-brown-800);
}

.prep-time-container {
  background-color: var(--clr-rose-50);
  padding: 1rem 1rem 0 1rem;
  border-radius: 10px;
  margin-top: 2rem;
}

section ul {
  padding: 0.8rem 1.5rem;
}

.prep-time-container ul li {
  padding: 0 1rem;
  line-height: 1.8;
}

li {
  color: hsl(0, 0%, 30%);
}

.ingredients-section {
  margin: 0 0 2rem 0;
}
.ingredients-section ul li {
  padding: 0 1rem;
}

section ol {
  padding: 0.8rem 1.5rem;
}

.instructions-section ol li {
  padding: 0 1rem 0.5rem 1rem;
  line-height: 1.2;
}

.instructions-section ol li::marker {
  color: var(--clr-brown-800);
  font-weight: 700;
}

.nutrition-section p {
  margin: 1rem 0;
}

.nutrition-section table {
  border-collapse: collapse;
  width: 100%;
}

.nutrition-section tr {
  border-bottom: 1px solid hsl(0, 0%, 85%);
}

.nutrition-section tr:last-of-type {
  border: none;
}

.nutrition-section td {
  padding: 1rem;
  color: var(--clr-brown-800);
}

@media (max-width: 576px) {
  .recipe-container {
    width: 100%;
    border-radius: 0px;
    padding: 0 0 2rem 0;
  }

  .omelette-img {
    border-radius: 0px;
  }

  h1,
  section {
    padding: 0 2rem;
  }

  hr {
    width: 80%;
    display: block;
    margin: 0 auto;
  }
}
