/* ===== RESPONSIVE STYLE ===== */

@media (max-width:1440px) {
  html {font-size: 0.55vw}
  .container {max-width: 1240px;}
}

@media (max-width:1366px) {
  .first__screen {
    padding: 21rem 0;
  }
}

@media (max-width:1280px) {
  /* Mobile menu */
  .mobile-btn {
    width:25px;
    display: block;
    flex: none;
    margin-left:20px;
  }
  .mobile-btn span{
    display: block;
    height: 2px;
    background-color: #000;
    border-radius: 2px;    
  }
  .mobile-btn span:not(:last-child){margin-bottom:5px;}
  .nav {
    position: fixed;
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    transform: translateX(100%);
    visibility: hidden;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F2F4F6;
    padding: 45px 20px;
    transition: all .3s;
    z-index: 120;
    overflow-y:auto;
  }
  .nav.active{
    transform: translateX(0);
    visibility: visible;
  }
  .close-menu {
    width: 25px;
    height: 25px;
    position: absolute;
    top: 20px;
    right: 20px;
  }
  .close-menu::before,
  .close-menu::after{
    content: '';
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background-color: #000;
    position: absolute;
    left: 0;
    top: 50%;
  }
  .close-menu::before{transform: rotate(45deg);}
  .close-menu::after{transform: rotate(-45deg);}

  .menu {flex-direction: column;}
  .menu li {margin: 0 0 25px 0;text-align: center;}
  .menu li a{
    font-size: 16px;
    color: #000;
  }
  .mobile-menu__content {
    display:block;
    padding-top: 20px;
    border-top:1px solid #dbdbdb;
  }
  /* // Mobile menu */

  .advantages {
    padding: 6rem 0;
  }
  .language {
    display: none;
  }
  .language.mobile {
    display: flex;
    justify-content: center;
    margin:0 0 2rem;

  }
}

@media (max-width:1024px) {
  html {font-size: 0.7vw;}
  .tablet-col-2 {grid-template-columns: repeat(2, 1fr);}
  .tablet-col-3 {grid-template-columns: repeat(3, 1fr);}

  .nav {
    width: 100%;
  }
  .main__title__text {
    font-size: 8rem;
  }
}

@media (max-width:768px) {
  html {font-size: 10px;}
  p, ul li, ol li, a, .text {font-size: 15px;}
  
  .sm-hide {display:none;}
  .sm-show {display:block;}
  .sm-show.flex {display:flex;}

  .popup-window, .thanks-window {width: calc(100% - 40px);}

  .sm-col-1 {grid-template-columns: repeat(1, 1fr);}
  .sm-col-2 {grid-template-columns: repeat(2, 1fr);}
  .sm-col-3 {grid-template-columns: repeat(3, 1fr);}
  .sm-col-1 .item {grid-column: auto; grid-row: auto;}

  .mw-100 {width:100%;}

  .first__screen {
    padding: 17rem 0;
  }
  .first__screen::before {
    width: 100%;
    backdrop-filter: none;
  }
  .main__title__text {
    font-size: 7rem;
  }
  .main__title__text br {
    display: none;
  }
  .fs__content .h3 {
    width: auto;
  }
  .fs__content p {
    font-size: 18px;
    width: 70%;
  }
  .advantages {
    padding: 5rem 0;
  }
  .action .btn__container {
    margin-top:30px;
  }
  .action__head {
    margin-bottom:20px;
  }
  .action__content__icon {
    width: 7rem;
    height: 7rem;
  }
  .action__head .h3 {
    margin:0;
  }
  .about__content {
    display: flex;
    flex-direction: column-reverse;
  }
  .header .container {
    padding: 0 20px;
  }
  .logo {
    margin-right: 5rem;
  }
  .contact__item__text span {
    color: #fff;
  }
  .gallery-slider .prev-slide {
    left: 2rem;
  }
  .gallery-slider .next-slide {
    right: 2rem;
  }
  .prev-slide, .next-slide {
    width: 5rem;
    height: 5rem;
  }
  .prev-slide svg, .next-slide svg {
    width: 0.5em;
  }
  .logo {
    margin-right: 0;
  }
  .decor__patern {
    width: 75rem;
    height: 75rem;
  }
  .nav {
    padding: 6rem 3rem;
  }
  .menu li a, .contact__item {
    font-size: 16px;
  }
  .contacts .contact__item {
    font-size: 3rem;
  }
  .input-wrapper input, .input-wrapper textarea, .input-wrapper input::placeholder, .input-wrapper textarea::placeholder, .select .placeholder {
    font-size: 15px;
  }
  .input-wrapper input, .input-wrapper textarea {
    height: 4.5rem;
  }
  .btn {
    padding: 1em 2em;
  }
  .logo {
    width: 20rem;
  }
  .service__slider .slide {
    padding: 0 1rem;
  }
  .service__slider .slick-list {
    margin: 0 -1rem;
  }
  .statistic {
    position: relative;
    bottom: auto;
    right: auto;
    border-radius: 20px;
    margin-top:20px;
    width: 100%;
    border:none;
  }
  .stat__index {
    font-size: 5rem;
  }
  .contact__body {
    padding: 2rem;
    width: 100%;
  }
  .service__title {
    min-height: 4em;
  }

}

@media (max-width:767px) {  
  .mobile-col-1 {grid-template-columns: repeat(1, 1fr);}
  .mobile-col-2 {grid-template-columns: repeat(2, 1fr);}
  .mobile-col-1 .item {grid-column: auto; grid-row: auto;}

  .main__title__text {
    font-size: 4rem;
  }
  .fs__content p {
    font-size: 18px;
    width: 100%;
    margin-top: 10px;
  }
  .first__screen {
    padding: 10rem 0;
  }
  .decor__patern {
    width: 40rem;
    height: 40rem;
  }
  .decor__title {
    font-size: 4rem;
  }
  .about__content .h2 {
    text-align: center;
  }
  .about__content .h2::after {
    right: 50%;
    transform: translateX(50%);
  }
  .moz__license {
    width: 100%;
    margin-top: 2rem;
    font-size: 15px;
  }
  .brand {
    font-size: 5rem;
  }
  .contact .contact__item {
    font-size: 18px;
  }
  .map__area {
    height: 35rem;
  }
}

@media (max-width:480px) {  
  .btn {width:100%;padding:1em 2em;}
}
