:root {
  /* colors */
  --white: hsl(0, 0%, 100%);
  --stone-100: hsl(30, 54%, 90%);
  --stone-150: hsl(0, 0%, 88%);
  --stone-600: hsl(30, 10%, 34%);
  --stone-900: hsl(24, 5%, 18%);
  --brown-800: hsl(14, 45%, 36%);
  --rose-800: hsl(336, 39%, 33%);
  --rose-50: hsl(330, 100%, 98%);

  /* font-size */
  --fs-small: 0.90rem;
  --fs-smedium: 1.2rem;
  --fs-medium: 1.6rem;
  --fs-large: 2rem;

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

  /* font-weight */
  --fw-400: 400;
  --fw-600: 600;
  --fw-700: 700;
}

/* css reset */

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

img {
  display: block;
  max-width: 100%;
  border: 0;
}

/* || GENERAL STYLES */

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: var(--ff-outfit-sans-serif);
  font-size: var(--fs-small);
  line-height: 1.5;
  padding: 1.25rem;
  background: var(--stone-100);
  color: var(--stone-600);
}

h1 {
  font-family: var(--ff-young-serif);
  font-weight: var(--fw-700);
  font-size: var(--fs-large);
  margin-block-end: 1rem; 
  color: var(--stone-900); 
}

h2 {
  font-family: var(--ff-young-serif);
  font-weight: var(--fw-400);
  font-size: var(--fs-medium);
  margin-block-start: 1.2rem;
  margin-block-end: 1rem;
  color: var(--brown-800);
}

p {
  margin-bottom: 2rem;
}

ul,
ol {
  padding-left: 1.4rem;
}

li {
  padding-left: .7rem;
  margin-bottom: .5rem;
}

li::marker {
  color: var(--brown-800);
  font-weight: var(--fw-700);
}


.wrapper {
  max-width: 40.625rem;
  margin-inline: auto;
  margin-block-start: 3rem;
  margin-block-end: 3rem;
  background: var(--white);
  border-radius: 1.5rem;
}
.container {
  padding: 2rem;
}

/* || UTILITY CLASSES */

.header {
  padding: 2rem 2rem 0 2rem;
}

.header-image {
  border-radius: .5rem;
}

.recipe-callout {  
  padding: 1.3rem;
  background: var(--rose-50);
  border-radius: 0.5rem;
}

.recipe-callout-header {
  font-weight: var(--fw-600);
  font-size: var(--fs-smedium);
  color: var(--rose-800);
  margin-block-end: .5rem;
}

hr {
  margin-top: 2rem;
  border: 0;
  border-top: 1px solid var(--stone-150);
}

.nutrition-table {
  display: grid;
  grid-template-rows: repeat(4) 1fr;
  grid-template-columns: 1fr 1fr;
  column-gap: 0;
  row-gap: 1rem;
}

.nutrition-table > * {
  border-bottom: 1px solid var(--stone-150);
  padding-left: 2rem;
}

.nutrition-table div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.nutrition-table div:nth-child(even) {
  color: var(--brown-800);
  font-weight: var(--fw-600);
}

/* media queries */

@media (max-width: 50em) {
  .header {
    padding: 0;
  }

  .header-image {
    border-radius: 0.5rem 0.5rem 0 0;
  }
}











