:root {
  --font-young-serif: 400 20px "Young Serif", serif;
  --font-outfit: 400 16px "Outfit", sans-serif;
  --font-outfit-bold: 700 18px "Outfit", sans-serif;
  --font-outfit-semi-bold: 600 16px "Outfit", sans-serif;
}

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

body {
  min-height: 100vh;
  font-size: 16px;
  background-color: hsl(30, 54%, 90%);
  display: flex;
  color: hsl(24, 5%, 18%);
}

.recipe {
  max-width: 700px;
  margin: 80px auto;
  padding: 30px;
  background-color: white;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.recipe img {
  width: 100%;
  border-radius: 10px;
}

@media (max-width: 375px) {
  .recipe {
    margin: 0;
    padding: 0 30px 30px 30px;
  }

  .recipe img {
    margin-left: -30px;
    margin-right: -30px;
    width: calc(100% + 60px);
    border-radius: 0;
    min-width: 375px;
  }
}

h1 {
  font: var(--font-young-serif);
  font-size: 40px;
  font-weight: bold;
}

h2 {
  font: var(--font-young-serif);
  font-size: 30px;
  font-weight: bold;
  color: hsl(14, 45%, 36%);
  margin-bottom: 16px;
}

p {
  font: var(--font-outfit);
  color: hsl(30, 10%, 34%);
}

strong {
  font: var(--font-outfit-semi-bold);
}

.preparation {
  padding: 20px;
  background-color: hsl(332, 51%, 98%);
}

.preparation__title {
  font: var(--font-outfit-bold);
  color: hsl(332, 51%, 32%);
  margin-bottom: 16px;
}

ul,
ol {
  color: hsl(14, 45%, 36%);
  font: var(--font-outfit-semi-bold);
  padding-left: 24px;
}

li {
  padding-left: 10px;
  margin-bottom: 16px;
}

table {
  margin-top: 16px;
  width: 100%;
  border-collapse: collapse;
}

td {
  padding: 10px 0 10px 20px;
  font: var(--font-outfit);
  color: hsl(30, 10%, 34%);
}

td:last-of-type {
  color: hsl(14, 45%, 36%);
  font: var(--font-outfit-semi-bold);
}

tr:not(:last-child) > td {
  border-bottom: 1px solid hsl(30, 10%, 34%);
}
