@media (min-width: 1600px) {
  .work__grid,
  .news__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .sectione__timeline .container:after {
    bottom: -12%;
    max-width: 1024px;
    max-height: 1024px;
  }
  .sectione__timeline .container .h3__name:after,
  .sectione__timeline .container .h3__name::before {
    right: 10%;
  }

  .sectione__timeline .container .h3__name::before {
    left: 10%;
  }
}

@media (min-width: 1800px) {
  html {
    font-size: clamp(14px, 1vw + 0.5rem, 15px);
  }
  .main {
    position: relative;
    height: 100vh;
  }

  .bg {
    position: absolute;
    width: 100%;
    height: 100vh;
  }
}
@media (max-width: 1124px) {
  html {
    font-size: 55.5%;
  }
  body.lock {
    overflow: hidden;
  }

  .header__burger {
    display: block;
    position: relative;
    width: 30px;
    height: 20px;
    z-index: 7;
    order: 4;
  }

  .header__burger:before,
  .header__burger:after {
    content: '';
    background-color: #fff;
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0px;
    transition: all 0.3s ease 0s;
  }

  .header__burger:before {
    top: 0;
  }

  .header__burger:after {
    bottom: 0;
  }

  .header__burger span {
    background-color: #fff;
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0px;
    top: 9px;
    transition: all 0.3s ease 0s;
  }

  .header__burger.active span {
    transform: scale(0);
  }

  .header__burger.active:before {
    transform: rotate(45deg);
    top: 9px;
  }

  .header__burger.active:after {
    transform: rotate(-45deg);
    bottom: 9px;
  }

  .main {
    min-height: 800px;
  }

  .header__menu {
    position: fixed;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow: auto;
    background: #1f1f1f;
    padding: 00px 20px 00px 10px;
    top: -120%;
    transition: all 0.3s ease 0s;
    z-index: 2;
    flex-direction: column;
    justify-content: center;
    gap: 5rem;
  }

  .header__menu.active {
    top: 0;
    transition: all 0.3s ease 0s;
    visibility: visible;
    opacity: 1;
    height: 100vh;
  }
  .header__list {
    flex-direction: column;
    width: 100%;
    gap: 4rem;
  }

  .header__item {
    text-align: center;
  }
  .header__item + .header__item {
    margin: 0;
  }
  .header__link {
    font-size: 3rem;
  }
  .header__phone {
    order: 1;
    font-size: 2rem;
    justify-content: center;
  }
  .header__phone span {
    display: none;
  }
  .header__phone-number {
    gap: 1rem;
  }
  .language-switcher {
    order: 2;
  }
  .header__wrap .btn__transparent {
    order: 3;
  }
  .header__body .btn__transparent {
    color: var(--white);
    border-color: var(--white);
  }

  .header__wrap .btn__transparent {
    display: none;
  }

  .container__header {
    padding-left: 0rem;
    padding: 0 2rem;
  }
  .social {
    max-width: 100%;
    justify-content: center;
    margin-top: 5rem;
    position: static;
    flex-direction: row;
  }
  .social__line {
    display: none;
  }
  .header__swiper-nav .swiper-pagination-bullet {
    height: var(
      --swiper-pagination-bullet-height,
      var(--swiper-pagination-bullet-size, 3px)
    );
  }
  /* war */
  .war__wrap {
    flex-direction: column;
  }
  .war__combat,
  .war__position {
    width: 100%;
    max-width: 100%;
  }

  .db__tablet {
    display: flex;
    margin: 0;
  }
  .war__position-footer {
    flex-wrap: wrap;
    gap: 2rem;
  }
  .war__position-text {
    margin-bottom: 2rem;
  }
  .war__wrap {
    gap: 4rem;
  }

  .war__position:hover {
    box-shadow: 0 0 5px 0 rgba(255, 255, 255, 0.05);
    background: transparent;
  }

  .war__position:hover .war__position-price {
    color: #00b22d;
  }
  .war__position:hover .war__position-hashtag {
    color: #595959;
  }
  /* adv */
  .adv__wrap {
    display: block;
    width: 100%;
    max-width: 100%;
  }
  .adv__right,
  .adv__swiper-item,
  .adv__swiper-img {
    max-width: 100%;
    width: 100%;
  }
  .adv__left {
    display: none;
  }

  .adv__left-bg {
    max-width: 100%;
  }

  /*timeline*/
  .timeline__content-fifth {
    right: calc(45% + 44px + 30px);
  }
  .timeline__content-fourth {
    left: calc(45% + 44px + 30px);
  }
  /* footer */
  .footer__up {
    bottom: 12rem;
    top: auto;
  }

  /* page about */
  .regiment__wrap {
    flex-direction: column;
  }
  .regiment__left .h2__title,
  .regiment__left .h3__name,
  .regiment__left .text__under {
    text-align: center;
  }

  .work__container {
    grid-template-columns: 1fr;
  }
  .work__grid,
  .news__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .work__card {
    transform: translateY(-0rem);
    outline-color: transparent;
  }
  /* page work */
  .work__section-btn {
    padding: 2rem;
  }
  /* page news */
  .news__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 765px) {
  /* header */
  .title {
    font-size: 4.5rem;
  }
  .header__number,
  .header__swiper-nav .swiper-pagination {
    bottom: -5rem;
    position: static;
  }

  .header__swiper-nav {
    align-items: end;
    width: 100%;
    margin-top: 3rem;
    max-width: fit-content;
    margin-left: auto;
    align-items: center;
  }

  .container__header {
    top: 44%;
  }
  /* about */
  .about {
    padding-top: 5rem;
  }
  .about__wrap {
    flex-direction: column-reverse;
    align-items: center;
  }
  .text__under {
    margin-bottom: 3rem;
  }
  /* war */
  .war__combat {
    padding: 3rem 2rem;
  }
  /* trust */
  .trust__title {
    font-size: var(--h3);
  }
  .trust__item {
    padding: 3rem 2rem;
  }
  .trust__img {
    margin-bottom: 1rem;
  }
  .trust__subtitle {
    margin: 0 auto 2rem auto;
    line-height: 150%;
  }

  .sectione__timeline .container .h3__name:after,
  .sectione__timeline .container .h3__name::before,
  .sectione__timeline .container:after,
  .trust .container::after {
    display: none;
  }
  .sectione__timeline .container {
    overflow: visible;
  }

  /* adv */
  .adv__nav .adv__swiper-scrollbar,
  .trust__nav .trust__swiper-scrollbar,
  .news__nav .news__swiper-scrollbar {
    width: 17.5rem;
  }

  .trust__btn-left,
  .trust__btn-right,
  .adv__btn-left,
  .adv__btn-right,
  .news__btn-left,
  .news__btn-right {
    bottom: -12px;
  }
  .adv__nav .adv__swiper-pagination,
  .trust__nav .trust__swiper-pagination,
  .news__nav .news__swiper-pagination {
    max-width: 6rem;
  }

  .adv__nav,
  .trust__nav,
  .news__nav {
    margin-left: -7%;
  }
  .adv__wrap {
    padding-bottom: 4rem;
  }
  .adv__right,
  .adv__swiper-item,
  .adv__swiper-img {
    max-height: 500px;
  }
  .adv__swiper-text {
    max-height: 12rem;
    opacity: 1;
  }
  /* faq */
  .faq__wrap {
    flex-direction: column;
  }
  .faq__circle {
    left: -26%;
    right: 0;
    top: 5%;
  }

  .sidebar {
    position: static;
  }
  .faq__section {
    max-width: 100%;
  }
  /* footer */
  .footer__wrap {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
  }

  .footer__list {
    margin-bottom: 0;
  }
  .footer__list--margin {
    margin-bottom: 3rem;
  }
  .footer__list li {
    justify-content: center;
  }
  .footer__col {
    flex: 1;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  /* page about */
  .first__screen .title {
    text-align: center;
  }
  .first__screen {
    min-height: 40rem;
  }
  .regiment__box {
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 3rem;
  }
  .regiment__box-img {
    margin-bottom: 1rem;
    margin: 0 auto;
  }
  .regiment__box-item {
    width: 100%;
  }
  /* page work-post */
  .new__vacancies-wrap {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 565px) {
  html {
    font-size: 45%;
  }

  .header__body {
    gap: 3rem;
  }

  .language-switcher {
    gap: 1rem;
  }
  .header__logo img {
    max-width: 5rem;
  }
  .grid {
    display: none;
  }

  /* trust */
  .trust__wrap {
    flex-direction: column;
    gap: 3rem;
  }
  .trust__item {
    width: 100%;
  }

  /* timeline */

  .timeline {
    right: -28px;
  }

  .timeline__wrap {
    align-items: flex-start;
  }

  .timeline__content-first,
  .timeline__content-second,
  .timeline__content-third,
  .timeline__content-fourth,
  .timeline__content-fifth {
    left: 78px;
    right: 0;
    text-align: left;
    justify-content: left;
    align-items: flex-start;
  }

  .timeline__content-first {
    top: 1.2%;
  }

  .timeline__content-second {
    top: 31.8%;
  }
  .timeline__content-third {
    bottom: 41.8%;
  }

  .timeline__content-fourth {
    top: 78.7%;
  }
  .timeline__content-fifth {
    bottom: -7.5%;
  }
  .sectione__timeline .btn__position {
    margin-top: 20rem;
  }

  /* page about */
  .work__grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 420px) {
  .trust__btn-left,
  .trust__btn-right,
  .adv__btn-left,
  .adv__btn-right,
  .news__btn-left,
  .news__btn-right {
    right: -21px;
  }
  .trust__btn-left,
  .adv__btn-left,
  .news__btn-left {
    right: 2.5rem;
  }
  .adv__nav .adv__swiper-scrollbar,
  .trust__nav .trust__swiper-scrollbar,
  .news__nav .news__swiper-scrollbar {
    width: 15.5rem;
  }
  /* page nesw */
  .news__grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
