body {
  padding: 2rem 4rem;
  margin-left: auto;
  margin-right: auto;
  align-content: center;
  background-color: #F6F0E5;
}

/* header{
  position: sticky;
  top: 0;
  background-color: white;
} */

nav {
  padding-bottom: 2rem;
}

nav ul{
  list-style: none;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  font-family: "fieldwork-hum", sans-serif;
  font-weight: 400;
  font-style: normal;
  align-items: right;
}

h1 {
  font-family: "fieldwork", sans-serif;
  font-weight: 700;
  font-style: normal;
  color: #393C2C;
}

h2 {
    font-family: "fieldwork", sans-serif;
    font-weight: 700;
    font-style: normal;
}

h3 {
  font-family: "fieldwork-hum", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1em;
}

p {
  font-family: "fieldwork-hum", sans-serif;
  font-weight: 400;
  font-style: normal;
}

ul{
  font-family: "fieldwork-hum", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.ingredients-nutrition{
  display: flex;
  align-items: flex-start;
  gap: 0px 20px;
}

.ingredients-nutrition div{
  flex: 1;
}

#ingredients ul {
  font-size: 1.2rem;
  list-style: none;
  padding: 0;
}

#ingredients li {
  margin-bottom: 0.7rem;
}

#ingredients label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

#ingredients input[type="checkbox"] {
  accent-color: #737B4B;
}

#nutrition p{
  line-height: 1.5rem;
}

ol {
  font-family: "fieldwork-hum", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.2rem;
}

ol li{
  margin-bottom: 12px;
}
.recipe-intro{
  padding-bottom: 2rem;
}
.content-column {
  display: flex;
  gap: 2rem;
  width: 100%;
  align-items: stretch;
}

.content-column div{
  flex: 1;
}

.content-column img {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#introduction {
  padding-bottom: 1rem;
}

.servings-time {
  display: flex;
  align-items: flex-start;
  gap: 0px 20px;
}

.content-column #servings {
  background-color: #737b4b8a;
  display: inline-block;
  padding: 6px 12px;
  max-width: 156px;
}

.content-column #time {
  background-color: #d9b86c9f;
  display: inline-block;
  padding: 6px 12px;
  max-width: 192px;
  text-align: right;
}

#servings p{
  margin-top:0.7rem;
  margin-bottom: 0.7rem;
}

#time p{
  margin-top:0.7rem;
  margin-bottom: 0.7rem;
}



@media (max-width: 768px) {
  .content-column {
    flex-direction: column;
    gap: 2rem;
  }
  .ingredients-nutrition {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 960px) and (min-width: 768px) {
  .content-column {
    flex-direction: column;
    gap: 2rem;
  }
  .content-column img {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 510px) {
  .servings-time {
    flex-direction: column;
    gap: 2rem;
  }
}

.other-recipes ul {
  list-style: none;
  display: flex;
  gap: 30px;
  padding: 0;
  margin-right: auto;
  margin-left: auto; 
  justify-content: space-evenly;
}

.other-recipes li{
  flex:1;
  max-width: 300px;
}

.other-recipes img{
  width: 300px;
  height: 250px;
  object-fit: cover;
}

section {
  padding-bottom: 10px;
}

.directions ol{
  margin: 0 2rem;
  align-content: center;
}

@media (max-width: 1032px) and (min-width: 768px){
  .directions ol{
    margin: 0 1.3rem;
  }
  body {
    padding: 1rem 3rem;
  }
}

.source a{
  color: black;
}

@media (max-width: 1107px) and (min-width:655px){
  .other-recipes ul{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    justify-content: stretch;
    margin: 0 2rem;
  }
  .other-recipes li{
    flex: 0 0 calc(50% - 20px);
    box-sizing: border-box;
  }
}

@media (max-width: 655px) {
  .other-recipes ul{
    flex-direction: column;
    justify-content: center;
    width: 80%;
  }
  .other-recipes li{
    flex: 0 0 calc(50% - 10px);
  }
  .directions ol{
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  body {
    padding: 1rem 2rem;
  }
  .directions li {
    font-size: 1.1rem;
  }
}

@media (max-width: 450px) {
  body {
    padding: 1rem 2rem;
  }
  .directions li {
    font-size: 1rem;
  }
  .other-recipes li{
  flex:1;
  max-width: 250px;
  }

  .other-recipes img{
    max-width: 250px;
    max-height: 200px;
    object-fit: cover;
  }
}

footer p{
  font-size: 14px;
}