@media screen and (max-width: 940px) {
  header {
    max-width: 780px;
  }

  .header-nav {
    justify-content: center;
    margin-bottom: 2rem;
  }

  .contact-box {
    font-size: 24px !important;
    text-align: center;
  }

  .contact-page-content {
    flex-direction: column;
  }
}

@media screen and (max-width: 740px) {
  nav {
    display: flex;
    position: absolute;
    width: 100%;
    top: 200px;
    left: 0;
    z-index: 999;
    max-height: 0;
    transition: all 500ms;
    overflow: hidden;
  }

  nav.active {
    max-height: 999px;
  }

  nav ul {
    flex-grow: 1;
    flex-direction: column;
    background-color: white;
  }

  nav ul.sf-menu:first-child {
    padding: 14px 0;
  }

  ul.sf-menu > li {
    margin: 0 20px;
  }

  ul.sf-menu > li {
    border-top: unset !important;
    border-bottom: #c2bfbb 1px solid;
  }

  ul.sf-menu > li.current,
  ul.sf-menu > li:hover {
    border-bottom: #84b607 1px solid !important;
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 3px;
    position: absolute;
    right: 14px;
    top: 25px;
    cursor: pointer;
  }

  .mobile-menu div {
    background-color: #5ea547;
    height: 4px;
    width: 24px;
  }

  .box-row {
    margin-top: 0;
  }

  footer {
    padding-top: 0;
    padding-bottom: 20px;
  }

  footer .footer-row {
    text-align: center;
    flex-direction: column;
    gap: 2rem;
  }
}

@media screen and (max-width: 540px) {
  nav {
    top: 250px;
  }
  .contact-box span {
    display: block;
    margin: 1rem 0;
  }
}
