
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


.hero {
  height: 100vh;
  width: 100%;
  background: url('sky.jpg');
  background-position: center;
  background-size: cover;
  overflow-x: hidden;
  position: relative;
}


.highway {
  height: 200px;
  width: 500%;
  background: url('road.jpg') repeat-x;
  position: absolute;
  bottom: 0;
  z-index: 1;
  animation: highway 5s linear infinite;
}

@keyframes highway {
  100% {
    /* transform: translateX(-3400px); */
  }
}


.city {
  height: 250px;
  width: 500%;
  background: url('city.png') repeat-x;
  position: absolute;
  bottom: 200px;
  z-index: 1;
  animation: city 25s linear infinite;
}

@keyframes city {
  100% {
    /* transform: translateX(-1400px); */
  }
}


.car {
  width: 400px;
  position: absolute;
  left: 20%;
  transform: translateX(-50%);
  bottom: 110px;
  z-index: 2;
}

.car img {
  width: 100%;
}


.wheels {
  position: absolute;
  left: 20%;
  bottom: 190px;
  transform: translateX(-50%);
  z-index: 2;
}

.wheels img {
  height: 72px;
  width: 72px;
}


.back_wheel {
  position: absolute;
  left: -165px;
}

.front_wheel {
  position: absolute;
  left: 80px;
}


@keyframes wheel {
  100% {
    transform: rotate(360deg);
  }
}

.spin {
  animation: wheel 0.5s linear infinite;
}


#btn1 {
  position: absolute;
  right: 10%;
  bottom: 15%;
  z-index: 3;
  padding: 15px 30px;
  font-size: 28px;
  cursor: pointer;
  background: limegreen;
  border: none;
  border-radius: 10px;
  color: #000;
  font-weight: bold;
  transition: 0.3s;
}

#btn1:hover {
  background: yellowgreen;
}

#btn2 {
  position: absolute;
  right: 10%;
  bottom: 5%;
  z-index: 5;
  padding: 15px 30px;
  font-size: 30px;
  cursor: pointer;
  background: red;
  color: white;
  border: none;
  border-radius: 10px;
}



#signal {
  position: absolute;
  top: 10%;
  left: 10%;
  font-size: 20px;
  padding: 5px 10px;
  border-radius: 5px;
  background: white;
  border: 2px solid #333;
  cursor: pointer;
  z-index: 3;
}
