/* tablets (landscape) and PC browsers 1023 to 1200px width */
@media only screen and (max-width: 1200px) {
  .hero-text-box {
    width: 100%;
    padding: 0 2%;
  }

  .row {
    padding: 0 2%;
  }
}

/* tablets (portrait) 768 to 1023px width */
/* also PC browser windows narrower than full screen */
@media only screen and (max-width: 1023px) {
  body {
    font-size: 18px;
  }

  section {
    padding: 60px 0;
  }

  .long-copy {
    width: 80%;
    margin-left: 10%;
  }

  .steps-box {
    margin-top: 10px;
  }

  .steps-box:last-child {
    margin-top: 60px;
  }

  .works-step {
    margin-bottom: 40px;
  }

  .works-step:last-of-type {
    margin-bottom: 50px;
  }

  .app-screen {
    width: 50%;
  }

  .btn-app img {
    height: 40px;
    /* width: auto;
      margin-right: 10px; */
  }

  .icon-small {
    width: 20px;
  }

  .location-feature {
    font-size: 90%;
  }

  .plan-box {
    width: 100%;
    margin-left: 0;
  }

  .plan-price {
    font-size: 150%;
  }

  .contact-form {
    width: 80%;
  }

  footer {
    font-size: 80%;
  }
}

/* large phones/mini tablets 481 to 767px width */
/* standard tablets start at 768px */
@media only screen and (max-width: 767px) {
  body {
    font-size: 16px;
  }

  section {
    padding: 30px 0;
  }

  .row,
  .hero-text-box {
    padding: 0 4%;
  }

  .col {
    width: 100%;
    margin: 0 0 2% 0;
  }

  header nav div {
    display: flex;
    justify-content: space-between;
    width: 85%;
  }

  .logo {
    height: 120px;
  }

  .mobile-open .logo-black {
    display: none;
  }

  .mobile-nav-open {
    display: block;
  }

  .mobile-nav-close {
    display: none;
  }

  .mobile-open .mobile-nav-open {
    display: none;
  }

  .mobile-open .mobile-nav-close {
    display: block;
    display
  }

  .main-nav {
    display: none;
  }

  .mobile-open .main-nav {
    display: block;
  }

  .mobile-open .main-nav li {
    text-align: center;
    display: block;
    font-size: 120%;
    margin-bottom: 10px;
  }

  h1 {
    text-align: center;
    font-size: 160%;
    line-height: 150%;
  }

  h2 {
    letter-spacing: 0;
    font-size: 130%;
  }

  .icon-large {
    width: 48px;
  }

  .long-copy {
    width: 100%;
    margin-left: 0;
  }

  .works-step div {
    height: 40px;
    width: 40px;
    margin-right: 15px;
    padding: 4px;
  }

  .works-step {
    margin-bottom: 20px;
  }

  .works-step:last-of-type {
    margin-bottom: 20px;
  }

  .app-screen {
    width: 35%;
  }

  .steps-box:first-child {
    margin-top: 20px;
    text-align: center;
  }

  .steps-box:last-child {
    margin-top: 20px;
  }

  .button-group {
    display: flex;
    justify-content: center;
  }

  .btn-app img {
    margin: 0 10px;
  }

  .section-locations h3 {
    margin-left: 60px;
    margin-bottom: 5px;
  }

  .location-feature {
    font-size: 100%;
    margin-left: 60px;
  }

  .section-testimonials cite {
    margin-top: 0;
  }

  .plan-box div {
    padding: 7px;
  }

  .contact-form {
    width: 90%;
  }

  footer {
    font-size: 90%;
  }

  .footer-nav,
  .social-icons {
    float: none;
    display: flex;
    justify-content: center;
  }
}

/* small phones 0 to 480px width */
@media only screen and (max-width: 480px) {
  section {
    padding: 20px 0;
  }

  .contact-form {
    width: 100%;
  }
}
