:root {
  --White: hsl(0, 0%, 100%);
  --Stone-100: hsl(30, 54%, 90%);
  --Stone-150: hsl(30, 18%, 87%);
  --Stone-600: hsl(30, 10%, 34%);
  --Stone-900: hsl(24, 5%, 18%);
  --Brown-800: hsl(14, 45%, 36%);
  --Rose-800: hsl(332, 51%, 32%);
  --Rose-50: hsl(330, 100%, 98%);
  --youg-serf: "Young Serif", serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Outfit", sans-serif;
  color: var(--Stone-600);
  background-color: var(--Stone-100);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
h1,
h3 {
  font-family: var(--youg-serf);
  margin: 15px 0;
  line-height: 1;
  letter-spacing: 1px;
  font-weight: 500;
}
h3 {
  color: var(--Brown-800);
}
hr {
  border: none;
  border-bottom: 1px solid var(--Stone-150);
}
ul,
ol {
  padding: 10px;
  li {
    margin: 10px;
    padding-left: 15px;
  }
}
.section {
  margin: 30px 0 20px;
}
.container {
  width: 375px;
  margin: 0 auto;
  background-color: var(--White);
}
.container img {
  width: 375px;
  display: block;
  margin: 0 auto;
}
.content {
  margin: 0 auto;
  padding: 10px 30px;
  h1 {
    color: var(--Stone-900);
  }
  .discription {
    margin: 16px auto;
    line-height: 1.5;
  }
}
.prep-time {
  padding: 20px;
  background-color: var(--Rose-50);
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  .prep-title {
    color: var(--Rose-800);
    font-weight: bold;
  }
  li {
    &::marker {
      color: var(--Rose-800);
    }
    span {
      font-weight: bold;
    }
  }
}
.instructions {
  li {
    line-height: 1.5;
    &::marker {
      font-variant-numeric: inherit;
      color: var(--Brown-800);
      font-weight: 600;
    }
    span {
      font-weight: bold;
    }
  }
}
.nutrition {
  .table-details {
    line-height: 1.5;
  }
  .table {
    padding: 20px;
    > div {
      padding: 15px 25px;
      display: flex;
      justify-content: space-between;
      span.value {
        flex-basis: 50%;
        color: var(--Brown-800);
        font-weight: bold;
      }
    }
    > div:not(:last-child) {
      border-bottom: 1px solid var(--Stone-150);
    }
    > div:last-child {
      padding-bottom: 0;
    }
  }
}
.attribution {
  font-size: 11px;
  text-align: center;
  padding: 10px;
  a {
    color: var(--Brown-800);
    text-decoration: none;
    font-weight: bold;
  }
}
/* add @media queries to large screens */
@media (min-width: 376px) {
  .container {
    width: 720px;
    padding: 30px 0;
    margin: 80px auto;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
  }
  .container > img {
    width: 660px;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
  }
}
