body {
  position: relative;
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #222;
  overflow: hidden;
}
body .wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}
body .wrapper .cardsWrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
body .wrapper .cardsWrapper input {
  display: none;
}
body .wrapper .cardsWrapper .cardWrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 80px;
  margin: 10px;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
  background-color: #1f5f8b;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  color: white;
  transition: all .4s ease-in-out;
}
body .wrapper .cardsWrapper .cardWrapper:hover {
  background-color: #1891ac;
}
body .wrapper .cardsWrapper .cardWrapper .title {
  font-size: 20px;
  font-weight: bold;
  padding-bottom: 5px;
}
body .wrapper .background {
  position: relative;
  display: flex;
  justify-content: center;
  width: 320px;
  height: 200px;
  background-color: white;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
body .wrapper .background .roadWrapper {
  position: absolute;
  top: 150px;
  left: 60px;
  width: 200px;
  height: 3px;
  overflow: hidden;
}
body .wrapper .background .roadWrapper .line-1 {
  position: absolute;
  right: -30px;
  top: 0;
  height: 3px;
  width: 10px;
  background: #222;
  border-radius: 3px;
  animation: lines 1000ms linear 750ms infinite;
}
body .wrapper .background .roadWrapper .line-2 {
  position: absolute;
  right: -35px;
  top: 0;
  height: 3px;
  width: 15px;
  background: #222;
  border-radius: 3px;
  animation: lines 1000ms linear 1500ms infinite;
}
body .wrapper .background .roadWrapper .line-3 {
  position: absolute;
  right: -40px;
  top: 0;
  height: 3px;
  width: 20px;
  background: #222;
  border-radius: 3px;
  animation: lines 1000ms linear 2250ms infinite;
}
body .wrapper .background .roadWrapper .line-4 {
  position: absolute;
  right: -45px;
  top: 0;
  height: 3px;
  width: 25px;
  background: #222;
  border-radius: 3px;
  animation: lines 1000ms linear 3000ms infinite;
}
body .wrapper .background .roadWrapper .line-5 {
  position: absolute;
  right: -50px;
  top: 0;
  height: 3px;
  width: 30px;
  background: #222;
  border-radius: 3px;
  animation: lines 1000ms linear 3750ms infinite;
}
body .wrapper .background .roadWrapper .line-6 {
  position: absolute;
  right: -55px;
  top: 0;
  height: 3px;
  width: 35px;
  background: #222;
  border-radius: 3px;
  animation: lines 1000ms linear 4500ms infinite;
}
body .wrapper .background .roadWrapper .line-7 {
  position: absolute;
  right: -60px;
  top: 0;
  height: 3px;
  width: 40px;
  background: #222;
  border-radius: 3px;
  animation: lines 1000ms linear 5250ms infinite;
}
body .wrapper .background .motorcycle,
body .wrapper .background .scooter,
body .wrapper .background .car,
body .wrapper .background .racingCar,
body .wrapper .background .bicycle {
  position: relative;
  transform: scale(1);
  left: -200px;
  transition: all 1s ease-in-out;
  opacity: 0;
}
body .wrapper .background .shadow {
  position: absolute;
  opacity: 0;
  background-color: #222;
  border-radius: 50%;
  bottom: -35px;
  height: 10px;
  width: 120px;
  filter: blur(5px);
}
body .wrapper .background .m {
  bottom: -75px;
  margin-left: -5px;
  width: 100px;
}
body .wrapper .background .s {
  bottom: -83px;
  width: 95px;
  margin-left: -5px;
}
body .wrapper .background .racingCar {
  top: 65px;
  height: 125px;
}
body .wrapper .background .car {
  top: 65px;
  height: 125px;
}
body .wrapper .background .motorcycle {
  top: 90px;
  height: 90px;
}
body .wrapper .background .scooter {
  top: 90px;
  height: 80px;
}
body .wrapper .background .bicycle {
  top: 95px;
  height: 80px;
}
body .wrapper .background .b {
  bottom: -85px;
  margin-left: -8px;
  width: 100px;
}
body .wrapper .background .animationWrapper {
  position: absolute;
}
body .wrapper .background .bounce {
  position: relative;
  transform-origin: 50% 100%;
  width: 125px;
  animation: ride 250ms ease-in-out infinite;
}
body .wrapper .background .driveIn {
  animation: driveIn 1000ms ease-in-out forwards;
}
body .wrapper .background .driveOut {
  animation: driveOut 1000ms ease-in-out forwards;
}
body a {
  font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  position: absolute;
  left: calc(50% - 96px);
  bottom: 0;
  font-style: italic;
  font-size: 12px;
  color: #212121;
  background-color: white;
  padding: 10px 20px;
  border-radius: 5px 5px 0 0;
  box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.25);
}

@keyframes lines {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-250px, 0, 0);
  }
}
@keyframes ride {
  0%,
  100% {
    opacity: 1;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(0.96);
  }
}
@keyframes driveIn {
  0% {
    opacity: 0;
    left: -200px;
  }
  10% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}
@keyframes driveOut {
  0% {
    opacity: 1;
    left: 0;
  }
  99% {
    opacity: 0;
    left: 250px;
  }
  100% {
    opacity: 0;
    left: -200px;
  }
}