@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Young+Serif&display=swap");

: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%);

  --font-outfit: "Outfit", sans-serif;
  --font-young-serif: "Young Serif", serif;
}

*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-outfit);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-stone-600);
  background-color: var(--color-stone-100);
}

h1 {
  font-family: var(--font-young-serif);
  font-weight: 400;
  color: var(--color-stone-900);
}

h2 {
  font-family: var(--font-young-serif);
  font-weight: 400;
  color: var(--color-brown-800);
  margin-bottom: 16px;
}
h3 {
  font-family: var(--font-outfit);
  font-weight: 600;
  color: var(--color-rose-800);
}

li::marker {
  color: var(--color-brown-800);
  font-weight: 600;
}

.text-accent {
  font-weight: 600;
}

.border-bottom {
  border-bottom: 1px solid var(--color-stone-150);
}

.wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100svh;
}

.recipe-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 736px;
  margin-top: 128px;
  margin-bottom: 40px;
  background-color: var(--color-white);
  border-radius: 20px;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-img {
  width: 100%;
  object-fit: cover;
  padding: 40px;
}

.hero-img > img {
  display: inline-block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.recipe-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 40px;
}

.recipe-highilights {
  background-color: var(--color-rose-50);
  padding: 16px 24px;
  border-radius: 10px;
}

.recipe-details {
  padding-bottom: 24px;
}

.recipe-hightlights-list,
.recipe-details-list {
  padding: 0 16px;
  margin-top: 8px;
}

.recipe-hightlights-list > li,
.recipe-details-list > li {
  padding: 0 16px;

}

.recipe-details-values {
  list-style: none;
}

.recipe-details-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 16px 24px;
}

@media screen and (max-width: 640px) {
  .recipe-container {
    width: 100%;
    min-height: 100svh;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
    border-radius: 0;
  }

  .hero-img {
    padding: 0;
  }
  .hero-img > img {
    border-radius: 0;
  }
  .recipe-content {
    padding: 40px;
  }
}
