/* CSS Document */
@media screen and (max-width: 1000px) {
  body {
    margin-top: 60px;
  }

  /* HEADER */

  #header {
    height: 60px;
  }
  #header #header-container {
    padding-bottom: 0;
  }
  #header .logo {
    top: 25px;
    width: 90px;
  }
  body.scroll #header .logo {
    top: 15px;
    width: 70px;
  }
  #header .nav-button {
    display: flex;
    width: 40px;
    height: 40px;
  }

  #header nav {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top: 0;
    right: 0;
    width: calc(100% - 44px);
    max-width: 400px;
    height: 100%;
    transform: translateX(100%);
    transition: all ease 0.5s;
    z-index: 1;
    background-color: #fff;
  }
  #header nav.active {
    transform: translateX(0);
  }
  #header nav .close {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 10px;
    right: 5.5%;
    width: 40px;
    height: 40px;
    font-size: 8px;
    border-radius: 50%;
    background-color: var(--green);
  }
  #header nav .close img {
    width: 20px;
    filter: invert(1);
  }
  #header nav ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  #header nav ul li a {
    font-size: 21px;
  }

  #header-image {
    flex-direction: column;
    height: auto;
  }

  #header-image-content {
    order: 2;
    padding: 45px 7.5% 60px 7.5%;
    width: 100%;
  }
  #header-image-content .center h1 {
    font-size: 36px;
  }
  #header-image-content .center h1:after {
    top: -7px;
    right: -20px;
    padding: 4px 4px 4px 6px;
    font-size: 10px;
    letter-spacing: 1px;
    border-radius: 2px;
  }
  #header-image-content .center span {
    font-size: 24px;
  }
  #header-image-content .center .buttons {
    flex-direction: column;
    margin-top: 30px;
  }
  #header-image-content .center .buttons a.btn {
    font-size: 18px;
  }

  #header-image-image {
    position: relative;
    order: 1;
    width: 100%;
    height: 200px;
  }

  /* CONTENT */

  body.subpage {
    background-color: transparent;
  }
  body.subpage h1 {
    font-size: 28px;
  }
  body.subpage h2 {
    font-size: 20px;
  }
  body.subpage .row .content {
    flex-direction: column;
    gap: 30px;
    padding: 90px 0 60px 0;
    width: 85%;
  }
  body.subpage .row .content .page_content {
    padding: 0;
  }
  body.subpage p:last-of-type {
    margin-bottom: 0;
  }

  .row.taglines h2 {
    font-size: 24px;
    line-height: 1.2;
  }
  .row.taglines .content {
    flex-direction: column;
  }
  .row.taglines .page_content {
    margin: 0 auto;
    padding: 60px 0;
    width: 85%;
  }
  .row.taglines ul {
    margin-top: 15px;
  }
  .row.taglines ul li span {
    font-size: 21px;
  }
  .row.taglines .image {
    padding: 60px 7.5% 45px 7.5%;
    width: 100%;
  }

  .row.app h2 {
    font-size: 24px;
    line-height: 1.2;
  }
  .row.app .content {
    flex-direction: column;
  }
  .row.app .page_content {
    order: 1;
    margin: 0 auto;
    padding: 60px 0;
    width: 85%;
    font-size: 18px;
  }
  .row.app .image {
    order: 2;
    padding: 60px 7.5% 45px 7.5%;
    width: 100%;
  }

  /* HOMEPAGE */

  /* FOOTER */

  #footer {
    margin: 0 auto;
    padding: 45px 0 60px 0;
    width: 85%;
    font-size: 18px;
  }
}
