@import url("form.css");



/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

li{
  list-style:none;
}

a{
  text-decoration:none;
}

*{
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

h1{
  font-size: 3em;
  font-family: "Roboto Slab", serif;
  font-weight: bold;
}

p{
  font-size: 1.2em;
  font-family: "Roboto Slab", serif;
  font-weight: 400;
}

.container{
  max-width: 1200px;
  margin: 0 auto;
}

header{
  background-color: #303131;
}

.menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  text-align: center;
  -webkit-box-align:center;
      -ms-flex-align:center;
          align-items:center;
          -webkit-justify-content: space-around;
}

.visibleH1{
  display:none;
  overflow: hidden;
  position:absolute;
  top:-100%;
}

.menu_info{
  min-width: 400px;
}

.logo{
  color:#fff;
  font-size:4em;
}


.corection{
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  justify-content:space-between;
}


.timeWork{
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
}

.icon{ 
  display:-webkit-box; 
  display:-ms-flexbox; 
  display:flex;
  -webkit-box-align:center;
      -ms-flex-align:center;
          align-items:center;
  
 }

 .icon p{
  font-size: 1em;
  color:#fff;
 }

 .icon svg{
  padding-right: 5%;
  width: 35px;
 }

  .icon svg:first-child{
  width: 40px;
 }

 .feedback{
  color:#fff;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-align:center;
      -ms-flex-align:center;
          align-items:center;
 }

 .feedback img{
  width:30px;
 }

  .feedback p{
    font-size:1em;
  }

    .feedback a{
    padding-left:3%;
  }

  .telephoneNumber{
    color:#fff;
    font-family: "Roboto Slab", serif;
    font-weight: 400;
  }

/*nav{
  display:flex;
}

ul{
  display: flex;
}

ul li { list-style: none;}
li a{text-decoration: none; }

ul li:not(:first-child){
  padding-left: 5%;
}*/



.content{
  height: 100vh;
  background-image: url('../img/bg1.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% auto;
  color: white;
}

.main{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.main_wrap{
  padding-right:1%;
  margin-top: 11%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.main_wrap h1{
  text-transform: uppercase;
  font-size: 5em;
}


.information{
  text-align: right;
  font-size: 2EM;
}



.information_con{
  padding: 6% 0;
}

.information_box1 h1{
  text-align: center;
  padding-bottom: 3%;
}

.information_box1 p{
  text-align: center;
  max-width: 80%;
  margin: 0 auto;
}

.information_box2{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  text-align: center;
  margin-top: 3%;
  -webkit-box-pack:justify;
      -ms-flex-pack:justify;
          justify-content:space-between;
}

.information_box2 p:first-child{
  padding: 5% 0;
}

.information_box2 p:last-child{
  font-size: 1em;
  text-align: justify;
  max-width: 380px;
  margin: 0 auto;
  padding: 0px 15px;
}

.Benefit_content{
  background-image: url('../img/bgbenefit.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% auto;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align:center;
}

.Benefit_content h1{
  padding-top: 17%;
  padding-bottom: 13%;
}

.Benefit_btn{
  margin-bottom: 7%;
}

.auc{width: 65px;}

/*.ship{width: 72px }*/

.line_break{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
}




/*стилизация карточек*/






.colectionAuto{
  background-color:#1C1C1C;
}

.colectionAuto h1{
  text-align:center;
  color:#FFF;
  padding-top: 5%;
}

.colectionAuto p{
    margin-top: 1%;
    color: #fff;
    font-weight:bold;
}

.wrap_autoElement{
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -ms-flex-wrap:wrap;
      flex-wrap:wrap;
}

.autoElement{
  margin-top: 5%;
}

/* Определяем стили для контейнера карточки (card) */
.card {
  width: 400px;
  height: 400px;
  -webkit-perspective: 1000px;
          perspective: 1000px;
}

/* Определяем стили для внутреннего контейнера карточки (card-inner) */
.card-inner {
  width: 100%;
  height: 100%;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-transition: -webkit-transform 0.5s;
  transition: -webkit-transform 0.5s;
  -o-transition: transform 0.5s;
  transition: transform 0.5s;
  transition: transform 0.5s, -webkit-transform 0.5s; /* Эффект переворота */
}

/* Определяем стили для лицевой и обратной сторон карточки (card-front и card-back) */
.card-front,
.card-back {
  width: 100%;
  height: 100%;
  position: absolute;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 5px;
  border-radius: 20px;
  background-size: cover;
  background-repeat:no-repeat;
  background-position:center;
  
}

/* Стили для лицевой стороны карточки */


.card-front > h3 {
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  text-decoration: underline;
  /* Смещаем подчёркивание на 20 пикселей вниз */
  text-underline-offset: 5px;
  text-decoration-thickness: 4px;
  -webkit-text-decoration-color: #000;
          text-decoration-color: #000;
}

/* Стили для обратной стороны карточки */
.card-back {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg); /* Эффект переворота обратной стороны */
  background-size: 100%;
  -webkit-box-shadow: inset 400px 20px 20px 20px rgba(0, 0, 0, 0.4);
          box-shadow: inset 400px 20px 20px 20px rgba(0, 0, 0, 0.4);
}

.card-back > h3 {
  color: #fff;
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  padding-top: 1%;
}

.card-back > p {
  margin-top:7%;
  color: #fff;
  margin-bottom: 20px;
}

#car{
  display:none;
}

.btn_card{
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  margin:0 auto;
  margin-top:1%;
  padding: 5px 40px;
  background: #fff;
  border: 0;
  outline: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  border-radius: 20px;
  -webkit-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
          box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}

.btn_card:hover{
  background-color: red;
  color:#fff;
}


/* Эффект переворота при наведении курсора на карточку */
.card:hover .card-inner {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
}


.equinox {
  background-image: url("../img/collection/chevrolet eq21.jpg");
}

.terrain {
  background-image: url("../img/collection/terrain.jpg");

}

.EcoSport{
  background-image: url("../img/collection/FORD_ECOSPORT3.jpg");
}

.X3{
  background-image: url("../img/collection/X31.jpg");
}

.Escape{
  background-image: url("../img/collection/ford1.jpg");
}

.Encore{
  background-image: url("../img/collection/encore1.jpg");
}

.Jetta{
  background-image: url("../img/collection/Jetta1.jpg");
}

.XC60{
  background-image: url("../img/collection/XC601.jpg");
}

.Taos{
  background-image: url("../img/collection/Taos1.jpg");
}

.Malibu{
  background-image: url("../img/collection/malibu.png");
}

.Q5{
  background-image: url("../img/collection/Q52.jpg");
}

.X5{
  background-image: url("../img/collection/x51.jpg");
}

.footer{
  padding-top: 5%;
  padding-bottom: 5%;
  background-color: #000;
}

.footerWrap{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack:distribute;
      justify-content:space-around;
  
}

.fooretWrap_element{
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-orient:vertical;
  -webkit-box-direction:normal;
      -ms-flex-direction:column;
          flex-direction:column;
  padding:5px;

}

.fooretWrap_element p{
  color:#fff;
}

.fooretWrap_element p:nth-child(2){
  padding-top: 5%;
}

.fooretWrap_element p:nth-child(3){
    padding-top: 5%;
}

.footer_title{
  font-size:1.5em;
  font-weight: bold;
}

.footerWrap_p{
  padding-top: 3%;
  color: #fff;
  font-size: 0.9em;
  text-align: center;
}


.success{
  height:100vh;
  background-image: url("../img/suc3.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position:center;
  color:#fff;
  display:flex;
  justify-content:center;
}

.success_wrap{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 7%;
  text-align: center;
  font-size: 2.5em;
}

.success_wrap a{
  color:#fff;
  text-decoration: underline;
}

.success_wrap a:hover{
    color:#000;
}


.successVxod{

  display:flex;
  justify-content:center;
  width:10%;
  color:white;
  font-size:25px;
  border: 1px solid #fff;
  border-radius:5px;
  padding:10px;
    display:none;
}











































@media  (max-width: 1670px) {

.content{height:100%;}
.main_wrap{
  margin-top: 9%;
  margin-bottom: 25%;
}


}



@media (min-width: 1576px) and (max-width: 1900px) {
    .main_wrap {
      padding-right:3%;
    }

    .main_wrap h1 {
    font-size: 4em;
    }
 }

 @media (min-width: 1401px) and (max-width: 1575px) {
    .main_wrap {
      padding-right:5%;
    }

    .main_wrap h1 {
    font-size: 3.5em;
    }
 }

  @media (min-width: 1256px) and (max-width: 1401px) {
    .main_wrap {
      padding-right:1%;
      margin-bottom: 14%;
    }

    .main_wrap h1 {
    font-size: 3.5em;
    }
 }

   @media (min-width: 1081px) and (max-width: 1255px) {
    .main_wrap {
      margin-top: 4%;
      padding-right:1%;
      margin-bottom: 14%;
    }

    .main_wrap h1 {
    font-size: 3em;
    }


 }


    @media (min-width: 901px) and (max-width: 1081px) {
    .main_wrap {
      margin-top: 3%;
      padding-right:2%;
      margin-bottom: 14%;
    }

    .main_wrap h1 {
    font-size: 2.5em;
    }



    .menu_info {
    min-width: 215px;
    }
 }

     @media (min-width: 776px) and (max-width: 900px) {

    .information_con {
    padding: 2% 0;
    }

    .logo{
      font-size:3em;
    }

    .menu_info{
      width:unset;
    }

    .Benefit_content h1 {
    padding-top: 9%;
    padding-bottom: 7%;
    }
    .card {
    padding: 0 10px;
    }

    .main_wrap {
      margin-top: 3%;
      padding-right:1%;
      margin-bottom: 14%;
    }

    .main_wrap h1 {
    font-size: 2em;
    }


    .menu_info {
    min-width: 215px;
    }
 }



      @media  (/*(min-width: 651px) */ max-width: 775px) {

    h1{
      font-size: 2em;
    }

    p{
      font-size: 1em;
    }

    .menu_info {
      min-width: 215px;
    }

    .information_con {
       padding: 1% 0;
    }

    .information_box1 h1 {
       padding-bottom: 1%;
    }

    .information_box2 {
      margin-top: 1%;
    }

    .information_box2 p:first-child {
       padding: 1% 0;
    }

    .main_wrap {
      margin-top: 3%;
      padding-right:2%;
      margin-bottom: 5%;
    }

    .main_wrap h1 {
      font-size: 1.6em;
    }

    .footer {
      padding: 2% 5%;
    }

    .footerWrap {
      justify-content: space-between;
      flex-wrap: wrap;
    }

    .success{
      background-color:#000;
      background-size:contain;
    }


    .success_wrap {
        font-size:2em;
        padding-bottom:27%;
    } 

    .fooretWrap_element {
      width:40%;
    }


 }


@media  (/*(min-width: 501px) */ max-width: 650px) {

  .main_wrap h1 {
    font-size: 1.5em;
  }

    .logo{
    font-size:3em;
  }

  .btn {
    padding: 3px 14px;
    font-size: 19px;
  }

  .information_box2 {
    flex-wrap: wrap;
    justify-content: center;
  }

  .card {
    width: 250px;
    height: 300px;
    padding: 0px 5px;
  }

  .menu_info {
    display: flex;
    flex-direction: column;
    min-width: unset;

/*    align-items: center;*/
  }

  .corection {
    flex-direction:column;
    flex-wrap: wrap;
  }

  .corection .icon:last-child {
    padding-left: 0%;
  }

/*  .menu_info {
        align-items: inherit;
  }*/

  .main_wrap {
        margin-top: 6%;
        margin-bottom: 13%;
    }

  .card-back > h3 {
    padding-top:0;
    font-size:20px;
  }

  .card-back > p {
    margin: 0;
    padding:1% 0%;
  }

}

@media  (max-width: 565px) {
  .main_wrap h1 {
    font-size: 1.3em;
  }
}

@media  (max-width: 500px) {
  
  .main_wrap h1 {
    font-size: 1.2em;
  }

  .autoElement {
    margin-top: 2%;
  }

  .card {
    width: 350px;
  }


  .card-back > p {
    padding:10px 0;
  }



}

@media  (max-width: 450px) {
  
  .main_wrap h1 {
    font-size: 1em;
  }

  .success_wrap {
    font-size: 2em;
}

.Benefit_content h1 {
    padding-top: 7%;
    padding-bottom: 4%;
    font-size:1.5em;
}

    .success {
      padding-top: 15%;
      padding-bottom: 35%;
    }

    .success_wrap{
      font-size:1.5em;
      padding-bottom:15%;
    }

      .logo{
    font-size:2em;
  }

}

@media  ( max-width: 380px) {
  
  .main_wrap h1 {
    font-size: 0.9em;
  }

    .main_wrap {
    padding-right:0;
    align-items: end;
  }

 .btn {
    padding: 2px 4px;
    font-size: 16px;
    }

  .card {
    width: 299px;
    }

  .icon{
    font-size:14px;
  }

  .icon svg {
    padding-right: 5%;
    width: 30px !important; 
}


}


@media  ( max-width: 330px) {
  
  .logo{
    font-size: 1.5em;
  }

  .main_wrap h1 {
    font-size: 0.8em;
  }

  .main_wrap {
    margin-top: 9%;
    margin-bottom: 17%;
    padding-right:0;
  }
/*  .success_wrap {
    font-size: 1em;
}*/


   

.btn {
        padding: 2px 4px;
        font-size: 16px;
    }


}