:root {
  --mainGreen: #447604;
  --mainLight: #e8ebe4;
  --mainDark: #0d1f2d;
  --secondaryLight: #f2d479;
  --secondaryDark: #c4971a;
  --headerFont: "Young Serif", serif;
  --mainFont: "Montserrat", sans-serif;
  --anchorFont: "Poppins", sans-serif;
}

* {
  box-sizing: border-box;
  max-width: 100vw;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: var(--mainLight);
  color: black;
}

video {
  display: block;
  max-width: 100%;
  height: auto;
}
#hide-services {
  display: none;
}

.domain {
  font-family: var(--anchorFont);
  color: var(--secondaryDark);
  font-weight: 600;
  font-size: 1.1em;
  margin-top: 0.3em;
}

.servicesSection a {
  position: absolute;
  bottom: 3%;
  right: 4%;
  text-decoration: underline;
  color: var(--secondaryLight);
  font-family: var(--anchorFont);
  font-weight: 600;
  font-size: 1.1em;
  z-index: 3;
}

.servicesSection a:hover {
  color: var(--mainLight);
}

.bottomLine {
  height: 10px;
  width: 100%;
  background-color: var(--mainGreen);
  margin: 0 auto;
} 

.addSpacing {
  margin: 1em;
}


/* MOBILE VIEW */
@media all and (max-width: 768px) {
  body {
    font-size: 1.05em;
    margin: 0;
    padding: 0;
    overflow-x: hidden;

    header {
      width: 100%;
    }

    .header {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 1em;
      padding: 1em;
    }

    .header h1 {
      text-align: center;
      font-size: 2em;
      letter-spacing: 1px;
      font-family: var(--headerFont);
      margin: 0;
    }

    #banner {
      border-block: 0.6em solid var(--mainGreen);
      background-color: var(--mainLight);
      color: var(--mainGreen);
      text-align: center;
    }

    #banner img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    nav {
  text-align: center;
  padding: 0.8em 0;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

nav li {
  display: inline;
  margin: 0 0.5em;
}

nav a {
  text-decoration: none;
  color: var(--mainLight);
  background-color: var(--mainGreen);
  margin: 0.4em 0.3em;
  font-weight: bold;
  font-size: 1.1em;
  font-family: var(--anchorFont);
  border: 0.25em solid var(--mainDark);
  padding: 0.6em 1em;
  border-radius: 6px;
  display: inline-block;
}

nav a:active {
  background-color: var(--secondaryLight);
  font-style: italic;
  color: var(--mainDark);
}


    .Lawn-IMG {
      position: relative;
      width: 100%;
      border-block-end: 0.6em solid var(--mainGreen);
      margin-block-start: 0;
    }

    .Lawn-IMG img {
      width: 100%;
      height: auto;
      display: block;
    }

    .cta-btn {
      position: absolute;
      top: 45%;
      left: 50%;
      background-color: var(--secondaryDark);
      color: var(--mainDark);
      text-decoration: none;
      padding-block: 1em;
      padding-inline: 1.4em;
      border-radius: 0.6em;
      font-family: var(--anchorFont);
      font-weight: bold;
      font-size: 1.5em;
      border: 3px solid var(--mainLight);
      z-index: 2;
      margin-left: -3.6em;
      margin-top: -1.2em;
    }

    .cta-btn:active {
      background-color: var(--secondaryLight);
      color: var(--mainLight);
      border: 3px solid var(--mainDark);
    }

    main section {
      margin-block: 1.8em;
    }

    main h2 {
      color: var(--mainGreen);
      font-size: 2.2em;
      font-family: var(--headerFont);
      letter-spacing: 0.07em;
      text-align: center;
    }

    main p {
      font-family: var(--mainFont);
      font-size: 1em;
      word-spacing: 0.15em;
      margin: 1.2em;
      line-height: 1.7;
    }

    .card {
      border-inline-start: 0.6em solid var(--secondaryDark);
      padding-inline-start: 1.4em;
      margin-inline: 1em;
      background-color: var(--mainLight);
      font-size: 1em;
      text-align: justify;

      a {
        color: var(--mainGreen);
      }
    }

    .contactContainer {
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
    }

    #contactImg {
     width: 100%;
  max-height: 400px;
  display: block;
  border-bottom: 10px solid var(--mainGreen); 
  margin-bottom: 0;
    }

    .contactText {
      position: absolute;
      background: lightgrey;
      font-size: 2.8em;
      color: var(--mainDark);
      text-align: center;
      font-weight: bold;
      padding: 0.4em 0.8em;
      border-radius: 0.4em;
      font-family: var(--anchorFont);
      z-index: 2;
    }

    .contactSection {
      text-align: center;
      box-shadow: 0.5em 0.5em lightgrey;
      border: 2px solid var(--mainDark);
      margin: 1.5em;
      padding: 1.4em;
    }

    .contactSection img {
      width: 3.2em;
      height: auto;
      display: block;
      margin: 0 auto 0.5em auto;
    }

    .contactSection h3 {
      font-size: 1.6em;
      font-family: var(--headerFont);
      color: var(--mainGreen);
    }

    .contactSection a {
      text-decoration: none;
      color: var(--mainDark);
      font-size: 1.3em;
      font-family: var(--mainFont);
    }

    .contactSection a:active {
      color: var(--secondaryDark);
    }

    #contactMessage {
      text-align: center;
      background-color: var(--mainGreen);
      font-family: var(--anchorFont);
      font-weight: bold;
      font-size: 1.3em;
      color: var(--mainLight);
      border: 4px solid var(--mainDark);
      margin: 2em;
      padding: 1.6em;
    }

    #storySection {
      border: 3px solid var(--mainDark);
      margin: 1.4em;
    }

    #storySection p {
      font-size: 1em;
      font-weight: bold;
    }

    .servicesSection {
      margin: 2em auto;
      max-width: calc(100% - 2em);
      position: relative;
      display: block;
      width: 100%;
      overflow: hidden;
    }

    .servicesSection img {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 15px;
    }

    .servicesSection::after {
      content: "";
      position: absolute;
      inset-inline-start: 0;
      inset-block-end: 0;
      width: 100%;
      height: 70%;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
      pointer-events: none;
      border-radius: 15px;
      z-index: 1;
    }

    .servicesSection p {
      position: absolute;
      bottom: 8%;
      right: 4%;
      text-align: right;
      color: var(--mainLight);
      font-weight: bold;
      font-size: 1.4em;
      z-index: 2;
    }

    .dealsImg {
      width: 98%;
      height: 16em;
      margin: 0.4em;
      border-radius: 15px;
      display: block;
    }

    .dealsText h3 {
      color: var(--mainGreen);
      font-family: var(--headerFont);
      font-size: 1.5em;
      text-align: center;
    }

    .dealsText ul {
      font-family: var(--mainFont);
      font-size: 1em;
      list-style-image: url(../images/lawnmower.png);
      text-align: justify;
    }

    .dealsText li {
      border-bottom: thin solid black;
      margin: 0.8em;
      padding-bottom: 0.4em;
    }

    .priceList {
      background-color: var(--mainGreen);
      color: var(--mainLight);
      padding: 0.8em;
      margin: 1em;
      border-radius: 15px;
    }

    .priceList h3 {
      font-family: var(--headerFont);
      letter-spacing: 1px;
      text-align: center;
      font-size: 1.4em;
    }

    .priceList ul {
      font-family: var(--anchorFont);
      font-weight: bold;
      font-size: 1.2em;
      list-style-image: url(../images/dollar-coin.png);
      margin: 0.6em 1.2em;
    }

    img,
    .homeImg {
      width: 100%;
      max-width: 100%;
      height: auto;
      display: block;
      margin: 0 auto;
      padding: 0;
    }

     .gridSection {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .gridSection img {
    width: 90%;
    margin: 0 auto;
  }

  .gridSection h2 {
    text-align: center;
  }

  .gridSection p {
    text-align: left;
    font-size: 1em;
  }

  .servicesSection a {
  right: 6%;
  bottom: 4%;
  font-size: 1.2em;
}

.linksRow {
  ul li {
    font-family: var(--mainFont);
    list-style-image: url(../images/lawnmower.png);
    font-weight: 600;
    font-size: 1.2em;
  }
  h3 {
    font-family: var(--headerFont);
    font-size: 1.4em;
    color: var(--mainLight);
    text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black;
  }
  a {
    color: var(--secondaryDark);
    text-decoration: none;

    text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black;
  }

  section {
    border: 3px double var(--mainLight);
    padding: 15px;
    border-width: thick;
    background-color: var(--mainGreen);
  }
}

table {
margin: 2em auto;
max-width: calc(100% - 2em);
}

.hours-section {
  max-width: 100%;
  margin: 2em auto;
  text-align: center;
  font-family: var(--mainFont);
  overflow-x: auto;
}

.hours-section h2 {
  color: var(--mainGreen);
  font-family: var(--headerFont);
  font-size: 2em;
  margin-bottom: 1em;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--mainLight);
  border: 3px solid var(--mainDark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
  table-layout: fixed;
  word-wrap: break-word;
  border-collapse: collapse;
}

.hours-table th {
  background-color: var(--mainGreen);
  color: var(--mainLight);
  font-family: var(--anchorFont);
  font-size: 1.1em;
  padding: 0.8em;
  border-bottom: 3px solid var(--mainDark);
  white-space: normal;
  text-align: center;
}

.hours-table td {
  padding: 0.9em;
  border-bottom: 1px solid var(--mainDark);
  color: var(--mainDark);
  font-weight: 500;
  white-space: normal;
  text-align: center;
}

.hours-table tr:nth-child(even) {
  background-color: #dfe5d8;
}

.staff-body {
    padding: 1.5rem 1rem;
    gap: 2rem;
  }

  .staff-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    border: 4px solid var(--mainDark);
    box-shadow: 8px 8px 0px lightgrey;
    border-radius: 6px;
    background: var(--mainGreen);
    position: relative;
    margin: 1em;
  }

  .staff-member::before {
    content: "";
    width: 80%;
    height: 8px;
    background-color: var(--secondaryDark);
    border-radius: 3px;
    margin-bottom: 1rem;
  }

  .staff-member img {
    width: 90%;
    height: auto;
    border-radius: 6px;
    margin: 1rem 0;
  }

  .staff-member p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--mainLight);
    margin: 0.8rem 0;
    font-weight: 600;
    text-align: center;
  }

  section form {
  max-width: 800px;
  margin: 2em auto;
  padding: 2em;
  border: 3px solid var(--mainDark);
  border-radius: 12px;
  background-color: var(--mainGreen);
  box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.1);
  font-family: var(--mainFont);
}

fieldset {
  border: 2px solid var(--mainLight);
  border-radius: 10px;
  padding: 1.5em;
  margin-bottom: 1.5em;
}

legend {
  font-family: var(--headerFont);
  font-size: 1.4em;
  color: var(--mainLight);
  padding: 0 0.6em;
}

label {
  display: block;
  margin-top: 1em;
  margin-bottom: 0.4em;
  font-weight: bold;
  color: var(--mainLight);
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.8em;
  border: 2px solid var(--mainDark);
  border-radius: 8px;
  font-family: var(--mainFont);
  font-size: 1em;
  background-color: #fff;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--secondaryDark);
  box-shadow: 0 0 6px var(--secondaryDark);
}

fieldset fieldset {
  border-color: var(--mainDark);
  background-color: var(--mainLight);
}

fieldset fieldset legend {
  color: var(--mainDark);
  font-size: 1.2em;
  margin-block-start: 0.6em;
  padding-block-start: 2.5em;
  display: inline-block;
}

fieldset fieldset label {
  display: inline-block;
  margin: 0.4em 1.2em 0.4em 0;
  font-weight: normal;
  color: var(--mainDark);
}

input[type="checkbox"] {
  accent-color: var(--mainGreen);
  margin-right: 0.4em;
}

.form-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5em;
  margin-top: 1.8em;
}

.form-buttons input[type="submit"],
.form-buttons button[type="reset"] {
  background-color: var(--mainLight);
  color: var(--mainDark);
  border: 3px solid var(--mainDark);
  border-radius: 8px;
  padding: 0.7em 1.6em;
  font-family: var(--anchorFont);
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.form-buttons input[type="submit"] {
  background-color: var(--secondaryDark);
  color: var(--mainDark);
}

.form-buttons button[type="reset"] {
  background-color: var(--mainLight);
  color: var(--mainDark);
}

.form-buttons input[type="submit"]:active, .form-buttons button[type="reset"]:active  {
  background-color: var(--secondaryLight);
  color: var(--mainDark);
}


    footer {
      text-align: center;
      padding: 1.2em 0;
      border-block-start: 0.6em solid var(--mainGreen);
    }

  }
  
    
}

/* DESKTOP VIEW */
@media all and (min-width: 769px) {
  body {
    font-size: 1.1em;
    max-width: 100vw;
    margin: 0;
    background-color: var(--mainLight);
    color: var(--mainDark);
  }

  header {
    text-align: center;
    padding: 0;
  }

  .header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5em;
  }

  .header img {
    width: 180px;
    height: auto;
  }

  .header h1 {
    font-family: var(--headerFont);
    font-size: 2.5em;
    color: var(--mainDark);
  }

  #banner {
    border-block: 10px solid var(--mainGreen);
    padding: 0;
  }

  nav {
  text-align: center;
  padding: 0.8em 0;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

nav li {
  display: inline;
  margin: 0 0.5em;
}

nav a {
  text-decoration: none;
  color: var(--mainLight);
  background-color: var(--mainGreen);
  margin: 0.4em 0.3em;
  font-weight: bold;
  font-size: 1.1em;
  font-family: var(--anchorFont);
  border: 0.25em solid var(--mainDark);
  padding: 0.6em 1em;
  border-radius: 6px;
  display: inline-block;
}
  nav a:hover {
    background-color: var(--secondaryDark);
  }

  main {
    width: 100%;
    margin: 0 auto;
  }

  .Lawn-IMG {
  position: relative;
  width: 100%;
  margin: 0;
  border: none; 
  
}

.Lawn-IMG::after {
  content: "";
  display: block;
  width: 100vw;               
  height: 10px;
  background-color: var(--mainGreen);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-top: -5px;
}

#banner,
footer {
  border: none;
  position: relative;
}

#banner::before {
  content: "";
  display: block;
  width: 100vw;
  height: 10px;
  background-color: var(--mainGreen);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
}


#banner::after {
  content: "";
  display: block;
  width: 100vw;
  height: 10px;
  background-color: var(--mainGreen);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
}




  .Lawn-IMG img {
    width: 100%;
    max-height: 480px;
    height: auto;
  }

  .cta-btn {
    position: absolute;
    top: 45%;
    left: 50%;
    font-family: var(--anchorFont);
    background-color: var(--secondaryDark);
    color: var(--mainDark);
    text-decoration: none;
    padding: 0.9em 1.6em;
    border-radius: 8px;
    font-size: 1.4em;
    font-weight: bold;
    border: 3px solid var(--mainLight);
    transform: translate(-50%, -50%);
  }

  section {
    margin: 2em 0;
  }

  section h2 {
    text-align: center;
    font-family: var(--headerFont);
    color: var(--mainGreen);
    font-size: 2.3em;
  }

  section p {
    font-family: var(--mainFont);
    font-size: 1.2em;
    line-height: 1.8;
    margin: 1em auto;
    max-width: 900px;
    text-align: justify;
  }

  .card {
    border-left: 10px solid var(--secondaryDark);
    padding-left: 1.5em;
    margin: 1.5em auto;
    max-width: 900px;

    p {
      font-family: var(--mainFont);
    font-size: 1.2em;
    line-height: 1.8;
    margin: 1em auto;
    max-width: 900px;
    text-align: justify;
    }

    a {
      color: var(--mainGreen);
    }
  }

  .homeImg {
    width: 90%;
    max-width: 1000px;
    height: auto;
    margin: 1.5em auto;
    display: block;
    border-radius: 10px;
  }

  .contactContainer {
     position: relative;
  text-align: center;
  margin-bottom: 2em;
  }

  .contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
    justify-content: center;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
  }

  #contactImg {
    width: 100%;
  max-height: 400px;
  display: block;
  margin-bottom: 0;
  }

  .contactText {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--anchorFont);
    font-size: 3em;
    font-weight: bold;
    color: var(--mainDark);
    background: rgba(255, 255, 255, 0.7);
    padding: 0.5em 1em;
    border-radius: 8px;
  }

  .contactSection {
    text-align: center;
    box-shadow: 0.5em 0.5em lightgrey;
    border: 2px solid var(--mainDark);
    margin: 1.5em auto;
    padding: 2em;
    max-width: 700px;
    width: 35em;
  }
  .contactContainer::after {
  content: "";
  display: block;
  width: 100vw; 
  height: 10px;
  background-color: var(--mainGreen);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

  .contactSection img {
    width: 3em;
    display: block;
    margin: 0 auto 0.5em auto;
  }

  .contactSection h3 {
    font-size: 1.6em;
    color: var(--mainGreen);
    font-family: var(--headerFont);
  }

  .contactSection a {
    text-decoration: none;
    color: var(--mainDark);
    font-size: 1.2em;
    font-family: var(--mainFont);
  }

  #storySection {
      border: 3px solid var(--mainDark);
      margin: 1.4em;
    }

    #storySection p {
      font-size: 1.2em;
      font-weight: bold;
    }

  #servicesGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .servicesSection {
    margin: 2em;
    position: relative;
    overflow: hidden;
    
  }

  .servicesSection:nth-of-type(5) {
    grid-column: 1/-1;
    justify-self: center;
  }

  .servicesSection img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
  }

  .servicesSection::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    pointer-events: none;
    border-radius: 15px;
    z-index: 1;
  }

  .servicesSection p {
    position: absolute;
    bottom: 8%;
    right: 4%;
    text-align: right;
    color: var(--mainLight);
    font-family: var(--anchorFont);
    font-weight: bold;
    font-size: 1.4em;
    z-index: 2;
  }

  .dealsDesktop {
    display: flex;
  }

  .dealsImg {
    width: 40%;
    height: auto;
    border-radius: 12px;
  }
  .dealsText h3 {
      color: var(--mainGreen);
      font-family: var(--headerFont);
      font-size: 2em;
      text-align: center;
    }

    .dealsText ul {
      font-family: var(--mainFont);
      font-size: 1.2em;
      list-style-image: url(../images/lawnmower.png);
    }

    .dealsText li {
      border-bottom: thin solid black;
      margin: 0.8em;
      padding-bottom: 0.4em;
    }

  .priceList {
      background-color: var(--mainGreen);
      color: var(--mainLight);
      padding: 0.8em;
      margin: 1em;
      border-radius: 15px;
      width: 80%;
      max-width: 80%;
    }

    .priceList h3 {
      font-family: var(--headerFont);
      letter-spacing: 1px;
      text-align: center;
      font-size: 1.4em;
    }

    .priceList ul {
      font-family: var(--anchorFont);
      font-weight: bold;
      font-size: 1.2em;
      list-style-image: url(../images/dollar-coin.png);
      margin: 0.6em 1.2em;
    }

  .gridSection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 2.5em;
    margin: 2em 0;
  }
  .gridSection .textContent {
    display: flex;
    flex-direction: column;
    gap: 1em;
  }

  .gridSection h2 {
    font-family: var(--headerFont);
    color: var(--mainGreen);
    font-size: 2.3em;
    margin: 0;
  }

  .gridSection p {
    font-family: var(--mainFont);
    font-size: 1.2em;
    line-height: 1.8;
    text-align: justify;
  }

  .gridSection img {
    width: 100%;
    max-width: 800px;
    height: 100%;
    border-radius: 12px;
    justify-self: middle;
  }

  section:nth-of-type(even) .gridSection {
  direction: rtl;
}

section:nth-of-type(even) .gridSection .textGroup {
  direction: ltr;
}

section form {
  max-width: 800px;
  margin: 2em auto;
  padding: 2em;
  border: 3px solid var(--mainDark);
  border-radius: 12px;
  background-color: var(--mainGreen);
  box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.1);
  font-family: var(--mainFont);
}

fieldset {
  border: 2px solid var(--mainLight);
  border-radius: 10px;
  padding: 1.5em;
  margin-bottom: 1.5em;
}

legend {
  font-family: var(--headerFont);
  font-size: 1.4em;
  color: var(--mainLight);
  padding: 0 0.6em;
}

label {
  display: block;
  margin-top: 1em;
  margin-bottom: 0.4em;
  font-weight: bold;
  color: var(--mainLight);
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.8em;
  border: 2px solid var(--mainDark);
  border-radius: 8px;
  font-family: var(--mainFont);
  font-size: 1em;
  background-color: #fff;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--secondaryDark);
  box-shadow: 0 0 6px var(--secondaryDark);
}

fieldset fieldset {
  border-color: var(--mainDark);
  background-color: var(--mainLight);
}

fieldset fieldset legend {
  color: var(--mainDark);
  font-size: 1.2em;
  margin-block-start: 0.6em;
  padding-block-start: 0.8em;
  display: inline-block;
}

fieldset fieldset label {
  display: inline-block;
  margin: 0.4em 1.2em 0.4em 0;
  font-weight: normal;
  color: var(--mainDark);
}

input[type="checkbox"] {
  accent-color: var(--mainGreen);
  margin-right: 0.4em;
}

.form-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5em;
  margin-top: 1.8em;
}

.form-buttons input[type="submit"],
.form-buttons button[type="reset"] {
  background-color: var(--mainLight);
  color: var(--mainDark);
  border: 3px solid var(--mainDark);
  border-radius: 8px;
  padding: 0.7em 1.6em;
  font-family: var(--anchorFont);
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.form-buttons input[type="submit"] {
  background-color: var(--secondaryDark);
  color: var(--mainDark);
}

.form-buttons button[type="reset"] {
  background-color: var(--mainLight);
  color: var(--mainDark);
}

.form-buttons input[type="submit"]:active, .form-buttons button[type="reset"]:active  {
  background-color: var(--secondaryLight);
  color: var(--mainDark);
}

.hours-section {
  max-width: 700px;
  margin: 2em auto;
  text-align: center;
  font-family: var(--mainFont);
}

.hours-section h2 {
  color: var(--mainGreen);
  font-family: var(--headerFont);
  font-size: 2em;
  margin-bottom: 1em;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--mainLight);
  border: 3px solid var(--mainDark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
}

.hours-table th {
  background-color: var(--mainGreen);
  color: var(--mainLight);
  font-family: var(--anchorFont);
  font-size: 1.1em;
  padding: 0.8em;
  border-bottom: 3px solid var(--mainDark);
}

.hours-table td {
  padding: 0.9em;
  border-bottom: 1px solid var(--mainDark);
  color: var(--mainDark);
  font-weight: 500;
}

.hours-table tr:nth-child(even) {
  background-color: #dfe5d8;
}

.hours-table tr:hover {
  background-color: var(--secondaryLight);
  transition: background-color 0.2s ease;
}

.video video {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: 500px;
  align-items: center;
  vertical-align: middle;
  padding: 0;
}

.staff-body {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 2rem 0;
  max-width: 1100px;
  margin: 0 auto;

  div {
    display: grid;
    grid-template-columns: 10px 250px 1fr;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--mainGreen);
    border: 6px solid var(--mainDark);
    box-shadow: 12px 12px 0px lightgrey;
    border-radius: 4px;

    img {
      width: 100%;
      height: auto;
      object-fit: cover;
      border-radius: 4px;
      grid-column: 2;
    }

    p {
      font-family: var(--mainFont);
      font-size: 1.3rem;
      line-height: 1.6;
      color: var(--mainLight);
      margin: 0;
      margin: 10px;
      font-weight: 600;
      grid-column: 3;
    }
  }

  div::before {
    content: "";
    width: 10px;
    height: 100%;
    background-color: var(--secondaryDark);
    border-radius: 3px;
    grid-column: 1;
  }

  div:nth-child(even) {
    grid-template-columns: 1fr 250px 10px;

     img {
      grid-column: 2;
      order: 1;
     }
     p {
      grid-column: 1;
     }
  }

  div:nth-child(even)::before {
    grid-column: 3;
    order: 3;
  }

}

.linksRow {
  ul li {
    font-family: var(--mainFont);
    list-style-image: url(../images/lawnmower.png);
    font-weight: 600;
    font-size: 1.2em;
  }
  h3 {
    font-family: var(--headerFont);
    font-size: 1.4em;
    color: var(--mainLight);
    text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black;
  }
  a {
    color: var(--secondaryDark);
    text-decoration: none;

    text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black;
  }

  section {
    border: 3px double var(--mainLight);
    padding: 15px;
    border-width: thick;
    background-color: var(--mainGreen);
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  
}
  footer {
  position: relative;
  text-align: center;
  padding: 2em 0 1em 0;
  font-family: var(--anchorFont);
  background-color: var(--mainLight);
  overflow: hidden;
  margin-top: 2em;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 10px;
  background-color: var(--mainGreen);
}

footer::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 10px;
  background-color: var(--mainGreen);
  max-width: none;
}
}