 * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-padding-top: 80.0px;
}
body {
    background-color: rgb(220, 252, 220);
    font-family: "Figtree";
}
.site-header {
    position: fixed;
    top: 0;
    z-index: 1000;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #88aa8a;
    border-bottom: none;
}
.site-header .title {
    font-size: clamp(1.2rem, 2vw, 2rem);
    font-weight: 300;
    text-decoration: none;
    color: rgb(228, 255, 228);
}
.site-header .title:hover, .site-nav a:hover, .hero h1:hover {
    text-decoration: underline;
    text-decoration-style: dotted;
}
.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.site-nav a {
    padding: 0.5rem 0.75rem;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgb(201, 241, 201);
    text-decoration: none;
}

@media (max-width: 600px) {
    .site-header {
        padding: 0.6rem 0.5rem;
    }
    .site-header .title {
        font-size: 1.15rem;
    }
    .site-nav {
        gap: 0;
    }
    .site-nav a {
        padding: 0.3rem 0.35rem;
        font-size: 0.7rem;
    }
    .intro {
        padding: 0.3rem 0.35rem;
        font-size: 0.7rem;
    }
    .main-info {
        flex-direction: column;
        gap: 2.5rem;
    }
}
.hero {
  flex-grow: 1;
  width: 100%;
  height: 100vh;
  padding: 3rem 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  align-items: center;
  color: #f8f6f1;
  background: linear-gradient(to bottom, rgba(8, 53, 35, 0.767), rgba(34, 37, 33, 0.85)), url(final-salad.jpg) center / cover;
}
.hero h1 {
    font-weight: 100;
    line-height: 50px;
    text-align: center;
}
.additional-info {
    display: flex;
    gap: 10px; 
    flex-wrap: wrap;
    margin: 20px;
    justify-content: center;
}
.additional-info h3{
    color: rgb(56, 73, 27);
    font-weight: normal;
}
.intro {
    padding: clamp(2rem, 5vw, 4rem) 1.5rem;
    min-height: auto;
    gap: 4rem;
    width: 80%;
    justify-content: center;
}
.intro-text h2 {
    border: solid;
    border-color:#88aa8a;
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.25rem);
    padding: 20px;
    margin: 40px;
    border-radius: 20px;
    line-height: clamp(1.2, 1.4vw, 1.5);
    color: rgb(56, 73, 27);

}
section {
    padding: 40px;
}
.ingredients, .recipe {
    border: solid;
    margin: 40px;
    border-color: green;
    border-radius: 40px;
    padding: 30px;
    min-width: 0;
    overflow: hidden;
}
.main-info {
    display: flex;
    width: 100%;
    justify-self: center;
}
h4 {
    font-size: 30px;
    margin-bottom: 20px;
}
li {
    padding-top: 10px;
}
.ingredient-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.ingredient-list input[type="checkbox"] {
  margin-top: 5px;
  flex-shrink: 0;
}
.images-captions {
    display: flex;
    flex-wrap: wrap;
    border: none;
}
.images-captions figure {
    flex: 1 1 200px;
    min-width: 0;
    max-width: 100%;
}
.images-captions img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 50%;
    padding-top: 10px;
    object-fit: cover;
}
.images-captions figcaption {
    padding-top: 20px;
    font-size: 15px;
    color: rgb(91, 123, 36);
    overflow-wrap: anywhere;
}
footer {
    color: green;
    padding-left: 40px;
    padding-bottom: 40px;
}
