@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700&family=Young+Serif&display=swap");
/**************COLORS**************/
/**************FONT PRESET MIXINS**************/
/*Browser resets*/
*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body,
main {
  font-family: "Outfit", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 0rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #f3e6d8;
  color: #5f574e;
  min-height: 100vh;
}

.recipe-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 1.25rem;
  margin: 6.25rem 0rem;
  padding: 2rem;
  max-width: 44rem;
  width: 100%;
}
.recipe-card .ingredients .subheadings,
.recipe-card .instructions .subheadings,
.recipe-card .nutrition .subheadings {
  font-family: "Young Serif", serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0rem;
  color: #854632;
  margin-top: 1.5rem;
}
.recipe-card .prep-time ul,
.recipe-card .prep-time ol,
.recipe-card .ingredients ul,
.recipe-card .ingredients ol,
.recipe-card .instructions ul,
.recipe-card .instructions ol {
  margin-top: 1rem;
  margin-left: 1.25rem;
}
.recipe-card .prep-time li,
.recipe-card .ingredients li,
.recipe-card .instructions li {
  padding: 0.25rem 0.25rem 0.25rem 0.875rem;
}
.recipe-card .ingredients,
.recipe-card .instructions {
  border-bottom: 0.063rem solid #e4ded8;
  border-width: thin;
  padding-bottom: 1.5rem;
}
.recipe-card header img {
  display: block;
  border-radius: 0.625rem;
  width: 100%;
  max-height: 18.75rem;
}
.recipe-card header h1 {
  color: #302d2c;
  font-family: "Young Serif", serif;
  font-size: 1.875rem;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0rem;
  margin: 1.5rem 0 0 0;
}
.recipe-card header p {
  margin: 1.5rem 0;
}
.recipe-card .prep-time {
  background-color: #fff5fa;
  border-radius: 0.625rem;
  padding: 1.5rem;
}
.recipe-card .prep-time h2 {
  font-family: "Outfit", Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0rem;
  color: #7b284f;
}
.recipe-card .prep-time li::marker {
  color: #7b284f;
}
.recipe-card .ingredients li::marker {
  color: #854632;
}
.recipe-card .instructions li::marker {
  font-family: "Outfit", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0rem;
  color: #854632;
}
.recipe-card .nutrition p,
.recipe-card .nutrition table {
  margin-top: 1.5rem;
}
.recipe-card .nutrition table {
  width: 100%;
  border-collapse: collapse; /*  Ensures borders don't double up. */
}
.recipe-card .nutrition tr:last-child td {
  border-bottom: none; /* Removes border from the last row */
}
.recipe-card .nutrition tr td {
  padding: 0.625rem;
  border-bottom: 0.063rem solid #e4ded8; /* Only adds horizontal lines */
}
.recipe-card .nutrition tr td:first-child {
  padding-left: 1.875rem;
  width: 50%;
}
.recipe-card .nutrition tr td:last-child {
  font-family: "Outfit", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0rem;
  color: #854632;
}
@media (max-width: 48rem) {
  .recipe-card {
    margin: 3rem 0rem;
  }
}
@media (max-width: 25rem) {
  .recipe-card {
    margin: 0;
    padding: 0;
  }
  .recipe-card header h1 {
    margin: 1.5rem 2rem 0;
  }
  .recipe-card header p {
    margin: 1.5rem 2rem;
  }
  .recipe-card .prep-time,
  .recipe-card .ingredients,
  .recipe-card .instructions,
  .recipe-card .nutrition {
    margin: 0 2rem;
  }
  .recipe-card .nutrition table {
    margin-bottom: 2rem;
  }
}

.attribution {
  font-size: 0.75rem;
  text-align: center;
}
.attribution .link {
  color: #0033ff;
}
.attribution .link:hover {
  transition: color 0.3s ease-in-out;
  color: #7b284f;
}
.attribution .link:focus {
  outline: 0.125rem solid #7b284f;
}/*# sourceMappingURL=index.css.map */