@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Young+Serif&display=swap");
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: hsl(30, 54%, 90%);
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: hsl(24, 5%, 18%);
}
.wrapper{
  width: 100%;
    max-width: 740px;
    margin: 7rem auto;
}
h1,
h2,
h3 {
  font-family: "Young Serif", serif;
}

p,
ul,
li,
a,
td,
tr {
  color: hsl(30, 10%, 34%);
  font-size: 14px;
}

li {
  margin-left: 1rem;
}

ul,
ol {
  list-style-position: outside;
  text-indent: 10px;
}
hr {
  display: block;
  border: none;
  height: 1px;
  margin-block: 20px;
  background-color: #0003;
}
.recipe__list-item {
  line-height: 2;
}

.recipe__text--bold {
  font-weight: 700;
  margin-inline: 0rem 0.3rem;
}
.recipe__section-title {
  color: hsl(14, 45%, 36%);
  margin-block: 0 0.6rem;
  font-weight: 500;
}

.recipe {
  background-color: hsl(0, 0%, 100%);
  padding: 2rem;
  border-radius: 22px;
}
.recipe__img img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 22px;
}
.recipe__header {
  margin-block: 1.5rem;
  
}
.recipe__header .recipe__title {
  color: hsl(0, 0%, 0%);
  font-weight: 500;
}
.recipe__header p {
  margin-block: 0.7rem 0;
  line-height: 1.7;
}

.recipe__prep-time {
  background-color: hsl(330, 100%, 98%);
  padding: 1.7rem;
  border-radius: 12px;
  margin-block: 1rem;
}
.recipe__prep-time .recipe__list-item::marker {
  color: hsl(332, 51%, 32%);
}
.recipe__section-title-prep {
  color: hsl(332, 51%, 32%);
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  margin-block: 0 0.4rem;
}
.recipe__step{
  line-height: 2;
}

.recipe__instructions .recipe__step {
  padding-block: 0 0.6rem;
}
.recipe__nutrition .recipe__description {
  margin-block: 0 0.5rem;
}
.table-con {
  padding: 2rem 0;
}
.recipe__nutrition-table {
  width: 100%;
  border-collapse: collapse;
}
.recipe__nutrition-row .recipe__text--bold {
  color: hsl(14, 45%, 36%);
}
.recipe__nutrition-row {
  border-bottom: 1px solid #ccc;
}

.recipe__nutrition-header,
.recipe__nutrition-data {
  padding: 10px;
  text-align: left;
}
@media (max-width: 900px) {
  .wrapper {
    width: 100%;
    max-width: 500px;
    margin: 7rem auto;
  }
}
@media (max-width: 600px) {
  body {
    min-height: 100vh;
    display: block;
  }
  .wrapper{
    margin:0;
    max-width: 100%;
  }
  .recipe {
    padding: 0;
    margin: 0;
    border-radius: 0;
  }

  .recipe__content-main {
    padding: 1rem 2.5rem;
  }
  .recipe__img img {
    display: block;
    padding: 0;
    margin: 0;
    width: 100%;
    border-radius: 0;
  }
  .recipe__header .recipe__title {
    font-size: 1.5rem;
  }
}
