@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;500;600&display=swap");
* {
  box-sizing: border-box;
  margin: 0;
}
html {
  scroll-behavior: smooth;
  font-family: "Inter", sans-serif;
  position: relative;
}
a {
  text-decoration: none;
  color: #e6e4e4;
} 
a:hover{
  text-decoration: none;
}
h1 {
  color: #e6e4e4;
  font-size: 1.75rem;
}
body {
  position: relative;
}

.header-container {
  width: 100%;
  position: sticky;
  top: 0;
  background-color: rgba(46, 46, 46, 0.8);
  z-index: 5;
}
.poster-container {
  width: 100%;
  background-color: #f8f8f8;
  background-color: rgba(46, 46, 46, 0.8);

}
.footer-container {
  width: 100%;
  background-color: #000;
}
.contacts-group__items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}
.contacts-group__social {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  /* position: absolute; */
  top: 1vw;
  right: 3vw;
}

.contact-group__social-item img {
  width: 2vw;
  color: #e6e4e4;
}
.contact-group__social-item:hover img {
  transform: scale(1.05);
}
.contacts-group__item {
  display: flex;
  gap: 0;
  align-items: center;
}

.contacts-group__item--mail::before {
  background: url(./img/icon/envelope.png);
  width: 2rem;
  height: 2rem;
  padding: 0 0.5vw 0;
}
.contacts-group__item--phone::before {
  background: url(./img/icon/iphone.png);
  width: 2rem;
  height: 2rem;
  padding: 0 0.5vw 0;

}
.contacts-group__item--mail::before,
.contacts-group__item--phone::before {
  content: "";

  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
}
.navigate {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 1vw 6vw;
  align-items: center;
  font-size: 1.1vw;
}
.menu-group {
  display: flex;
  align-items: center;
  gap: 2vw;
  font-family: "Roboto", sans-serif;
}

.btn {
  background: none;

  border-radius: 2vw;
  line-height: 140%;
  padding: 0.25vw 1vw;
  transition-duration: 0.3s;
}
.btn:hover {
  background: rgb(255, 255, 255, .6);
  color: #fff;
  transition-duration: 0.3s;
}

input[type="radio"] {
  display: none;
}

.label {
  cursor: pointer;
  user-select: none;
  border-radius: 2vw;
  line-height: 140%;
  padding: 0.25vw 1vw;
  transition-duration: 0.3s;
}
/* .main-nav label {
  background: none;
} */
.label:hover {
  background-color: rgba(46, 46, 46, 0.8);;
  color: #fff;
}

/* Checked */
/* input[type="radio"]:checked + label {
  background: #f24343;
  color: #fff;
} */

/* Hover */
/* label:hover {
  background: #f24343;
  transition-duration: 0.3s;
} */

/* Disabled */
/* input[type="radio"]:disabled + label {
  filter: grayscale(100%);
} */
.contacts-group {
  display: flex;
  gap: 3vw;
}
.contact-btn {
  padding: 0.5vw 2vw;
  color: #fff;
  background-color: rgb(46, 46, 46);
  transition-duration: 0.6s;
}
.contact-btn:hover {
  transition-duration: 0.6s;
  background-color: rgba(19, 19, 19, 0.2);
  transform: scale(1.05);
  color: #000;
}
.main {
  font-size: 1.1vw;
}
.main-nav {
  /* display: flex; */
  gap: 2vw;
  justify-content: center;
  font-family: "Roboto", sans-serif;
}

.info-container {
  background-repeat: no-repeat;
  background-size: 60vw;
  background-position: top -2vw right 3vw;
  padding: 5vw 0 13vw;
  margin: 0 6vw;
  /* transition-duration: .5s; */
  position: relative;
}
.info-container__img {
  position: absolute;
  right: 0vw;
  opacity: 0.75;
  /* transition-duration: .3s; */
}
.headers {
  color: #f24343;
  font-size: 3.3vw;
  line-height: 120%;
  font-weight: 600;
}
.info-header {
  margin-bottom: 2vw;
  width: 45vw;
  font-weight: 500;
  transition-duration: 0.5s;
  color: rgba(19, 19, 19, 0.7);
}
.info-description {
  margin-bottom: 3vw;
  color: rgba(19, 19, 19, 0.7);
  font-size: 1.65vw;
  line-height: 1.75vw;
  width: 25vw;
  font-weight: 500;
  transition-duration: 0.5s;
}
.info-btn {
  padding: 1vw 4vw;
  color: #080000;
  background-color: rgba(19, 19, 19, 0.4);
  transition-duration: 0.6s;
}
.info-btn:hover {
  transition-duration: 0.6s;
  background-color: rgba(19, 19, 19, 0.7);
  transform: scale(1.05);
  color: #e4e1e1;
}
.poster {
  padding: 4vw 6vw;
}

.poster-header {
  width: 40%;
  color:#e6e4e4;

}
.poster-items {
  display: flex;
  justify-content: space-between;

}
.poster-items__item {
  width: 22vw;

}
.poster-items__item--heder {
  font-size: 4vw;
  line-height: 110%;
  font-weight: 300;
  color:#e6e4e4;

}
.poster-items__item--description {
  color:#e6e4e4;
  margin-top: 0.5vw;
  font-size: 1.25rem;
}
.services {
  display: flex;
  flex-direction: column;

  padding: 6vw 6vw;
}
.services__header {
  color: rgba(19, 19, 19, 0.7);
  margin: 0;
}
.services-container {
  display: flex;
  row-gap: 2vw;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 2.5vw;
}
.services-container__card {
  padding: 3vw 5vw;
  background-repeat: no-repeat;
  background-color: rgba(19, 19, 19, 0.2);
  /* background-color: #f8f8f8; */
  transition-duration: 0.5s;
  width: 28vw;
  border-radius: 2vw;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2vw;
  justify-content: space-around;
  align-items: center;
}
.services-container__card:hover {
  transform: scale(1.03);
  transition-duration: 0.3s;
  background-color: rgba(19, 19, 19, 0.4);
  background-repeat: no-repeat;
  cursor: pointer;
}
.card-title {
  text-align: center;
  color: rgba(19, 19, 19, 0.7);
  font-size: 2vw;
  line-height: 120%;
  /* transition-duration: 0.3s; */
  font-weight: 500;
}


.services-container__card--active .card-title {
  color: #fff;
  text-align: center;
  font-size: 2vw;
  line-height: 120%;
  font-weight: 500;
}
.footer {
  background-color: #000;
  padding: 8vw 6vw;
  font-family: "Roboto", sans-serif;
  display: flex;
  justify-content: space-between;
  gap: 4vw;
}

/* .footer-headers {
  display: flex;
  justify-content: space-between;
} */
.footer-headers__logo {
  background: url(./logo_autokartel.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  width: 12vw;
  height: 12vw;
  transform: translateY(-3vw);
}
.footer-headers__form-header {
  color: #fff;
  font-size: 2vw;
  line-height: 120%;
  /* width: 30vw; */
  font-weight: 600;
}
.footer-items {
  display: flex;
  justify-content: space-around;
  /* margin-top: 3vw; */
  flex:1;

}
.footer-item {
  display: flex;
  flex-direction: column;
  gap: 1vw;
  font-size: 1.5vw;
  color: #fff;
  line-height: 140%;
  align-items: center;
}
.footer-item__map,
.footer-item__header,
.footer-item__phone,
.footer-item__email {
  font-size: 1.5vw;
  color: #fff;
  line-height: 140%;
  transition-duration: 0.3s;
}

.footer-item__map:hover,
.footer-item__phone:hover,
.footer-item__email:hover {
  transform: scale(1.05);
  transition-duration: 0.3s;
  border-bottom: 0.1vw solid #fff;
  line-height: 140%;
  width: fit-content;
}

.contacts-group__item--mail,
.contacts-group__item--phone {
  font-weight: 500;
  transition-duration: 0.3s;
}
.contacts-group__item--mail:hover,
.contacts-group__item--phone:hover {
  transform: scale(1.05);
  transition-duration: 0.3s;
  border-bottom: 0.1vw solid #000;
  line-height: 140%;
  width: fit-content;
}

.footer-item__form {
  width: 30vw;
  display: flex;
  flex-direction: column;
  gap: 1vw;
}
.footer-item__form label {
  color: #fff;
  background: none;
}
.footer-item__form label:hover {
  color: #fff;
}
.footer-item__form input[type="text"] {
  border: none;
  border-bottom: #fff 2px solid;
  padding: 1vw 2vw 1vw;
  background: none;
  width: 100%;
  line-height: 140%;
  color: #fff;
}

::placeholder {
  font-size: 1.1vw;
  color: #fff;
}
.button {
  background-color: #fff;
  color: #000;
  text-align: center;
  width: 100%;
  padding: 1vw;
  border: none;
  border-radius: 2vw;
  transition-duration: 0.3s;
  margin-top: 1vw;
}
.form-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 0 0.8vw 0.05vw #f8f8f8;
  transition-duration: 0.3s;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  /* text-align: center; */
  /* font-size: 18px; */
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000;
}

.swiper-slide img {
  display: block;
  /* width: 100%;
  height: 100%; */
  object-fit: cover;
}

.swiper {
  margin-left: auto;
  margin-right: auto;
}
.swiper-wrapper {
  justify-content: space-around;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
  color: #000;
}

.mySwiper {
  height: 20%;
  box-sizing: border-box;
  /* padding: ; */
  color: #000;
}

.mySwiper .swiper-slide {
  /* width: 25%; */
  height: 100%;
  /* opacity: 0.4; */
  width: auto !important;
}

.mySwiper .swiper-slide-thumb-active {
  opacity: 1;
  background-color: rgba(46, 46, 46, 0.8);
  color: #fff;
  border-radius: 2rem;
  width: auto !important;
  z-index: 10000;
}

.swiper-slide img {
  display: block;
  /* width: 100%;
  height: 100%; */
  object-fit: cover;
}

.swiper-pagination-bullet-active {
  background: #f24343;
}

.form-label__privacy-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.form-label__privacy-checkbox p {
  font-size: .75rem;
  margin: 1rem 0 0;
}
.phone-icon,
.mail-icon {
  width: 2vw; 
  margin-right: 1vw;
}


.close-btn {
  font-size: 4rem;
  font-weight: 400;
  margin: 1rem 1rem;
  position: absolute;
  top: 0;
  right: 0;
  transform: rotate(45deg);
  color: #f24343;
  cursor: pointer;
  transition-duration: .5s;
}
.close-btn:hover {
  transform: scale(1.05);
  transition-duration: .7s;
}
.service-info {
  width: 100%;
  display: flex;
}

.modal-card {
width: 90vw;
background-color: #e6e2e2 ;
/* height: 90vh; */
position: fixed;
top: 2vh;
left: 50%;
transform: translateX(-50%);
z-index: 100;
margin: 0 auto;
opacity: 0.9;
border-radius: 5vw;
padding: 10vw;
transition-duration: 2s;
display: flex;
flex-direction: column;
gap: 2rem;
}

.modalcard-title {
  text-align: center;
font-size: 2rem

}
.modalcard-description {
  font-size: 1rem;
  margin: 0 auto;
  text-align: center;
  color: #f24343;

}
.modal-items {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
gap: 1rem;

}
.modal-item {
display: flex;
justify-content: space-between;
font-size: 1.25rem;
width: 100%;
}
.modal-item-title {
  width: 70%;
}
.modal-item:nth-child(2n) {
  background-color: #c2bfbf;
}
@media screen and (min-width: 320px) and (max-width: 820px) {
  .service-info {
  flex-direction: column;
}
.main-nav {
  display: none;
}
  .header-contact-icons {
  display: none;
}
.contacts-group {
  /* flex-direction: column; */
  gap: 0.5rem;
}
.contacts-group__items {
  flex-direction: row;
}

.phone-icon,
.mail-icon {
  width: 1.75rem; 
  margin-right: 1vw;
}
.contacts-group__items :nth-child(2) {
  display: none;
}
.contacts-group__social {
  position:static;  
  flex-direction: row;
  gap: 0.5rem;
}
.contacts-group__social :nth-child(3),
.contacts-group__social :nth-child(2){
display: none;
}


.contacts-group__items {
  justify-content: center;
}
.contact-group__social-item img {
  width: 1.75rem;

}
  .menu-group__logo img {
    width: 4rem;
    height: 4rem;
  }

.contacts-group__social {
  top: 4vw;
  right: 3vw;
}
h1 {
  font-size: 1rem;
}


  .info-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
    align-items: center;
  }
  .info-container__img {
    order: -1;
    position: relative;
  }
  .info-container__img--import {
    width: 60%;
  }
  .info-container__img--sea {
    width: 100%;
  }
  .info-container__img--avia {
    width: 110%;
    margin:  4vw 0 4vw;
  }
  .info-container__img--avto {
    width: 90%;
    /* margin:  0 0 0; */
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }
  .swiper-horizontal > .swiper-pagination-bullets,
  .swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: 2rem;
  }
  .info-header {
    font-size: 1.75rem;
    width: 100%;
  }
  .info-description {
    font-size: 1rem;
    width: 80%;
    line-height: 130%;
  }
  .info-btn {
    /* margin-top: 2rem; */
    width: 100%;
    font-size: 1.25rem;
    padding: 0.75rem;
    border-radius: 4rem;
  }
  .poster-header {
    font-size: 1rem;
    width: 100%;
  }
  .poster-items {
    gap: 1rem;
    justify-content: space-around;
    align-items:center;

  }
  .poster-items__item {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    width: 70%;
  }
   .poster-items__item p{
   margin: 0;

  }
  .poster-items__item--heder {
    font-size: 1.75rem;
  }
  .poster-items__item--description {
    font-size: 0.75rem;
  }
  .services__header {
    font-size: 1.3rem;
    width: 100%;
  }

  .services-container__card.form-btn:hover {
    width: 48%;
    padding: 28vw 5vw 5vw;
    background-position: center top 10%;
  }
  
  .services-container__card {
    width: 48%;
    padding: 5vw 5vw;
    background-position: center top 20%;
  }
  .services-container__card:hover {
    transform: scale(1.03);
    transition-duration: 0.3s;
    background-color: #f24343;
    background-repeat: no-repeat;
    cursor: pointer;
  }

  .card-title {
    font-size: 0.75rem;
  }
  /* .footer-item:first-child,
  .footer-headers {
    display: none;
  } */
   .footer {
    display: flex;
    flex-direction: column;
    gap: 0;
   }
   .footer-headers__logo {
    order: 2;
    width: 25vw;
    height: 25vw;
    transform: translateY(0);
   }

  .footer-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
  }
  .footer-item:first-child {
margin-bottom: .75rem;
  }
  .footer-item__header {
    text-align: center;
    align-self: center;
    font-size: 1.5rem;
  }
  .footer-item__form {
    order: 1;
    width: 90%;
    gap: 1rem;
  }
  .footer-item__form label {
    font-size: 0.75rem;
    display: flex;
    gap: 0.75rem;
  }
  .footer-item__form input[type="text"] {
    padding: .5rem 0.5rem;
  }
  ::placeholder {
    font-size: .75rem;
  }
  .form-btn {
    padding: 0.5rem;
    border-radius: 3rem;
    font-size: 1.1rem;
  }
  .footer-item__phone,
  .footer-item__email {
    font-size: 1rem;
  }
  .footer-headers__logo--sm {
    display: block;
    position: absolute;
    left: 1rem;
    top: 1rem;
    width: 3rem;
    height: 3rem;
  }
  .modal-logo {
    /* width: 2rem; */
    height: 2rem;
  }
  .footer-headers__form-header {
    font-size: 1.25rem;
  }
}
@media screen and (min-width: 820px) {
  .swiper-pagination {
    display: none;
  }
  .burger-menu {
    display: none;
  }
  .form-label {
    position: relative;
  }
  .info-container__img--import {
    width: 45%;
    top: 2vw;
    right: 4rem;
  }
  .info-container__img--sea {
    width: 65%;
    top: 3vw;
  }
  .info-container__img--avia {
    width: 75%;
    top: -2vw;
  }
  .info-container__img--avto {
    width: 55%;
    top: 4vw;
  }
  .info-container__img--train {
    width: 55%;
    top: 5vw;
  }
  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }
}
@media screen and (min-width:1440px) {
  .info-container__img--import {
    width: 40%;
    top: 2vw;
    right: 4rem;
  }
  .info-container__img--sea {
    width: 40%;
    top: 3vw;
    right: 4rem;
  }
  .info-container__img--avia {
    width: 70%;
    top: -2vw;
  }
  .info-container__img--avto {
    width: 50%;
    top: 4vw;
  }
  .info-container__img--train {
    width: 50%;
    top: 5vw;
  }
}

@media screen and (min-width: 820px) and (max-width: 1440px) {
  .navigate {
    padding: 1vw 6vw;
    font-size: 1.1vw;
    justify-content: space-between;
  }

  .menu-group {
    gap: 2vw;
  }
  .menu-group__logo img {
    width: 4.5vw;
    height: 4.5vw;
  }
  .btn {
    border-radius: 2vw;
    padding: 0.25vw 2.5vw;
  }
  .contact-btn {
    padding: 0.5vw 3vw;
    line-height: 100%;
  }
  .label {
    border-radius: 2vw;
  }
  .contacts-group {
    gap: 3vw;
  }

  .main {
    font-size: 1.1vw;
  }
  .main-nav {
    gap: 2rem;
    margin: 0 auto;
    padding: 1.5rem 6rem;
  }

  .info-container {
    background-size: 60vw;
    background-position: top -2vw right 3vw;
    padding: 5vw 0 13vw;
    margin: 0 6vw;
    width: 100%;
  }
  .info-container__img {
    right: 0vw;
    opacity: 0.75;
  }
  .headers {
    font-size: 3.3vw;
    align-self: center;
  }
  .info-header {
    margin-bottom: 2vw;
    width: 40vw;
  }
  .info-description {
    margin-bottom: 3vw;
    font-size: 1.65vw;
    line-height: 1.75vw;
    width: 25vw;
  }
  .info-btn {
    padding: 1vw 4vw;
  }
  .poster {
    padding: 3vw 6vw;
  }

  .poster-items__item {
    width: 40%;
  }
  .poster-items__item p {
    margin: 0;
  }
  .poster-items__item--heder {
    font-size: 4vw;
  }
  .poster-items__item--description {
    margin-top: 0.5vw;
  }
  .services {
    padding: 6vw 6vw;
  }
  .services-container {
    row-gap: 2vw;
    margin-top: 2.5vw;
  }

  .services-container__card {
    /* padding: 3vw 5vw 13vw; */
    width: 28vw;
    border-radius: 2vw;
  }
  .card-title {
    font-size: 2vw;
  }
  .services-container__card--active .card-title {
    font-size: 2vw;
  }
  .footer {
    padding: 8vw 6vw;
  }

  .footer-headers__form-header {
    font-size: 2vw;
    width: 30vw;
  }

  .footer-item {
    gap: 1vw;
    font-size: 1.5vw;
  }
  .footer-item__map,
  .footer-item__header,
  .footer-item__phone,
  .footer-item__email {
    font-size: 1.5vw;
  }
  .footer-item__form {
    width: 30vw;
    gap: 1vw;
    margin: 0;
  }
  .footer-item__form input[type="text"] {
    padding: 1vw 2vw 1vw;
  }
  ::placeholder {
    font-size: 1.1vw;
  }
  .button {
    padding: 1vw;
    border-radius: 2vw;
    margin-top: 1vw;
  }
  .form-btn:hover {
    box-shadow: 0 0 0.8vw 0.05vw #f8f8f8;
  }
  .close-btn {
    right: 1rem;
  }
}

@media screen and (min-width: 1440px) {
  .navigate {
    padding: 0 6rem;
    font-size: 1.15rem;
    width: 1440px;
    margin: 0 auto;
  }
  .menu-group {
    gap: 2rem;
  }
  .menu-group__logo img {
    width: 8vw;
    height: 8vw;
  }
  .btn {
    border-radius: 2rem;
    padding: 0.25rem 1rem;
  }
  .contact-btn {
    padding: 0.75vw 2vw;
    line-height: 100%;
    width:max-content;
  }
  .label {
    border-radius: 2rem;
  }
  .contacts-group {
    gap: 3rem;
  }
  .main {
    font-size: 1.15rem;
  }
  .main-nav {
    gap: 2rem;
    width: 1440px;
    margin: 0 auto;
    padding: 1.5rem 6rem;
  }

  .info-container {
    background-size: 60%;
    background-position: top -2rem right 3rem;
    padding: 5rem 6rem;
    /* height: 500px; */
    margin: 0 auto;
    width: 1440px;
  }
  .info-container__img--import {
    width: 40%;
    top: 2vw;
    right: 6rem;
  }
  .info-container__img--sea {
    width: 50%;
    top: 2vw;
  }
  .info-container__img--avia {
    width: 60%;
    top: 2vw;
  }
  .headers {
    font-size: 3.3rem;
  }
  .info-header {
    margin-bottom: 2rem;
    width: 60%;
  }
  .info-description {
    margin-bottom: 3rem;
    font-size: 1.75rem;
    line-height: 2rem;
    width: 25%;
  }
  .info-btn {
    padding: 1rem 4rem;
  }
  .poster{
    width: 1440px;
    margin: 0 auto;
  }

  .services,
  .footer {
    padding: 2.5rem 6rem;
    width: 1440px;
    margin: 0 auto;
  }

  .poster-items__item {
    width: 22%;
    padding: 1.25rem 0 0;
  }
  .poster-items__item--heder {
    font-size: 3rem;
  }
  .poster-items__item--description {
    margin-top: 0.5rem;
  }
  .services-container {
    row-gap: 2rem;
    margin-top: 2.5rem;
  }

  .services-container__card {
    /* padding: 3rem 2rem 13rem; */
    width: 30%;
    border-radius: 2rem;
  }
  .card-title {
    font-size: 2rem;
    text-align: center;
  }
  .footer-headers__logo {
    width: 20vw;
    height: 17vw;
  }
  .footer-headers__form-header {
    font-size: 2rem;
    /* width: 40%; */
  }

  .footer-item {
    gap: 1vw;
    font-size: 1.5rem;
  }
  .footer-item__map,
  .footer-item__header,
  .footer-item__phone,
  .footer-item__email {
    font-size: 1.5rem;
  }
  .footer-item__form {
    width: 40%;
    gap: 1rem;
    margin: 0;
  
  }
  .footer-item__form input[type="text"] {
    padding: 1rem 2rem 1rem;
  }
  ::placeholder {
    font-size: 1.1rem;
  }
  .button {
    padding: 1rem;
    border-radius: 2rem;
    margin-top: 1rem;
  }
  .form-btn:hover {
    box-shadow: 0 0 0.8rem 0.05rem #f8f8f8;
  }
}
.active-page {
  background-color: #f24343;
  color: #fff;
}
:disabled {
  background-color: rgb(255, 255, 255, .6);
}