/*add fonts*/

@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Young+Serif&display=swap");

/*add color variables*/
:root {
  --stone-600: #5f564d;
  --brown-800: #854632;
  --stone-150: #e3ddd7;
  --rose-800: #7a284e;
  --stone-900: #312e2c;
  --stone-100: #f3e5d7;
  --rose-50: #fff7fb;
  --white: #ffffff;
}

body {
  font-family: Outfit;
  color: var(--white);
}

/*format the wrapper: needs color, rounded edges, and width correction. Also needs to be centered*/
#wrapper {
  width: 736px;
  background-color: var(--stone-100);
  margin: 0 auto;
  text-align: center;
  border-radius: 24px;
  padding: 40px;
}

/*format size of the image, add padding, and round edges*/
img {
  border-radius: 12px;
  max-width: 90%;
  margin: 2rem auto;
}
/*format header colors (h2 and h3 are red)*/
h2,
h3 {
  color: var(--rose-800);
  font-weight: bold;
  margin: 0 auto;
}

h1,
h2,
h3 {
  font-family: "Young Serif";
}
h1,
h2,
h3,
p,
li {
  text-align: left;
  margin-left: 2rem;
}

p,
li {
  line-height: 150%;
  font-size: 1.16rem;
}

h1,
p,
li,
td {
  color: #312e2c;
}

li {
  padding: 8px;
}

/*Format background of prep time: add color and rounded edges*/
#preparation {
  background-color: var(--rose-50);
  width: 80%;
  padding: 1rem;
  margin: 0 auto;
  border-radius: 1rem;
}

/*format ingredient list*/
#ingredients {
  margin: 0 auto;
}

/* format instructions*/
#ingredients {
  margin: 0 auto;
}

/*line between rows*/
td {
  border-bottom: 1px solid var(--stone-600);
  padding: 1rem;
}
td:hover {
  background-color: var(--stone-100);
}

/*bold and change color of right column*/

.right-column {
  color: var(--rose-800);
  font-weight: bold;
}
/*padding and margins for table*/
table {
  margin: 0 auto;
  width: 80%;
}

/*format ol numbers to be red*/

ol li {
  font-weight: bold;
  color: var(--rose-800);
}

.recolor {
  color: var(--stone-900);
  font-weight: normal;
}
/*space out li and label for li*/
/*bold spans*/
.bold {
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  #wrapper {
    margin: 2rem auto;
    width: 80%;
  }
}

@media screen and (max-width: 480px) {
  #wrapper {
    width: 100%;
    background-color: var(--white);
  }
}
