:root {
    --white: hsl(0, 0%, 100%);
    --rose-white: hsl(330, 100%, 98%);
    --eggshell: hsl(30, 54%, 90%);
    --light-grey: hsl(30, 18%, 87%);
    --wenge-brown: hsl(30, 10%, 34%);
    --dark-charcoal: hsl(24, 5%, 18%);
    --nutmeg: hsl(14, 45%, 36%);
    --dark-raspberry: hsl(332, 51%, 32%);
}

h1, h2 {
  font-family: "Young Serif", serif;
  font-weight: 400;
  font-style: normal;
}

p, li {
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}


@media  (max-width: 375px) {
  body {
    margin: 0;
    width: 311px;
    height: 2043px;
  }

  #white-box {
    width: 100%;
    height: 100%;
    margin: 0;
  }
  
  #img-div {
    width: 375px;
    height: 171px;
    margin: 0;
    padding: 0;
    border-radius: 12px;
  }

  img {
    object-fit: fill;
    max-width: 100%;
    max-height: 100%;
  }

  #text-section {
    width: 311px;
    height: 1792px;
    margin: 40px 32px 40px 32px;
  }

  #initial-info {
    width: 311px;
    height: 216px;
    margin-bottom: 32px;
  }

  h1 {
    font-size: 36px;
    width: 311px;
    height: 72px;
    margin-top: 0;
    margin-bottom: 24px;
    padding-bottom: 20px;
    color: var(--dark-charcoal);
  }

  #header-p {
    width: 311px;
    height: 120px;
    margin-top: 12px;
    color: var(--wenge-brown);
    font-size: 16px;
  }

  #pink-div {
    width: 263px;
    height: 148px;
    padding: 24px;
    background-color: var(--rose-white);
    border-radius: 12px;
  }

  #pink-div h2 {
    color: var(--dark-raspberry);
    font-family: "Outfit", sans-serif;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 16px;
    margin-top: 0;
    width: 263px;
  }

  #prep-order {
    color: var(--wenge-brown);
    width: 239px;
    height: 112px;
    padding: 0;
    margin-bottom: 0;
  }

  #pink-div #prep-order li {
    margin-top: 8px;
    margin-bottom: 8px;
    margin-left: 16px;
    width: 239px;
    font-size: 16px;
   }

   #pink-div #prep-order li:first-of-type {
    margin-top: 0;
   }

   #pink-div #prep-order li:last-of-type {
    margin-bottom: 0;
   }

  li {
    padding-left: 16px;
    margin-top: 8px;
    margin-bottom: 8px;
    color: var(--wenge-brown);
   }

   li::marker {
    color: var(--dark-raspberry);
    font-weight: bold;
    padding-left: 8px;
    width: 16px;
    height: 4px;
   }

   h2 {
    color: var(--dark-raspberry);
    font-weight: 400;
   }

   #ingredients {
    border-bottom: 1px solid var(--light-grey);
    padding-bottom: 32px;
   }

   #ingredients h2 {
    margin-top: 32px;
    margin-bottom: 24px;
   }

   .other {
    margin-top: 0;
    margin-bottom: 0;
  }

   ol {
    padding-right: 16px;
    padding-left: 24px;
   }

   ol:nth-of-type(3) {
    padding-left: 0;
   }

   #instructions {
    border-bottom: 1px solid var(--light-grey);
    padding-bottom: 32px;   
  }

  #instructions h2 {
    margin-top: 32px;
    margin-bottom: 24px;
  }


  #instructions ol {
    margin-top: 0;
    margin-bottom: 0;
  }

   #instructions  ol  li {
     margin-top: 8px;
     margin-bottom: 8px;
   }

   #instructions  ol  li:first-of-type {
    margin-top: 0;
   }

   #instructions  ol  li:last-of-type {
    margin-bottom: 0;
   }

   #nutrition-heading {
    margin-top: 32px;
    margin-bottom: 24px;
   }

   #nutri-p {
    color: var(--wenge-brown);
    height: 48px;
    width: 311px;
    margin: 0;
    padding: 0;
   }

   #grid-div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 311px;
    height: 168;
    margin-top: 24px;
   }

   #grid-div p {
    border-bottom: 1px solid var(--light-grey);
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 32px;
    padding-right: 32px;
    font-size: 18px;
    color: var(--wenge-brown);
   }

   #grid-div p:first-of-type {
    padding-top: 0;
   }

   #grid-div p:last-of-type {
    padding-bottom: 0;
    border-bottom: none;
   }

   .div-col {
     padding: 0;
     margin: 0;
   }
 
   #bold-col  p {
    color: var(--dark-raspberry);
    font-weight: bold;
   }

   .first-p {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
   }
}
 


@media  (min-width: 375px) {
   body {
    background-color: var(--eggshell);
    width: 90vw;
    display: flex;
    justify-content: center;
    padding: 120px 0 120px 40px;
   }
   
    #white-box {
    background-color: var(--white);
    border-radius: 24px;
    padding: 40px;
    width: 736px;
    height: 1628px;
   }
 
   #img-div {
    border-radius: 12px;
    overflow: hidden;
   }

  img {
    border-radius: 12px;
  }

   #text-section {
    margin-top: 35px;
   }

   h1 {
    font-size: 36px;
    margin-bottom: 24px;
    margin-top: auto;
    color: var(--dark-charcoal);
   }

   #header-p {
    margin-top: 32px;
    margin-bottom: 32px;
    color: var(--wenge-brown);
   }

   #pink-div {
    background-color: var(--rose-white);
    color: var(--dark-raspberry); 
    padding: 28px;
    border-radius: 12px;
    width: 600px;
    height: 124px;
   }

   #pink-div h2 {
    font-family: 'Outfit';
    font-weight: bold;
    font-size: 25px;
    margin-top: 0;
    margin-bottom: 16px;
   }

   #pink-div li {
    font-size: 16px;
   }

   #prep-order {
    color: var(--wenge-brown);
   }

   .other {
    padding-right: 16px;
    padding-left: 24px;

   }

   h2 {
    color: var(--dark-raspberry);
    font-weight: 400;
    margin-top: 32px;
   }

   li {
    padding-left: 20px;
    margin-top: 8px;
    margin-bottom: 8px;
    color: var(--wenge-brown);
    font-size: 16px;
   }

   li::marker {
    color: var(--dark-raspberry);
    font-weight: bold;
    padding-right: 32px;
   }

   #ingredients {
    border-bottom: 1px solid var(--light-grey);
    padding-bottom: 25px;
    margin-top: 32px;
   }

   ol {
    padding-right: 16px;
    padding-left: 24px;
   }

   ol:nth-of-type(3) {
    padding-left: 0;
   }

   #instructions {
    border-bottom: 1px solid var(--light-grey);
    padding-bottom: 25px;
   }

   #instructions  ol  li {
     margin-top: 8px;
     margin-bottom: 8px;
   }

   #nutri-p {
    color: var(--wenge-brown);
    width: 656px;
    height: 24px;
   }
   
   #grid-div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 736px;
    height: 168px;
    margin-top: 24px;
   }

   #grid-div p {
    border-bottom: 1px solid var(--light-grey);
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 32px;
    padding-right: 32px;
    font-size: 18px;
    color: var(--wenge-brown);
    margin: 0;
   }

   #grid-div p:first-of-type {
    padding-top: 0;
   }

   #grid-div p:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
   }
 
   #bold-col  p {
    color: var(--dark-raspberry);
    font-weight: bold;
   }

   .first-p {
    margin-bottom: none;
   }
   
}
