:root {
  --Stone100: hsl(30, 54%, 90%);
  --Stone150: hsl(30, 18%, 87%);
  --Stone600: hsl(30, 10%, 34%);
  --Stone900: hsl(24, 5%, 18%);

  --Brown800: hsl(14, 45%, 36%);

  --Rose800: hsl(332, 51%, 32%);
  --Rose50: hsl(330, 100%, 98%);
}

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

body {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--Stone100);
  font-family: "Outfit", sans-serif;
  color: var(--Stone600);
  -webkil-smoothing: antialiased;
}

li::marker {
  color: var(--Brown800);
  font-size: 0.8rem;
}

h2 {
  font-size: 1.8rem;
  color: var(--Brown800);
  font-family: "Young Serif", serif;
  font-weight: 400;
}

hr {
  border-top: 1px solid var(--Stone100);
}

.container {
  margin: 0;
  background-color: white;
  padding: 0;
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  justify-content: center;
  max-width: 25rem;
}

.recipe-container {
  display: flex;
  flex-direction: column;
  margin-inline: 1.8rem;
}

.recipe-img {
  min-width: 20rem;
}

.image {
  max-height: 100%;
  max-width: 100%;
}

.recipe-info {
  margin: 2rem 0;
}

.recipe-info > h1 {
  font-family: "Young Serif", serif;
  font-weight: 400;
  color: var(--Stone900);
  line-height: 2rem;
  font-size: 2rem;

}

.description {
  margin-top: 1rem;
  line-height: 1.5rem;
}

.recipe-prep {
  margin-top: 1rem;
  padding-left: 1rem;
  padding-top: 1rem;
  background-color: var(--Rose50);
  border-radius: 20px;
  border: none;
}

.recipe-prep > h3 {
  color: var(--Rose800);
}

.recipe-prep > ul {
  padding: 1rem 3rem 1rem 2rem;
  line-height: 2rem;
}

.recipe-prep li::marker {
  color: var(--Rose800);
}

.recipe-prep li span {
  color: var(--Stone600);
  font-weight: 400;
}

.recipe-prep strong {
  font-weight: 800;
  color: var(--Stone600);
}

.recipe-ingredients {
  margin: 1rem 0 0.5rem 0;
}

.recipe-ingredients > ul {
  padding: 0rem 0 1rem 1.5rem;
  line-height: 2rem;
}

.recipe-ingredients li {
  padding-left: 20px;
}

.recipe-instructions {
  margin: 1rem 0;
}

.recipe-instructions ol {
  padding: 0rem 0 1rem 1.5rem;
  line-height: 2rem;
}

.recipe-instructions li {
  padding-left: 20px;
}

.recipe-instructions li::marker {
  font-weight: 800;
  font-family: "Outfit", sans-serif;
}

.recipe-nutrition,
h2,
table {
  margin: 0.8rem 0;
}

.recipe-nutrition table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  margin-bottom: 1rem;
}

.recipe-nutrition tr,
.recipe-nutrition th {
  font-weight: 400;
  padding: 0.5rem 0 0.5rem 1rem;
}

.recipe-nutrition tr {
  border-bottom: 1px solid var(--Stone100);
}

.recipe-nutrition tr:last-child {
  border-bottom: none;
}

.recipe-nutrition td {
  color: var(--Brown800);
}

.attribution {
  margin: 3rem 0;
  font-size: 16px;
  text-align: center;
}
.attribution a {
  color: var(--Rose800);
  text-decoration: none;
  font-style: italic;
  font-weight: 800;
}

/* Responsive for tablet*/
@media (min-width: 768px) {
  .container {
    max-width: 40rem;
  }
}

/* Responsive for desktop*/

@media (min-width: 1024px) {
  .container {
    margin-top: 10rem;
    max-width: 50rem;
    padding: 3rem;
  }
  .image {
    border-radius: 1.2rem;
  }
}

@media (min-width: 1440px) {
  .container {
    max-width: 50rem;
    padding: 3rem;
  }
  .image {
    border-radius: 1.2rem;
  }

  .recipe-container {
    margin-inline: 0rem;
  }

  .description {
    margin-top: 2rem;
  }
  .recipe-info h1 {
    font-size: 2.5rem;
  }
}
