/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

/* ------FOR SMALL SCREEN------ */

nav .fas {
  display: none;
}

@media screen and (max-width: 1376px) {
  .left-section {
    font-size: 2rem;
  }
}

@media screen and (max-width: 1170px) {
  nav {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .first-section {
    margin-bottom: -21px;
    margin-top: 200px;
  }
}

@media screen and (max-width: 1110px) {
  .buttons {
    /* width: 150px; */
    font-size: 15px;
    padding: 0 12px;
  }

  .buttons .BTN {
    padding: 12px 12px;
  }
}

@media screen and (max-width: 1033px) {
  nav {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .left-section {
    margin-top: 135px;
  }
}

@media screen and (max-width: 1000px) {
  nav ul {
    z-index: 2;
  }

  .left-section {
    font-size: 2rem;
  }

  .right-section {
    margin-top: 120px;
  }
}

@media screen and (max-width: 915px) {
  .left-section {
    font-size: 1.4rem;
  }

  @media screen and (max-width: 800px) {
    .left-section {
      font-size: 1.5rem;
    }

    nav {
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
          -ms-flex-direction: column;
              flex-direction: column;
    }

    .buttons .BTN {
      font-size: 13px;
      padding: 12px 12px;
    }
  }

  .sub-title {
    font-size: 37px;
  }

  .left img {
    width: 140px;
  }
}

@media screen and (max-width: 700px) {
  #lottie2 {
    margin: auto;
    width: 50% !important;
  }

  nav ul {
    z-index: 2;
  }

  nav .fa2 {
    right: -268px;
  }

  .left-section {
    font-size: 2rem;
  }

  .first-section {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    margin-top: 10px;
  }

  .first-section>div {
    width: 50%;
  }

  .about-col-1 {
    display: block;
    margin: auto;
    -ms-flex-preferred-size: 70%;
        flex-basis: 70%;
  }

  .row {
    margin-top: -85px;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .about-col-1 img {
    margin: 15px auto;
    display: block;
  }

  .left img {
    width: 90px;
  }

  .first-section {
    margin-top: 38px;
  }

  nav ul {
    margin: 18px 0;
  }

  form {
    margin-top: 45px;
  }

  .social-icons {
    font-size: 16px;
  }

  .first-section>div {
    width: 40%;
  }

  #msg {
    -webkit-box-pack: space-evenly;
        -ms-flex-pack: space-evenly;
            justify-content: space-evenly;
  }
}

@media screen and (max-width: 650px) {
  .left img {
    width: 100px;
  }

  .first-section {
    margin-top: 54px;
  }

  nav ul {
    margin: 12px 0;
    z-index: 2;
  }
}

@media screen and (max-width: 725px) {
  .left-section {
    font-size: 1.4rem;
  }

  nav .fas {
    display: block;
    cursor: pointer;
  }

  nav ul {
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    position: fixed;
    top: 0px;
    right: 0;
    z-index: 2;
    width: 200px;
    height: 100vh;
    background: #5c32cf;
    -webkit-transition: right 0.5s;
    -o-transition: right 0.5s;
    transition: right 0.5s;
    border-top-left-radius: 10px;
  }

  nav ul li {
    margin: 20px 45px;
  }

  nav ul .fa1 {
    margin: 31px 0px 25px 17px;
  }

  nav .fa2 {
    position: relative;
    /* top: 42px;
                            right: 54px; */
    top: -75px;
    right: -292px;
  }

  .sub-title {
    font-size: 40px;
  }

  .about-col-1,
  .about-col-2 {
    -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
  }

  .about-col-1 {
    margin-bottom: 30px;
  }

  .about-col-2 {
    font-size: 14px;
  }

  .tab-links {
    font-size: 16px;
    margin-right: 20px;
  }

  .contact-left,
  .contact-right {
    -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
  }

  .copyright {
    font-size: 14px;
  }
}

@media screen and (max-width: 712px) {
  nav .fa2 {
    right: -320px;
  }
}

@media screen and (max-width: 667px) {
  nav .fa2 {
    right: -230px;
  }
}

@media screen and (max-width: 663px) {
  nav .fa2 {
    right: -273px;
  }
}

@media screen and (max-width: 600px) {
  nav .fa2 {
    right: -230px;
  }
}

@media screen and (max-width: 550px) {
  .first-section>div {
    width: 52%;
  }
}

@media screen and (max-width: 480px) {
  nav .fa2 {
    right: -202px;
  }
}

@media screen and (max-width: 465px) {
  nav ul {
    z-index: 2;
  }

  nav .fa2 {
    right: -185px;
  }

  #lottie {
    width: 110% !important;
  }
}

@media screen and (max-width: 440px) {
  nav ul {
    z-index: 2;
  }

  nav .fa2 {
    right: -153px;
  }

  .left-section {
    font-size: 1.3rem;
  }

  .buttons {
    margin-top: 22px;
    margin-bottom: 10px;
  }

  .buttons .BTN {
    margin: 10px;
    padding: 12px 8px;
    font-size: 10px;
  }

  .buttons i {
    font-size: 12px;
  }
}

@media screen and (max-width: 408px) {
  .buttons .BTN {
    margin: 10px;
    font-size: 10px;
  }

  .buttons {
    /* margin: 26px; */
    text-align: center;
  }

  .buttons {
    padding: 0;
    /* margin: 0; */
    width: 100%;
  }
}

@media screen and (max-width: 403px) {
  .buttons .BTN {
    /* padding: 8px 18px; */
    margin: 10px;
    font-size: 10px;
  }

  .buttons {
    /* margin: 26px; */
    text-align: center;
  }

  @media screen and (max-width: 400px) {
    nav ul {
      z-index: 2;
    }

    nav .fa2 {
      right: -150px;
    }


    .header-text {
      margin-top: 34px;
    }

    .first-section {
      margin-top: -28px;
    }

    .contact-right {
      margin-top: 20px;
    }
  }

  @media screen and (max-width: 368px) {
    #about {
      padding: 0;
    }

    .right-section img {
      margin: 45px 0;
    }

    nav ul {
      z-index: 2;
    }

    .row {
      margin-top: 0px;
    }

    .services-list2 img {
      width: 95px;
    }

    .left-section {
      font-size: 1.3rem;
    }
  }

  @media screen and (max-width: 362px) {
    .first-section {
      margin-top: 65px;
    }
  }

  @media screen and (max-width: 340px) {
    nav .fa2 {
      right: -130px;
    }
  }


  @media screen and (max-width: 361px) {
    nav ul {
      z-index: 2;
    }

    .left-section {
      font-size: 1rem;
    }

    .left-section .BTN {
      padding: 14px 29px;
      font-size: 14px;
    }

    .right-section {
      margin-top: -20px;
    }

    /* .left-section{
                                    margin-top: 0;
                                } */
  }

  @media screen and (max-width: 300px) {
    nav ul {
      z-index: 2;
    }

    .left-section .BTN {
      font-size: 14px;
    }

    nav .fa2 {
      right: -114px;
    }
  }
}