:root {
  --padding: 2rem;
  --pink: #ffa399;
  --orange: #fca01f;
  --light-green: #397f47;
  --green: #043a22;
  --yellow: #fcfad0;
}

* {
  line-height: 1.2;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style-type: none;
  text-decoration: none;
  color: inherit;
  font-style: normal;
}

* + *,
.full-margin {
  margin-top: 1.5rem;
}

* + p,
* + small,
* + a {
  margin-top: 1rem;
}

html {
  margin: 0;
  padding: 0;
  font-family: "Lato", sans-serif;
  font-size: 18px;
}

body,
main,
section {
  margin: 0;
  padding: 0;
  color: var(--green);
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
}

small,
a {
  display: inline-block;
}

a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #ff7e70;
  font-weight: 600;
  color: var(--green);
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #ff7e70;
  color: var(--light-green);
}

p a,
small a {
  margin-top: 0;
}

ul {
  padding-left: 17.3px;
}

li {
  list-style-type: disc;
}
li::marker {
  color: #ff7e70;
  vertical-align: middle;
  width: 10px;
  height: 10px;
}
li + li {
  margin-top: 1rem;
}

br {
  margin-top: 0;
}

h2 {
  font-size: 2.25rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--light-green);
}

h3 {
  font-size: 1.4rem;
  font-weight: 600;
}

button,
.button {
  background-color: var(--light-green);
  font-family: inherit;
  color: #fff;
  padding: 0.65rem 1.25rem;
  border-radius: 60px;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  border: none;
  text-decoration: none;
  display: inline-block;
  justify-self: start;
  grid-column: -1/1;
  transition: 0.25s ease-in-out;
}
button:hover,
.button:hover {
  text-decoration: none;
  background-color: #043a22;
  color: #fff;
}

footer + div {
  display: none;
}

.container {
  max-width: 1000px;
  padding: 3rem var(--padding);
  margin: 0 auto;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(max(250px, (100% - 2rem) / 2), 1fr));
  gap: 3rem 2rem;
  justify-content: space-between;
  align-items: center;
}
.two-col > * {
  margin-top: 0;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(max(200px, (100% - 2rem) / 4), 1fr));
  gap: 2rem;
  justify-content: space-between;
}
.three-col > * {
  margin-top: 0;
}

.two-col-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  align-items: center;
  gap: 1.5rem;
}
.two-col-flex > * {
  flex-basis: calc(50% - 1.5rem);
  min-width: 225px;
  margin-top: 0;
  flex-grow: 1;
}

.full-col {
  grid-column: -1/1;
}

.large-col {
  flex-basis: calc(65% - 2rem);
}

.small-col {
  flex-basis: calc(35% - 2rem);
}

.start-col {
  align-self: start;
  max-width: 420px;
}

.pink-background {
  background-color: #fff5fa;
}

.light-green-background {
  background-color: #f6fad9;
}

.light-green {
  color: var(--light-green);
}

.green {
  color: var(--green);
}

.text-uppercase {
  text-transform: uppercase;
}

.text-normal {
  text-transform: none;
}

.text-bold {
  font-weight: 600;
}

.small-heading {
  font-size: 1.8rem;
}

.curved-image {
  border-radius: 24px;
}

.recaptcha-text {
  margin-top: 0;
  font-size: 0.6rem;
  text-align: right;
  padding-right: 12px;
}

#submit-text {
  font-weight: 600;
  color: var(--light-green);
}

header {
  background-color: rgba(0, 0, 0, 0.6);
  position: relative;
  min-height: 100vh;
  display: grid;
  gap: 0;
  height: 100%;
  color: #fff;
  text-align: center;
}
header > * {
  width: 100%;
}
header video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-fit: cover;
  margin: 0;
}
header img {
  width: 80%;
  max-width: 350px;
  margin: 0 auto;
}
header small {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.8rem;
}
header small span {
  color: var(--pink);
  margin: 0 0.25rem;
}

nav {
  padding: 2rem var(--padding);
  display: flex;
  justify-content: center;
  align-items: start;
  align-self: start;
  max-width: 1000px;
  margin: 0 auto;
  gap: 1rem;
  flex-wrap: wrap;
}
nav a,
nav div {
  margin: 0;
  font-size: 0.65rem;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  position: relative;
}
nav a:hover,
nav div:hover {
  color: #fff;
}
nav span {
  display: none;
}

#products-button {
  font-size: 0.65rem;
  padding: 0;
  border-radius: 0;
  background-color: transparent;
  font-weight: 600;
  transition: none;
  overflow: visible;
  cursor: pointer;
}
#products-button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #ff7e70;
}

#products-dropdown {
  position: absolute;
  max-height: 0;
  overflow: hidden;
  height: 100vh;
  transition: max-height 0.5s ease-in-out;
  background-color: rgba(4, 58, 34, 0.8);
  z-index: 1;
}
#products-dropdown a {
  margin-top: 0.75rem;
  display: block;
  text-align: center;
}

#about {
  background-color: var(--yellow);
}
#about img {
  max-width: 350px;
}

#products h3 {
  color: #4d4d4d;
  font-size: 1.6rem;
}
#products article {
  padding: 2rem;
  align-self: stretch;
  border-radius: 24px;
  background-size: auto;
  background-repeat: no-repeat;
  background-blend-mode: multiply;
  background-position: bottom right;
  display: flex;
  align-items: center;
}

#flowers {
  background-color: #fff5fa;
  background-image: url("/images/icons/flowers.svg");
}

#antiques {
  background-color: #e7fbfb;
  background-image: url("/images/icons/antiques.svg");
}

#garden-supplies {
  background-color: var(--yellow);
  background-image: url("/images/icons/garden.svg");
}

#mulch {
  background-color: #f6fad9;
  background-image: url("/images/icons/mulch.svg");
}

#gallery-header {
  background-color: #f3e7fd;
}
#gallery-header h2 {
  background-color: #f3e7fd;
  background-image: url("/images/icons/gallery.svg");
  background-size: auto;
  background-position: calc(100% - var(--padding)) top;
  background-repeat: no-repeat;
  background-blend-mode: multiply;
  color: #4d4d4d;
}

#gallery-container {
  align-items: stretch;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  padding-top: 1.5rem;
}
#gallery-container img {
  object-fit: cover;
}
#gallery-container > * {
  max-height: 400px;
  min-height: 250px;
}
#gallery-container .small-image {
  height: calc((100% - 1.5rem) / 2);
}
#gallery-container .small-image + * {
  margin-top: 1.5rem;
}

#light-box {
  background-color: rgba(0, 0, 0, 0.6);
  position: fixed;
  top: 0;
  margin: 0;
  z-index: -1;
  width: 100vw;
  height: 100vh;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

#light-box-button {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  overflow: hidden;
}

#light-box-image {
  max-width: 400px;
  max-height: 400px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  object-fit: cover;
}

#contact {
  background-color: var(--yellow);
  color: var(--green);
}
#contact .container {
  background-image: url("/images/icons/contact.svg");
  background-color: var(--yellow);
  background-size: auto;
  background-position: calc(100% - var(--padding)) 130%;
  background-blend-mode: multiply;
  background-repeat: no-repeat;
}

label {
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 800;
  display: block;
}

input,
textarea {
  margin-top: 0.25rem;
  border: 1px solid #9b9b9b;
  border-radius: 24px;
  padding: 0.25rem;
  width: 100%;
  resize: none;
  height: 30px;
}

#email-list {
  width: auto;
  height: auto;
  margin: 0;
}

#email-list-label {
  margin-top: 0.25rem;
}

footer {
  text-align: center;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
}
footer img {
  max-width: 200px;
  width: 80%;
  margin: 0 auto;
}
footer span {
  color: var(--pink);
  margin: 0 0.25rem;
}

@media (min-width: 800px) {
  :root {
    --padding: 3rem;
  }
  * + *,
.full-margin {
    margin-top: 2rem;
  }
  h2 {
    font-size: 3.5rem;
  }
  h3 {
    font-size: 1.8rem;
  }
  .container {
    padding: 5rem var(--padding);
  }
  .small-heading {
    font-size: 2.25rem;
  }
  .two-col {
    grid-template-columns: repeat(auto-fit, minmax(max(250px, (100% - 3rem) / 2), 1fr));
    gap: 3rem;
  }
  .large-col {
    flex-basis: calc(65% - 3rem);
  }
  .small-col {
    flex-basis: calc(35% - 3rem);
  }
  header img {
    max-width: 400px;
  }
  nav {
    justify-content: space-around;
    gap: 0;
  }
  nav a {
    font-size: 0.8rem;
  }
  nav span {
    background-color: var(--orange);
    width: 8px;
    height: 8px;
    display: block;
    margin: 0;
    border-radius: 50%;
    align-self: center;
  }
  #products-button {
    font-size: 0.8rem;
  }
  #about img {
    margin-left: auto;
    max-width: 400px;
  }
  #products h3 {
    font-size: 2.25rem;
  }
  #gallery h2 {
    background-position: calc(100% - var(--padding)) 50px;
  }
}
