@import url(https://fonts.googleapis.com/css?family=Outfit:100,200,300,regular,500,600,700,800,900);
@import url(https://fonts.googleapis.com/css?family=Young+Serif:regular);

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

body {
  font-family: "Outfit", sans-serif;
  background-color: #f3e6d8;
  color: #333;
  line-height: 1.6;
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

.container {
  max-width: 700px;
  margin: 20px auto;
  padding: 40px;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.recipe-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  margin-bottom: 30px;
}

.recipe-content .recipe-title {
  font-family: "Young Serif", serif;
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #302d2c;
  font-weight: 400;
}

.recipe-content .recipe-description {
  font-size: 0.938em;
  margin-bottom: 30px;
  color: #5f574e;
  font-weight: 400;
}

.recipe-details {
  background-color: #fff5fa;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.recipe-details h2 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #7b284f;
}

.recipe-details p {
  font-size: 1em;
  color: #5f574e;
  margin-bottom: 8px;
  margin-left: 20px;
}

.recipe-details ul {
  margin-left: 25px;
  margin-bottom: 5px;
  color: #7b284f;
}

.recipe-ingredients {
  border-bottom: 1px solid rgba(95, 87, 78, 0.35);
  margin-bottom: 20px;
}

.recipe-ingredients h2 {
  font-size: 2em;
  margin-bottom: 10px;
  color: #854632;
  font-family: "Young Serif", "serif";
  font-weight: 400;
}

.recipe-ingredients p {
  font-size: 1em;
  color: #5f574e;
  margin-bottom: 8px;
  margin-left: 20px;
}

.recipe-ingredients ul {
  list-style-type: square;
  margin-left: 25px;
  margin-bottom: 25px;
  color: #854632;
}

.recipe-instructions {
  border-bottom: 1px solid rgba(95, 87, 78, 0.35);
  margin-bottom: 20px;
}

.recipe-instructions h2 {
  font-size: 2em;
  margin-bottom: 10px;
  color: #854632;
  font-family: "Young Serif", "serif";
  font-weight: 400;
}

.recipe-instructions ol {
  list-style-type: decimal;
  margin-left: 25px;
  margin-bottom: 25px;
  color: #854632;
  font-weight: 700;
}

.recipe-instructions p {
  font-size: 1em;
  color: #5f574e;
  margin-bottom: 8px;
  margin-left: 15px;
  font-weight: 400;
}

.recipe-nutrition h2 {
  font-size: 2em;
  margin-bottom: 10px;
  color: #854632;
  font-family: "Young Serif", "serif";
  font-weight: 400;
}

.recipe-nutrition p {
  font-size: 1em;
  color: #5f574e;
  margin-bottom: 8px;
  font-weight: 400;
}

.nutrition-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  margin-top: 15px;
  margin-left: 20px;
}

.nutrition-table th,
.nutrition-table td {
  padding: 8px;
}

.nutrition-table th {
  color: #5f574e;
  font-weight: 400;
}

.nutrition-table td {
  color: #854632;
  font-weight: 700;
}

.nutrition-table tr:not(:last-child) {
  border-bottom: 1px solid rgba(95, 87, 78, 0.35);
}

@media (max-width: 468px) {
  body {
    display: block;
    line-height: 1.5;
  }
  .container {
    width: 100%;
    max-width: none;
    border-radius: 0px;
    min-height: 100vh;
    margin: 0px;
    box-shadow: none;
    padding: 0px;
  }

  .recipe-image {
    border-radius: 0px;
  }

  .recipe-content {
    padding: 25px;
  }

  .recipe-content .recipe-title {
    font-size: 2.5em;
    line-height: 1.2;
    font-weight: 700;
  }

  .recipe-content .recipe-description {
    font-size: 1.3em;
    line-height: 1.3;
  }

  .recipe-details {
    padding: 40px;
    border-radius: 10px;
  }

  .recipe-ingredients p {
    font-size: 1.2em;
  }

  .recipe-instructions p {
    font-size: 1.2em;
  }

  .recipe-nutrition p {
    font-size: 1.2em;
  }

  .nutrition-table {
    width: 90%;
  }
}
