/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

:root {
  --white: #ffffff;
  --ghostWhite: #f8f8ff;
  --grey: #a4a4a4;
  --black: #000000;
  --red: #ff5757;

  --fs-small: 16px;
  --fs-medium: 22px;
  --fs-large: 28px;
}

@media screen and (max-width: 1024px) {
  .what-we-do {
    padding: 20px;
  }
}

@media screen and (max-width: 768px) {
  .row p {
    padding: 0 15px;
  }

  section {
    padding: 20px 0 0 0;
  }

  img {
    width: auto;
    vertical-align: middle;
  }

  .nav-container {
    padding: 0;
    position: relative;
    height: 7.5vh;
    z-index: 1;
  }

  .navbar-icon {
    margin-right: auto;
    padding: 5px 5px 5px 5%;
    z-index: 2;
  }

  .navbar-text {
    display: none;
  }

  .nav-links li a {
    color: var(--white);
  }

  .line {
    width: 30px;
    height: 3px;
    margin: 5px;
    background: var(--red);
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }

  .hamburger {
    position: absolute;
    cursor: pointer;
    right: 5%;
    top: 50%;
    -webkit-transform: translate(-5%, -50%);
    -ms-transform: translate(-5%, -50%);
    transform: translate(-5%, -50%);
    z-index: 2;
  }

  .hamburger.open .line {
    background: var(--white);
  }

  .hamburger.open .line:nth-child(2) {
    opacity: 0;
  }

  .hamburger.open .line:nth-child(1) {
    -webkit-transform: translateY(8px) rotate(45deg);
    -ms-transform: translateY(8px) rotate(45deg);
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.open .line:nth-child(3) {
    -webkit-transform: translateY(-8px) rotate(-45deg);
    -ms-transform: translateY(-8px) rotate(-45deg);
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links {
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: fixed;
    background: var(--red);
    height: 100vh;
    width: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    clip-path: inset(0 0 100% 0);
    -webkit-clip-path: inset(0 0 100% 0);
    -webkit-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
    pointer-events: none;
  }

  .nav-links.open {
    clip-path: inset(0 0 0 0);
    -webkit-clip-path: inset(0 0 0 0);
    pointer-events: all;
  }

  .nav-links li {
    padding: 0;
    opacity: 0;
  }

  .nav-links li a {
    font-size: var(--fs-large);
  }

  .nav-links li:nth-child(2) {
    -webkit-transition: all 0.5s ease 0.1s;
    -o-transition: all 0.5s ease 0.1s;
    transition: all 0.5s ease 0.1s;
  }
  .nav-links li:nth-child(3) {
    -webkit-transition: all 0.5s ease 0.2s;
    -o-transition: all 0.5s ease 0.2s;
    transition: all 0.5s ease 0.2s;
  }
  .nav-links li:nth-child(4) {
    -webkit-transition: all 0.5s ease 0.3s;
    -o-transition: all 0.5s ease 0.3s;
    transition: all 0.5s ease 0.3s;
  }
  .nav-links li:nth-child(5) {
    -webkit-transition: all 0.5s ease 0.4s;
    -o-transition: all 0.5s ease 0.4s;
    transition: all 0.5s ease 0.4s;
  }

  li.fade {
    opacity: 1;
  }

  .nav-footer {
    color: var(--white);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 1rem;
  }

  .nav-footer a {
    color: var(--white);
    text-decoration: underline;
  }

  [class^="icon-"],
  [class*=" icon-"] {
    display: inline-block;
    width: 1em;
    height: 1em;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
  }

  /* ----------------------------------------- */
  /* LANDING */
  /* ----------------------------------------- */
  .landing {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-image: -webkit-gradient(
        linear,
        left top,
        left bottom,
        from(rgba(0, 0, 0, 0.7)),
        to(rgba(0, 0, 0, 0.7))
      ),
      url(/resources/imgs/LGS-Business-Owner.png);
    background-size: cover;
    background-position: center;
  }

  .landing-img {
    display: none;
  }

  .landing-text {
    -webkit-box-flex: 0;
    -ms-flex: 0;
    flex: 0;
    padding: 20px;
  }

  .landing-text h3 {
    font-size: var(--fs-medium);
  }

  a.contact-btn {
    display: block;
    margin: 0.4em auto;
    width: 50%;
  }

  /* ----------------------------------------- */
  /* WHAT WE DO */
  /* ----------------------------------------- */
  .what-we-do {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    text-align: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .about-us-text {
    display: inline;
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
    margin-bottom: 20px;
  }

  .what-we-do-text {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    margin: 20px 0;
    padding: 0;
  }

  .what-we-do-hack {
    display: none;
  }

  .what-we-do-imgs {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
  }

  .image-spliter {
    display: none;
  }

  .video-block {
    display: inline-block;
  }

  .video-block h2 {
    margin-bottom: 10px;
  }

  .video-container {
    position: relative;
  }

  .video-container video {
    position: relative;
    z-index: 100;
  }

  .video-container img {
    position: absolute;
    display: block;
    z-index: 150;
    left: 10px;
    top: 10px;
  }
  /* ----------------------------------------- */
  /* SERVICES */
  /* ----------------------------------------- */
  .services-row {
    padding: 0 20px 0 20px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .services-content {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    margin: 10px 0 10px 0;
  }

  .content-heading {
    display: block;
  }

  .content-heading::after {
    display: none;
  }

  .content-heading svg,
  .content-heading h3 {
    display: inline;
  }

  .content-heading svg {
    margin-right: 2%;
  }

  #services-extras {
    margin: 0;
    padding-bottom: 20px;
    margin-bottom: 0;
  }

  /* ----------------------------------------- */
  /* SERVICES */
  /* ----------------------------------------- */
  .reviews-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .review-container {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding: 15px;
  }

  .review-container h3 {
    margin: 0;
  }

  .stars {
    display: inline;
  }

  .stars svg:hover {
    fill: var(--white);
  }

  /* ----------------------------------------- */
  /* GALLERY */
  /* ----------------------------------------- */
  .gallery:hover .gallery-image {
    -webkit-filter: none;
    filter: none;
  }

  .gallery-caption {
    display: none;
  }

  /* ----------------------------------------- */
  /* CONTACT */
  /* ----------------------------------------- */
  .contact-form {
    width: 80%;
  }

  /* ----------------------------------------- */
  /* FOOTER */
  /* ----------------------------------------- */
  .footer-row {
    display: none;
  }

  .mobile-icons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 5%;
  }

  .mobile-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--white);
  }

  #footer-copy {
    width: 75%;
  }
}
