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

:root {
  /* colors */
  --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%);
  --clr-White: hsl(0, 0%, 100%);

  /* spacing */
  --space-32: 2rem;
  --space-24: 1.5rem;
  --space-16: 1rem;
  --space-14: 0.875em;
  --space-12: 0.75em;
  --space-4: 0.25em;

  /* radius */
  --radius-12: 0.8rem;
  --radius-4: 0.25rem;

  /* fonts */
  --ff-young-serif: "Young Serif", serif;
  --ff-outfit-serif: "Outfit", sans-serif;

  --fw-light: 400;
  --fw-medium: 600;
  --fw-x-bold: 800;

  --fs-8: 0.5rem;
  --fs-13: 0.8125rem;
  --fs-14: 0.875rem;
  --fs-16: 1rem;
  --fs-20: 1.5rem;
}
body {
  background-color: var(--clr-Stone-100);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--space-24);
  min-height: 100vh;
}
.main {
  display: flex;
  flex-direction: column;
  padding: var(--space-16);
  background-color: var(--clr-White);
  border-radius: var(--radius-12);
  max-width: 23rem;
  width: 100%;
  line-height: 1rem;
  font-size: var(--fs-8);
  color: var(--clr-Stone-600);
  gap: 0.9rem;
}

.Omelette-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-12);
  object-fit: cover;
}
.recipe-overview {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  line-height: 1rem;
      font-size: var(--fs-8);
}
h1,
h2 {
  font-family: var(--ff-young-serif);
}

h1 {
  font-size: var(--fs-20);
  color: var(--clr-Stone-900);
}
h2 {
  color: var(--clr-Brown-800);
  font-size: var(--fs-16);
  font-weight: var(--fw-light);
}
h3 {
  font-family: var(--ff-outfit-serif);
}
p {
  font-family: var(--ff-outfit-serif);
  line-height: 1.6;
  color: var(--clr-Stone-600);
}
hr {
  border: none;
  border-bottom: 0.1rem solid var(--clr-Stone-150);
}
.preparation-time {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--clr-Rose-50);
  padding: var(--space-14);
  border-radius: var(--radius-4);
  font-family: var(--ff-outfit-serif);
}
.preparation-time h3 {
  color: var(--clr-Rose-800);
}
ul {
  list-style-position: inside;
  font-family: var(--ff-outfit-serif);
}
.preparation-time li::marker {
  color: var(--clr-Rose-800);
}
.ingredients h2 {
  margin-bottom: 0.9rem;
}
.ingredients ul li {
  list-style-type: square;
}
.ingredients ul li::marker {
  color: var(--clr-Brown-800);
}
ol {
  list-style-type: decimal;
  list-style-position: inside;
  font-family: var(--ff-outfit-serif);
}
ol li::marker {
  color: var(--clr-Brown-800);
  font-weight: var(--fw-x-bold);
}

.Nutrition-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-14);
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-16);
}
.label {
  font-weight: var(--fw-medium);
  width: 50%;
  min-width: 100px;
}
.value {
  font-weight: 800;
  color: var(--clr-Brown-800);
  padding-left: var(--space-16);
}
@media (max-width: 480px) {
  body {
    background-color: var(--clr-White);
    padding: 0;
    margin: 0;
  }

  .main {
    max-width: none;
    width: 100vw;
    padding: 0;
    min-height: 100vh;
    border-radius: 0;
  }
  .Omelette-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0; /* Remove rounded corners on mobile */
  }
  .recipe-overview{
    padding: var(--space-16);
  }
}
