@import url(utilites.css);
.car_carosel_section {
  background-color: black;
}

.car_carosel {
  position: relative;
  height: auto;
  background-color: black;
  padding: 2rem 0;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.slider_container {
  margin: 2rem;
  margin-right: 0;
  overflow-x: visible;
}
@media screen and (max-width: 950px) {
  .slider_container {
    margin: 0;
  }
}

.slider_wrapper {
  position: relative;
  max-width: 22rem;
  margin: 0 1rem;
}

.slider {
  height: 28rem;
  display: flex;
  aspect-ratio: 7/9;
  overflow: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border-radius: 0.8rem;
  transform: scale(1);
}

.slider_item {
  min-width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  position: relative;
  scroll-snap-align: start;
}
.slider_item::after {
  position: absolute;
  content: attr(data-model-name);
  color: white;
  font-size: 2rem;
  width: 100%;
  top: 1rem;
  text-align: center;
}
.slider_item a {
  margin: 0 auto;
  width: 85%;
  color: white;
  align-self: end;
  margin-bottom: 0.8rem;
}

.slider_nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}
.slider_nav a {
  width: 2.5rem;
  height: 0.3rem;
  background-color: #6d6c6c;
  margin: 0.5rem;
}
.slider_nav a:hover {
  background-color: #aca8a8;
}
@media screen and (max-width: 380px) {
  .slider_nav a {
    width: 1.5rem;
  }
}

.car_data {
  width: 100%;
  background-color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 1rem;
}
.car_data label {
  font-size: 0.87rem;
  color: #6d6c6c;
  line-height: 1.25rem;
  display: block;
}
.car_data span {
  color: white;
  font-size: 0.87rem;
}
.car_data hr {
  width: 90%;
  height: 0.01rem;
  background-color: #222222;
  margin-top: 1rem;
}
.car_data h4 {
  font-size: 1.25rem;
  line-height: 1.75rem;
  color: white;
  display: block;
  text-align: left;
  padding: 0.5rem 0;
  width: 90%;
}

.car_data_drive {
  width: 90%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, auto));
  grid-column-gap: 2rem;
  border: 0 0 1px 0 solid white;
}

.car_data_dimentions {
  width: 90%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, auto));
  grid-column-gap: 2rem;
  border: 0 0 1px 0 solid white;
}
.car_data_dimentions img {
  width: 100%;
  max-width: 25.15rem;
}

.car_charging_data {
  width: 90%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, auto));
  grid-column-gap: 2rem;
  border: 0 0 1px 0 solid white;
}

.car_warrenty_data {
  width: 90%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, auto));
  grid-column-gap: 2rem;
}

@media screen and (max-width: 950px) {
  .car_carosel {
    flex-direction: column;
    padding-top: 1.5rem;
  }
  .car_data {
    width: 95%;
  }
}
@media screen and (max-width: 750px) {
  .car_data_dimentions {
    row-gap: 2rem;
  }
  .dimentions_img {
    grid-row: 3/3;
    grid-column: 1/3;
  }
}/*# sourceMappingURL=car_carosel.css.map */