/* .highway {
  height: 200px;
  width: 800%;
  display: block;
  background-image: url("../../images/car_animation/road.webp");
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  background-repeat: repeat-x;
  animation: highway 5s linear infinite;
} */

/* @keyframes highway {
  100% {
    transform: translateX(-3400px);
  }
} */

/* .city {
  height: 250px;
  width: 800%;
  background-image: url("../../images/car_animation/city.webp");
  position: absolute;
  bottom: 200px;
  left: 0;
  right: 0;
  display: block;
  z-index: 1;
  background-repeat: repeat-x;
  animation: city 20s linear infinite;
} */

/* @keyframes city {
  100% {
    transform: translatex(-1400px);
  }
} */

.car {
  width: 250px;
}

.car img {
  width: 100%;
  animation: car 1s linear infinite;
  /* position: relative; */
  
}

@keyframes car {
  100% {
    transform: translateY(-2px);
  }
  50% {
    transform: translateY(2px);
  }
  0% {
    transform: translateY(-1px);
  }
}

/* .wheel {
  left: 50%;
  bottom: 178px;
  transform: translateX(-50%);
  position: absolute;
  z-index: 2;
}

.wheel img.back-wheel,
.wheel img.front-wheel {
  max-width: 72px;
  width: 72px;
  height: 72px;
  animation: wheel 1s linear infinite;
}

.back-wheel {
  left: -165px;
  position: absolute;
}

.front-wheel {
  left: 80px;
  position: absolute;
} 

@keyframes wheel {
  100% {
    transform: rotate(360deg);
  }
} */