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

@import url("https://fonts.googleapis.com/css2?family=Young+Serif&family=Outfit:wght@400;500&display=swap");
@font-face {
  font-family: "Outfit";
  src: url("./fonts/outfit/static/Outfit-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Outfit";
  src: url("./fonts/outfit/static/Outfit-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Outfit";
  src: url("./fonts/outfit/static/Outfit-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: "Outfit";
  src: url("./fonts/outfit/static/Outfit-ExtraBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

h1,
h2,
h3 {
  font-family: "Young Serif", serif;
  color: hsl(24, 5%, 18%);
}

body,
p {
  font-family: "Outfit", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  color: hsl(30, 10%, 34%);
  font-size: 1rem;
}

section {
  /* border: 2px solid hsl(30, 10%, 34%); */
  background-color: hsl(30, 54%, 90%);
  border-radius: 1rem;
  min-height: 100vh;
  margin: 0;
  /* padding: 0 12rem; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.container {
  /* border: 2px solid hsl(30, 10%, 34%); */
  margin: 5rem 0 5rem 0;
  background-color: hsl(0, 0%, 100%);
  border-radius: 1rem;
  max-width: 730px;
}
.recipe {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  /* border: 2px solid hsl(30, 10%, 34%); */
}
img {
  width: 100%;
  height: auto;
  /* max-width: 500px; */
  border-radius: 1rem;
}

.omlet {
  /* border: 2px solid hsl(30, 10%, 34%); */
  /* padding: 2rem; */
  margin-bottom: 1rem;
}

.omlet h1 {
  font-size: 2rem;
  font-weight: 400;
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-family: "Young Serif", serif;
  color: hsl(24, 5%, 18%);
}

.omlet p {
  margin-bottom: 2rem;
  color: hsl(30, 10%, 34%);
  font-size: 1rem;
}

.pre {
  background-color: hsl(330, 100%, 98%);
  /* color: white; */
  /* border: 2px solid hsl(30, 10%, 34%); */
  padding: 2rem;
  border-radius: 0.9rem;
  font-size: 1rem;
  margin-bottom: 2rem;
  /* margin-left: 2rem; */
}

#prep {
  color: hsl(332, 51%, 32%);
  font-family: "Outfit", sans-serif;
  font-weight: 700; /* Using SemiBold weight */
  font-size: 20px;
  /* margin-left: 0.4rem; */
  /* border: 2px solid hsl(30, 10%, 34%); */
  /* font-size: 1.5rem;
  margin-bottom: 1rem; */
}

.pre ul {
  /* border: 2px solid hsl(30, 10%, 34%); */
  margin-left: 0.5rem;
  line-height: 2rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  /* padding-left: 0.8rem; */
  list-style-position: outside;
}
.pre ul li {
  position: relative;
  padding-left: 1.3rem;
}
.pre ul li::marker {
  /* font-size: 1.5em; */
  color: hsl(332, 51%, 32%);
  /* margin-left: 0.75em; */
  content: "•"; /* Explicit bullet point */
  font-size: 1.2em; /* Slightly larger marker */
}
.ingre {
  /* border: 2px solid hsl(30, 10%, 34%); */
  margin: 2rem 0 2rem 0;
}
.ingre h2 {
  color: hsl(14, 45%, 36%);
  margin: 1rem 0 1rem 0;
  font-family: "Young Serif", serif;
  font-weight: 200;
}

.ingre ul {
  /* border: 2px solid hsl(30, 10%, 34%); */
  margin-left: 0;
  line-height: 2rem;
  padding-left: 0.8rem;
  list-style-position: outside;
}
.ingre ul li {
  /* border: 2px solid hsl(30, 10%, 34%); */
  padding-left: 1.3rem;
  position: relative;
}
.ingre ul li::marker {
  /* font-size: 6em; */
  color: hsl(332, 51%, 32%);
  content: "•"; /* Explicit bullet point */
  font-size: 1.2em; /* Slightly larger marker */
}

hr {
  border: none;
  border-top: 1px solid hsl(30, 18%, 87%);
}

.instruct {
  /* border: 2px solid hsl(30, 10%, 34%); */
  margin: 2rem 0 2rem 0;
}

.instruct h2 {
  color: hsl(14, 45%, 36%);
  margin: 1rem 0 1rem 0;
  font-family: "Young Serif", serif;
  font-weight: 200;
}

.instruct ol {
  /* border: 2px solid hsl(30, 10%, 34%); */
  margin-left: 0.7rem;

  /* line-height: 2rem; */
  padding-left: 0.8rem;
  list-style-position: outside;
}

.instruct ol li {
  /* border: 2px solid hsl(30, 10%, 34%); */
  padding-left: 0.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.instruct ol li::marker {
  /* font-size: 6em; */
  color: hsl(14, 45%, 36%);
  font-weight: 700;
  /* content: "•"; Explicit bullet point */
  font-size: 1em; /* Slightly larger marker */
}

#nutrition {
  color: hsl(14, 45%, 36%);
  margin: 1rem 0 1rem 0;
  font-family: "Young Serif", serif;
  font-weight: 200;
}

.nutri {
  margin-bottom: 1rem;
  font-weight: 200;
}

table {
  /* border: 2px solid hsl(30, 10%, 34%); */

  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1rem;
}

table tr td {
  padding: 0.6em 2em;
}
table tr:not(:last-child) {
  border-bottom: 1px solid hsl(30, 18%, 87%);
}

table tr td:nth-child(2) {
  width: 50%;
  font-weight: 700;
  color: hsl(14, 45%, 36%);
}

@media screen and (max-width: 768px) {
  .container {
    margin: 0 1rem;
    padding: 0 1rem;
  }
  .recipe {
    padding: 1rem;
  }
  .omlet h1 {
    font-size: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }
  .omlet p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 480px) {
  .container {
    margin: 0 0.5rem;
    padding: 0 0.5rem;
  }
  .recipe {
    padding: 0.5rem;
  }
  .omlet h1 {
    font-size: 1.2rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }
  .omlet p {
    margin-bottom: 1rem;
    font-size: 0.8rem;
  }
}
