/* *************************************** */
/* 1000px */
/* *************************************** */
@media only screen and (max-width: 62.5em) {
  html {
    font-size: 56.25%;
  }
  .header__logo-box {
    margin-left: 0rem;
  }

  .header__nav {
    display: none;
  }

  .header__btn-box {
    display: none;
  }

  .header__box {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .mobile__nav-btn {
    display: block;
  }

  .nav-btn {
    display: block;
  }

  .cta__container {
    padding: 2rem;
    column-gap: 4rem;
  }

  .cta__text {
    max-width: 30.6rem;
    width: 100%;
  }

  .footer__container {
    gap: 10rem;
  }
}

/* *************************************** */
/* 1000px */
/* *************************************** */
@media only screen and (min-width: 62.5em) {
  .nav__checkbox:checked ~ .mobile__nav {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }
}

/* *************************************** */
/* 800px */
/* *************************************** */
@media only screen and (max-width: 62.5em) {
  .header__logo {
    height: 11rem;
  }

  .section__hero {
    padding: 18.5rem 0;
  }

  .section__hero-text {
    font-size: 2.5rem;
  }
  .cta__container {
    padding: 0rem;
    column-gap: 4rem;
    grid-template-columns: 1fr;
  }
  .cta__text {
    max-width: 100%;
    width: 100%;
  }

  .footer__container {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* *************************************** */
/* 464px */
/* *************************************** */
@media only screen and (max-width: 29em) {
  .header__logo {
    height: 6rem;
  }

  .section__hero-text {
    font-size: 2.1rem;
  }

  .header {
    padding: 2rem 0 1rem;
  }

  .container {
    padding: 0 2.5rem;
  }

  .cta__heading {
    font-size: 3.3rem;

    margin-bottom: 3.2rem;
  }

  .cta__text {
    line-height: 3rem;
  }

  .fname-box,
  .lname-box {
    grid-column: 1/3;
  }

  .footer {
    padding: 6rem 0 5rem;
  }

  .footer__text-heading {
    font-size: 2.2rem;

    line-height: 3.3rem;
    margin-bottom: 3rem;
  }
}
