* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --hsl-brown800: hsl(14, 45%, 36%);
  --hsl-rose50: hsl(330, 100%, 98%);
  --hsl-rose800: hsl(332, 51%, 32%);
  --hsl-stone100: hsl(30, 54%, 90%);
  --hsl-stone150: hsl(30, 18%, 87%);
  --hsl-stone600: hsl(30, 10%, 34%);
  --hsl-stone900: hsl(24, 5%, 18%);
}
body {
  font-size: 16px;
}
h1 {
  font-size: 36px;
  color: var(--hsl-stone900);
  padding-bottom: 1rem;
}
h2 {
  font-size: 30px;
  color: var(--hsl-brown800);
}
h3 {
  font-family: "Outfit";
  font-size: 24px;
  color: var(--hsl-rose800);
  padding-top: 1.5rem;
  padding-left: 1.5rem;
}
h1,
h2 {
  font-family: "Young Serif";
}
hr {
  margin: 0 1rem 1rem 1rem;
  color: var(--hsl-stone150);
  box-shadow: none;
  border: none;
  border-top: 0.5px solid var(--hsl-stone150);
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
p {
  padding-bottom: 1.5rem;
  color: var(--hsl-stone600);
}

p,
td,
ul {
  font-family: "Outfit";
  font-weight: 400;
}
section {
  padding: 0.5rem 1rem 2rem 1rem;
}
table {
  border-collapse: collapse;
  color: var(--hsl-stone600);
}
td {
  border-bottom: 1px solid var(--hsl-stone150);

  padding: 1rem 3rem 1em 2rem;
}
td b {
  color: var(--hsl-brown800);
  padding-right: 2rem;
}

.attribution {
  font-size: 11px;
  text-align: center;
  margin-top: 2rem;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}

.info-container {
  padding: 1rem;
}

.ingredients-container li,
.instructions-container li {
  padding-left: 1.5rem;
  padding-bottom: 1rem;
}
.ingredients-container ul {
  padding-left: 2rem;
  padding-top: 1rem;
  color: var(--hsl-brown800);
}

.instructions-container ul {
  list-style-type: decimal;
  color: var(--hsl-brown800);
  padding-left: 2rem;
  padding-top: 1rem;
  font-weight: bold;
}

.list {
  color: var(--hsl-stone600);
  font-weight: 400;
}
.nutrition-container p {
  padding-right: 1rem;
  padding-top: 1rem;
}
.prep-container {
  background-color: var(--hsl-rose50);
  border-radius: 12px;
}
.prep-container li {
  padding-bottom: 1rem;
  padding-left: 1.5rem;
  text-align: left;
  list-style-position: outside;
}

.prep-container ul {
  list-style: disc;
  padding: 1rem 3rem;
  color: var(--hsl-rose800);
}
.wide-hr {
  margin: 0 1rem 1rem 1rem;
  color: var(--hsl-stone150);
  box-shadow: none;
  border: none;
  border-top: 0.5px solid var(--hsl-stone150);
}

@font-face {
  font-family: "Young Serif";
  src: url(./assets/fonts/young-serif/YoungSerif-Regular.ttf);
  font-weight: 400;
}
@font-face {
  font-family: "Outfit";
  src: url(./assets/fonts/outfit/Outfit-VariableFont_wght.ttf);
}
@media (min-width: 768px) {
  body {
    max-width: 720px;
    margin: 6rem auto;

    background-color: var(--hsl-stone100);
  }

  section,
  .info-container,
  .img-container {
    background-color: white;
  }
  img {
    width: 90%;
    height: auto;
    display: block;
    margin: auto;
    border-radius: 18px;
  }
  .img-container {
    padding-top: 2rem;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
  }

  table {
    width: 100%;
  }

  .info-container {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }
}
