@font-face {
  font-family: "Young Serif";
  src: url("assets/fonts/young-serif/YoungSerif-Regular.ttf");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/outfit/Outfit-VariableFont_wght.ttf");
  font-weight: normal;
  font-style: normal;
}

:root {
  --white: hsl(0, 0%, 100%);
  --stone100: hsl(30, 54%, 90%);
  --stone150: hsl(30, 18%, 87%);
  --stone600: hsl(30, 10%, 34%);
  --stone900: hsl(24, 5%, 18%);
  --brown800: hsl(14, 45%, 36%);
  --rose800: hsl(332, 51%, 32%);
  --rose50: hsl(330, 100%, 98%);
}

body {
  font-family: "Outfit", sans-serif;
  background-color: var(--stone100);
  display: flex;
  flex-direction: column;
  color: var(--stone600);
  height: 100vh;
}

main {
  margin: auto;
  background-color: var(--white);
}

.container {
  padding: 40px 32px;
}

.container h1 {
  font-family: "Young Serif", sans-serif;
  font-weight: 700;
  color: var(--stone900);
  margin-bottom: 24px;
}

.prep {
  margin-top: 24px;
  padding: 24px;
  border-radius: 12px;
  background-color: var(--rose50);
}

li {
  padding-left: 16px;
}

li::marker {
  color: var(--brown800);
}

ol li::marker {
  font-weight: 700;
}

.prep h3 {
  font-size: 1.25rem;
  color: var(--rose800);
}

section {
  margin: 32px 0;
}

section h2 {
  font-family: "Young Serif", sans-serif;
  color: var(--brown800);
  font-weight: 600;
  margin-bottom: 24px;
}

hr {
  background-color: var(--stone150);
  height: 1px;
  border: 0 none;
}

section:last-child,
tr:last-child {
  margin-bottom: 0;
}

section:last-child p {
  margin-bottom: 12px;
}

table {
  table-layout: fixed;
  width: 100%;
}

tr {
  margin: 12px 0;
}

tr:last-child td {
  border-bottom: 0;
}

td {
  padding: 12px 0;
  border-bottom: 1px solid var(--stone150);
}

td:first-child {
  padding: 0 32px;
}

td:last-child {
  color: var(--brown800);
  font-weight: 700;
}

@media (min-width: 375px) {
  main {
    max-width: 616px;
    padding: 40px;
    border-radius: 24px;
  }

  .container {
    padding: 40px 0 0;
  }

  header img {
    width: 100%;
    border-radius: 12px;
  }
}

@media (min-width: 768px) {
  main {
    max-width: 736px;
  }
}
