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

@font-face {
  font-family: 'Outfit';
  src: url('./assets/fonts/outfit/Outfit-VariableFont_wght.ttf')
    format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Young Serif';
  src: url('./assets/fonts/young-serif/YoungSerif-Regular.ttf')
    format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  line-height: 150%;
  background-color: #f3e5d7;
  color: #5f564d;
  padding: 120px;
  height: 100%;
}

h1,
h2 {
  font-family: 'Young Serif', sans-serif;
}
.container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 40px;
  gap: 40px;
  max-width: 740px;
  width: 100%;
  height: auto;
  border-radius: 24px;
  background-color: #ffffff;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.section-heading {
  color: #854632;
  font-size: 28px;
  font-weight: 400;
}

.section-content {
  font-size: 16px;
  color: #5f564d;
  font-weight: 400;
  line-height: 150%;
}

.section-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  border-radius: 12px;
  gap: 24px;
  max-width: 656px;
  width: 100%;
}

.flex-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
}

.flex-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding-left: 8px;
}

.bullet {
  display: flex;
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  background-color: #7a284e;
  border-radius: 50%;
  margin-right: 12px;
}

.number {
  display: flex;
  align-self: flex-start;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
  color: #854632;
  width: 16px;
  height: 24px;
  line-height: 150%;
}

.line {
  width: 100%;
  height: 1px;
  background-color: #e3ddd7;
}

img {
  max-width: 656px;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

figure {
  margin: 0;
  padding: 0;
  line-height: 0;
}

.title-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 32px;
  max-width: 656px;
  width: 100%;
  height: auto;
}

.title-content h1 {
  font-size: 40px;
  color: #312e2c;
  font-weight: 400;
  margin-bottom: 24px;
  line-height: 1;
}

.preparation {
  padding: 24px;
  gap: 16px;
  background-color: #fff7fb;
}

.preparation h3 {
  font-size: 20px;
  font-weight: 700;
  color: #7a284e;
}

.ing-bullet {
  color: #854632;
}

.nutrition-table {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.nutrition-row {
  display: grid;
  grid-template-columns: 1fr 1fr; /* precisely splits labels and values into equal columns */
  padding: 12px 32px;
}

.nutrition-row .label {
  color: #5f564d;
  font-weight: 400;
}

.nutrition-row .value {
  color: #854632;
  font-weight: 700;
}

@media (max-width: 600px) {
  body {
    padding: 0;
    background-color: #ffffff;
  }

  .container {
    padding: 0 24px 24px 24px;
    border-radius: 0;
    box-shadow: none;
  }

  figure {
    margin: 0 -24px;
    width: calc(100% + 48px);
  }

  img {
    width: 100%;
    border-radius: 0;
  }

  .title-content h1 {
    font-size: 32px;
  }

  .section-heading {
    font-size: 24px;
  }

  .nutrition-row {
    padding: 12px 0;
  }

  .line {
    margin: 0;
  }
}
