@import url('https://fonts.googleapis.com/css2?family=Roboto:ital@0;1&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'roboto', sans-serif;
    background-color: #1c1c1c;
    color: #fff;
}

a{
  color: #fff;
  text-decoration: none;
}

p{
  margin: 0;
}

p + p {
  margin-top: 15px;
}

ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  margin: 0;
}

img {
  max-width: 100%;
  
}

.container {
  box-sizing: border-box;
  
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 165px;
  height: 50px;

  font-weight: 500px;
  font-size: 16px;
  text-transform: uppercase;
  color: black;
  background-color: #c0c0c0;
  border-radius: 5px;

  transition: opacity 0.3s;
}

.btn:hover {
  opacity: 0.8;
}

.btn--small {
  width: 141px;
  height: 39px;
  font-size: 12px;
}

.header {
  position: sticky;
  background-color: #1c1c1c;
  padding: 25px 0;
  text-transform: uppercase;
  top: 0;
  z-index: 10;
  border-radius: 7px;
  box-shadow: 0px 0px 30px 10px rgba(0,0,0,0.9);

}

.logo {
  max-width: 110px;
}

.header .container {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  
  
}

.header__nav{

}

.header__list {
  display: flex;
  gap: 30px;
 }

.header__nav a {
  font-size: 14px;
  opacity: 0.7;
  transition: opacity 0.3s;


}

.header__nav a.active {
  opacity: 1;

}

.header__nav a:hover {
  opacity: 0.9;

}



.main {

}

.welcome {
  box-sizing: border-box;
  min-height: 100vh;

  
  padding: 220px 0;
  
  background-image: url(./images/IMG_1353.png);
  background-repeat: no-repeat;
  background-size: cover; 
  background-position: center;
  
}

.welcome__text {
  width: 550px;
}


.welcome__subtitle {
  margin-bottom: 7px;
  font-size: 14px;
  letter-spacing: 0.1em;
}

.welcome__title {
  font-size: 58px;
}

.welcome__desc {
  margin: 40px 0;
  font-size: 18px;
  opacity: 0.7;
}

.avto-list {
  padding: 150px;
}

.avto-list .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px 10px;
}

.avto-list__card {
  width: 260px;
  overflow: hidden;
  text-align: center;
  background: #312f30;
  border-radius: 10px;

}

.avto-list__card:hover {
  transform: scale(1.2);
  transition: 0.3s;
  
}



.avto-list__img {
  width: 100%;
  height: 175px;
  object-fit: cover;
  
}

.avto-list__text-wrapper {
  padding: 30px 20px;
}

.avto-list__title {
  margin-bottom: 13px;
  font-style: 20px;
}

.avto-list__desc {
  font-style: 16px;
  opacity: 0.7;
}

  /* список машин */
.order {
  background: #312f30;
  padding: 150px 0;
}

.order .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 90px;
  padding-left: 90px;
}

.order__img {
  max-width: 300px;
}

.order__text {
  max-width: 360px;
}

.order__title {
  margin-bottom: 25px;
  font-size: 44px;
}

.order__desc {
  margin-bottom: 50px;
  opacity: 0.6;
}

.order__price {
  font-style: 15px;
  font-weight: 500;
  font-size: 15px;
  /*letter-spacing: 0.1em;*/
  
}

.order__disc-price {
  

}

.btn {
  margin-top: 10px;
}

/*локации*/

.locat {
 padding: 150px 0;
}

.locat .container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.locat__card {
  box-sizing: border-box;
  width: 555px;
  min-height: 300px;

  padding: 60px 25px 60px 290px;
}

.locat__card:nth-child(even) {
  padding-left: 30px;
  padding-right: 290px;
}

.locat__title {
  margin-bottom: 20px;
  font-size: 30px;
}

.locat__desc {
  margin-bottom: 10px;
  opacity: 0.7;
}

.btn {

}
.product .btn {
  margin-top: 10px;
}

.card-kols {
  background-image: url(./images/kolsai.png);
}

.card-char {
  background-image: url(./images/char.png);
}

.card-kain{
  background-image: url(./images/kaindy.png);
}

.card-gor {
  background-image: url(./images/gor.png);
}


/*feeedback*/

.feedback {
  padding: 150px;
  padding-bottom: 200px;
}

.feedback .container {
  display: flex;
  align-items: center;
  justify-content: space-between;

  max-width: 880px;
}

.feedback__img {

}

.feedback__text {
  margin: 0;
  width: 430px;
  text-align: center;
  
 /* display: flex;
  flex-direction: column;*/
}

.feedback__desc {
 opacity: 0.7;
 margin-bottom: 30px 0;
}

.feedback__author {
 font-style: normal;
 font-weight: 500;
 font-size: 24px;
}

.feedback__subauthor {
  font-weight: 500;
  font-size: 12px;
  opacity: 0.7;

  display: block;
}



.download {
  padding: 60px 0;
  background: #312f30;
}

.download .container {
  display: flex;
  justify-content: space-around;
}

.download__title {
  font-weight: 500;
  font-size: 40px;
}



.footer {
 padding: 120px 0;
}

.footer a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
}

.footer a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer .footer__title {
  display: inline-block;
  margin-bottom: 15px;
  font-weight: 500;
  font-size: 16px;
  color: #fff;
}

.footer .container {
display: grid;
 grid-template-columns: 1fr 3fr 1fr;
 grid-template-areas: "contacts nav socials";
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__logo {
 max-width: 120px;
 margin-bottom: 20px;
}

.footer__link {
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer__link + .footer__link {
  margin-top: 10px;
}

.footer__link::before {
  width: 12px;
  height: 12px;
  
}

.footer__link-mail::before {
  content: url(./images/inter.png);
}

.footer__link-web {

}

.footer__nav {

}

.footer__list {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
}


.footer__list-title {

}


.footer__inner-list {

}

.footer__list-item + .footer__list-item {
  margin-top: 15px;
}

.footer__socials {

}

.footer__socials-icons {

}

.footer__social-link + .footer__social-link {
  margin-left: 7px;
}

@media (max-width: 1100px) {
  .welcome__desc {
    opacity: 1;
  }
}

@media (max-width: 950px) {
  .order .container {
    flex-direction: column;
    padding-right: 0;
    padding-left: 0;
  }
  .order__text {
    text-align: center;
  }
  .order .btn {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 850px) {
    
  .header .container {
    flex-direction: column;
    gap: 10px;
  }

  .avto-list .container {
    justify-content: space-evenly;
  }

  .feedback .container {
    flex-direction: column;
  }
  
  .footer__list {
    padding-bottom: 100px;
  }

}

@media (max-width: 650px) {
  .header .container {
    flex-direction: column;
    gap: 10px;
  }
  .header__list {
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 7px;
  }
  .header .btn {
    display: none;
  }

  .download__title{
    font-size: 24px;
  }

  .welcome {
    padding: 100px 0;
    min-height: auto;
  }

  .welcome__text {
    width: 100%;
  }
  .welcome__title {
    font-size: 40px;
  }
  .welcome__desc {
    margin: 20px 0;
  }
  .locat {
    padding: 60px 0 60px;
  }
  .feedback {
    padding: 50px;
  }

  .locat__card {
    width: 100%;
    padding-left: 30%;
  }

  .locat__card:nth-child(even) {
    padding-right: 30%;
  }
  @media (max-width: 600px) {
    .welcome {
       margin-top: -90px;
      padding-top: 280px;
    }

    .welcome__title {
      font-size: 30px;
    }
    
    .welcome__desc {
      font-size: 12px;
    }
    
    .avto-list, .order {
      padding: 20px 0;
    }

    .order__title {
      font-size: 24px;
      margin-bottom: 10px;
    }
    .order__img {
      width: 100%;
    }

    .download .container {
      flex-direction: column;
      gap: 20px;
    }
	  .footer .container {
      display: flex;
      flex-direction: column;
	  align-items: center;
	  text-align: center;
    }
	  .footer__contacts{
      align-items: center;
    }
    .footer__socials-icons {
      display: flex;
      justify-content: center;
    }
    .footer__list {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .footer .footer__title {
      margin-bottom: 10px;
    }
    .footer__list-item + .footer__list-item {
      margin-top: 7px;
    }
    .feedback__text {
      width: auto;
    }
}
}