@import url("./fonts.css");
/* @import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap"); */
/* @import url("https://fonts.googleapis.com/css2?family=Young+Serif&display=swap"); */
: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%);
}

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

body {
  background-color: var(--rose-50);
}

body,
strong {
  font-family: "Outfit", sans-serif;
  width: 100%;
}

h1,
h2,
h4,
h5,
h6 {
  font-family: "Young Serif", sans-serif;
  line-height: 1.1;
  color: var(--brown-800);
  font-weight: 500;
}

p,
li {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--stone-600);
}
li {
  padding-inline-start: 1rem;
}

img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.main-container {
  max-width: 45rem;
  width: 100%;
  margin: 0 auto;
  background-color: var(--white);
}

.container {
  display: flex;
  flex-direction: column;
  margin: 0 1.8rem;
  padding: 2rem 0;
}

.recipe__container p {
  margin-top: 1.5rem;
}

.recipe__container h1 {
  font-size: 2rem;
  color: var(--stone-900);
  font-weight: 700;
}

.preapretion__container {
  padding: 1.5rem;
  gap: 0.8rem;
  background-color: var(--rose-50);
  border-radius: 1rem;
}

.preapretion__container h3 {
  color: var(--rose-800);
  font-size: 1.5rem;
}

.preapretion__times {
  margin-left: 2.5rem;
}

.preapretion__times li {
  margin-top: 0.6rem;
}
.preapretion__times li::marker {
  color: var(--rose-800);
  margin-right: 0.8rem;
}

.ingredients__container,
.instructions__container,
.nutrition__container {
  gap: 0.8rem;
}

.instructions__container {
  border-block: 1px solid var(--stone-100);
}

.ingredients__list,
.instructions__list {
  margin-left: 1rem;
}

.ingredients__list li,
.instructions__list li {
  margin-top: 0.6rem;
}

.ingredients__list li::marker,
.instructions__list li::marker {
  color: var(--brown-800);
}

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

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

.nutrition__table tr {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 0.6rem 1.6rem;
  border-bottom: 1px solid var(--stone-100);
}

.nutrition__table tr td:nth-child(2) {
  color: var(--brown-800);
  font-weight: 700;
}

@media (width >= 47.9125em) {
  .main-container {
    margin-block: 8rem;
    border-radius: 1.5rem;
  }
  .container {
    margin: 0 2.5rem;
  }
  .image-recipe {
    padding: 2.5rem 2.5rem 0 2.5rem;
  }
  img {
    border-radius: 1rem;
  }
}
