h1 {
  font-size: 2.5rem;
  border: 3px solid #fff;
  text-transform: uppercase;
  padding: 2rem;
  display: inline-block;
}

header {
  background-size: cover;
  background-color: rgba(0, 0, 0, 0.6);
  background-blend-mode: overlay;
}

#about-header {
  background-image: url("/images/hero-images/about-us-hero.jpg");
}

#founders {
  background-color: #f6fad9;
}
#founders .two-col-flex {
  gap: 3rem;
  align-items: flex-start;
  flex-direction: row-reverse;
}

#circle-image {
  max-width: 300px;
  max-height: 300px;
}
#circle-image img {
  width: 100%;
  height: auto;
  border-radius: 50%;
}

#testimonials h2 {
  color: #397f47;
}
#testimonials .three-col {
  grid-template-columns: repeat(auto-fit, minmax(max(250px, (100% - 2rem) / 4), 1fr));
  gap: 3rem 2rem;
}
#testimonials article {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: 24px;
  gap: 1.5rem;
  background-color: #fce8e6;
}
#testimonials article span {
  background-image: url("/images/icons/red-star.svg");
}
#testimonials article:nth-of-type(2n + 2) {
  background-color: #d6eeed;
}
#testimonials article:nth-of-type(2n + 2) span {
  background-image: url("/images/icons/blue-star.svg");
}
#testimonials article:nth-of-type(3n + 3) {
  background-color: #f3e7fd;
}
#testimonials article:nth-of-type(3n + 3) span {
  background-image: url("/images/icons/purple-star.svg");
}
#testimonials article > * {
  margin-top: 0;
}
#testimonials h3 {
  order: 1;
  font-size: 1.25rem;
  color: #003a21;
}
#testimonials small {
  order: -1;
}

.stars p {
  font-size: 0;
}
.stars span {
  width: 30px;
  height: 30px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  margin: 0;
}

#flower-header {
  background-image: url("/images/hero-images/flowers-plants-veggies-hero.jpg");
}

#flower-picks {
  padding: 0;
}
#flower-picks li {
  height: 275px;
  position: relative;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  text-align: center;
  list-style-type: none;
  margin: 0;
}
#flower-picks li p {
  width: 100%;
  padding: 0.75rem;
  background-color: rgba(252, 250, 208, 0.9);
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green);
}
#flower-picks li:nth-of-type(2n + 2) p {
  background-color: rgba(243, 231, 253, 0.9);
}
#flower-picks li:nth-of-type(3n + 3) p {
  background-color: rgba(250, 209, 206, 0.9);
}
#flower-picks img {
  position: absolute;
  border-radius: 24px;
  object-fit: cover;
  object-position: center;
  z-index: -1;
  width: 100%;
  height: 100%;
}

#garden-header {
  background-image: url("/images/hero-images/garden-hero.jpg");
}

#hardware {
  gap: 3rem;
}
#hardware img {
  max-height: 425px;
  margin-left: 0;
  max-width: 225px;
}
#hardware ul {
  margin-top: 1rem;
}

#antique-header {
  background-image: url("/images/hero-images/antiques-hero.jpg");
}

#gallery-container {
  padding-top: 0;
  padding-bottom: 0;
}

#mulch-header {
  background-image: url("/images/hero-images/mulch-and-soil-hero.jpg");
}

dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(max(175px, (100% - 1rem) / 5), 1fr));
  gap: 1rem;
  text-align: center;
  color: var(--green);
}
dl div {
  margin-top: 0;
  height: 250px;
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  justify-content: end;
}
dl div:nth-of-type(2) dt,
dl div:nth-of-type(2) dd {
  background-color: rgba(214, 238, 237, 0.9);
}
dl div:nth-of-type(3) dt,
dl div:nth-of-type(3) dd {
  background-color: rgba(243, 231, 253, 0.9);
}
dl div:nth-of-type(4) dt,
dl div:nth-of-type(4) dd {
  background-color: rgba(252, 232, 230, 0.9);
}

dt {
  font-size: 1.3rem;
  font-weight: 600;
  background-color: rgba(252, 250, 208, 0.9);
  padding: 1rem;
  padding-bottom: 0;
}

dd {
  margin-top: 0;
  background-color: rgba(252, 250, 208, 0.9);
  padding: 1rem;
  padding-top: 0.25rem;
  font-size: 0.8rem;
}

#cedar {
  background-image: url("/images/mulch/cedar-mulch.jpg");
}

#hemlock {
  background-image: url("/images/mulch/hemlock-mulch.jpg");
}

#pine {
  background-image: url("/images/mulch/pine-mulch.jpg");
}

#black {
  background-image: url("/images/mulch/black-mulch.jpg");
}

#ledgepack {
  background-image: url("/images/gravel/ledgepack.jpg");
}

#crushed {
  background-image: url("/images/gravel/crushed-stone.jpg");
}

#minus {
  background-image: url("/images/gravel/minus-stone.jpg");
}

#gravel {
  background-image: url("/images/gravel/gravel.jpg");
}

#fertilizer article {
  background-size: cover;
  background-color: rgba(0, 0, 0, 0.5);
  background-blend-mode: overlay;
  color: #fff;
  padding: 2rem;
  text-align: center;
  border-radius: 24px;
  align-self: stretch;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#fertilizer h3 {
  text-transform: uppercase;
}

#soil {
  background-image: url("/images/soil/super-soil.jpg");
}

#compost {
  background-image: url("/images/soil/compost.jpg");
}

#sand article {
  background-size: cover;
  background-position: center;
  text-align: center;
  border-radius: 24px;
  align-self: stretch;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
#sand article p,
#sand article h3 {
  margin-top: 0;
  padding: 0 2rem;
}
#sand article h3 {
  font-size: 1.2rem;
  padding-top: 1rem;
}
#sand article p {
  padding-top: 0.25rem;
  padding-bottom: 1rem;
  font-size: 0.9rem;
}

#screened {
  background-image: url("/images/sand/screened-sand.jpg");
}
#screened p,
#screened h3 {
  background-color: rgba(214, 238, 237, 0.9);
}

#stone {
  background-image: url("/images/sand/stone-dust.jpg");
}
#stone p,
#stone h3 {
  background-color: rgba(243, 231, 253, 0.9);
}

#options {
  position: relative;
}
#options article {
  padding: 3rem 2rem;
  border-radius: 24px;
  text-align: center;
  align-self: stretch;
}
#options img {
  width: 60px;
  height: 60px;
  margin: 0 auto;
}
#options a {
  color: var(--light-green);
  text-decoration-color: var(--light-green);
}
#options h3 {
  margin-top: 0;
}
#options div {
  gap: 3rem 8rem;
  grid-template-columns: repeat(auto-fit, minmax(max(250px, (100% - 8rem) / 2), 1fr));
}

#or {
  position: absolute;
  left: 0;
  right: 0;
  display: block;
  margin: 0 auto;
  width: auto;
  text-align: center;
  text-transform: uppercase;
  color: #4d4d4d;
  font-weight: 600;
}

#victory-header {
  background-image: url("/images/hero-images/victory-gardens-hero.jpg");
}

#reverse-col {
  flex-direction: row-reverse;
  gap: 3rem 2rem;
}
#reverse-col > * {
  flex-basis: calc(50% - 2rem);
}

#history .three-col {
  grid-template-columns: repeat(auto-fit, minmax(max(250px, (100% - 2rem) / 4), 1fr));
  gap: 3rem 2rem;
}
#history article {
  padding: 2rem;
  border-radius: 24px;
  background-color: #fce8e6;
}
#history article:nth-of-type(2n + 2) {
  background-color: #d6eeed;
}
#history article:nth-of-type(3n + 3) {
  background-color: #f3e7fd;
}
#history h3 {
  font-size: 1.2rem;
  color: var(--light-green);
}

@media (min-width: 800px) {
  h1 {
    font-size: 5rem;
    padding: 2rem 3rem;
  }
  #reverse-col {
    gap: 3rem;
  }
  #reverse-col > * {
    flex-basis: calc(50% - 3rem);
  }
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  #cedar {
    background-image: url("/images/mulch/cedar-mulch-2x.jpg");
  }
  #hemlock {
    background-image: url("/images/mulch/hemlock-mulch-2x.jpg");
  }
  #pine {
    background-image: url("/images/mulch/pine-mulch-2x.jpg");
  }
  #black {
    background-image: url("/images/mulch/black-mulch-2x.jpg");
  }
  #ledgepack {
    background-image: url("/images/gravel/ledgepack-2x.jpg");
  }
  #crushed {
    background-image: url("/images/gravel/crushed-stone-2x.jpg");
  }
  #minus {
    background-image: url("/images/gravel/minus-stone-2x.jpg");
  }
  #gravel {
    background-image: url("/images/gravel/gravel-2x.jpg");
  }
  #soil {
    background-image: url("/images/soil/super-soil-2x.jpg");
  }
  #compost {
    background-image: url("/images/soil/compost-2x.jpg");
  }
  #screened {
    background-image: url("/images/sand/screened-sand-2x.jpg");
  }
  #stone {
    background-image: url("/images/sand/stone-dust-2x.jpg");
  }
}
