.markup-interactive {
  position: relative;
}
.card__wrap .main .card__img {
  width: 84%;
}
@media screen and (min-width: 436px) {
  .card__wrap .main .card__img {
    width: 88%;
  }
}
.the-puzzled-driver {
  width: 29%;
  margin-right: 11px;
  margin-top: 130px;
  display: flex;
  align-items: center;
  margin-bottom: 0;
  float: right;
  shape-outside: inset(55% 0% 0% 6%);
  z-index: 5;
  transition: all 1500ms;
}

@media screen and (min-width: 436px) {
  .the-puzzled-driver {
    width: 29%;
    margin-top: 170px;
    margin-bottom: 14px;
    shape-outside: inset(53% 0% 0% 7%);
    transition: all 700ms;
  }
}
.the-puzzled-driver.winner {
  margin-top: 130px;
  shape-outside: inset(46% 0% 0% 8%);
  transition: all 700ms;
}
@media screen and (min-width: 436px) {
  .the-puzzled-driver.winner {
    margin-top: 169px;
    shape-outside: inset(53% 0% 0% 14%);
    transition: all 700ms;
  }
}
.text-confirm-answer {
  font-size: 15px;
  font-weight: 400;
  color: white;
  position: absolute;
  top: 59%;
  left: 50%;
  width: max-content;
  transform: translate(-50%, 0);
  opacity: 1;
  transition: all 250ms;
  letter-spacing: -0.2px;
}
@media screen and (min-width: 436px) {
  .text-confirm-answer {
    font-size: 14px;
    letter-spacing: 0px;
  }
}
.text-confirm-answer.transparent {
  opacity: 0;
  transition: all 250ms;
}
.for-float-wrapper .card__text {
  text-align: start;
}
.container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: relative;
}

.changer {
  width: 45px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 15px;
}
.arrow {
  display: none; /* Hide the arrow */
  width: 0;
  height: 0;
  border: 10px solid transparent;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.up-arrow::after,
.down-arrow::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  position: absolute;
  z-index: 1;
}
.up-arrow::after {
  border-width: 0 25px 43.3px 25px;
  border-color: transparent transparent green transparent;
  top: -21.6px;
  left: -25px;
}
.down-arrow::after {
  border-width: 43.3px 25px 0 25px;
  border-color: green transparent transparent transparent;
  bottom: -21.6px;
  left: -25px;
}
.digit {
  font-size: 22px; /* Increased font size */
  margin-bottom: 0px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; /* Prevent text selection */
  color: navy;
}

.triangle {
  width: 0;
  height: 0;
  border-left: 24px solid transparent;
  border-right: 24px solid transparent;
  position: relative;
  cursor: pointer;
}
.triangle.up {
  border-bottom: 37.3px solid green; /* 43.3 = 25 * tan(30Â°) */
  margin-bottom: 5px;
}
.triangle.down {
  border-top: 37.3px solid green; /* 43.3 = 25 * tan(30Â°) */
  margin-top: 5px;
}
.digit-container {
  position: relative;
  z-index: 2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex; /* Add this line */
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center; /* Add this line */
}
.inactive {
  cursor: default;
  opacity: 0.4;
  -webkit-filter: grayscale();
  filter: grayscale();
  pointer-events: none;
}
.moveable {
  position: absolute;
}
#moveable-image1 {
  cursor: pointer;
  width: 45px;
  height: 82px;
  top: 20%;
  left: 90px;
  z-index: 30;
}
@media screen and (min-width: 436px) {
  #moveable-image1 {
    top: 20%;
    left: 92px;
  }
}
.click-path {
  width: 35%;
  height: 35%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 2;
}

.for-float-wrapper .card__text {
  margin-top: 5px;
}

/* .for-float-wrapper .card__text-explanations.show {
  margin-top: 0px;
} */
@media screen and (min-width: 436px) {
  .for-float-wrapper .card__text {
    margin-top: 10px;
  }
  .for-float-wrapper .card__text-explanations.show {
    margin-top: 10px;
  }
}
/* .for-float-wrapper {
  margin-bottom: 20px;
  margin-top: -46px;
}
@media screen and (min-width: 436px) {
  .for-float-wrapper {
    margin-bottom: 0;
    margin-top: 0;
  }
} */
.odometer-container {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}
.odometer-number {
  top: 33%;
  letter-spacing: 6px;
  position: relative;
  font-size: 24px;
  font-weight: 600;
  height: max-content;
  margin-left: 5px;
}
.odometer-check {
  position: absolute;
  width: 19%;
  height: 4%;
  background-color: #6c6f9c;
  top: 69%;
  border-radius: 8px;
}
.odometer-check.odometer-check-green {
  background-color: #0beb0b;
}
.odometer-check.wrong {
  animation: colorChange 1s ease-in-out;
}

@keyframes colorChange {
  0% {
    background-color: #6c6f9c;
  }
  25% {
    background-color: red;
  }

  50% {
    background-color: #6c6f9c;
  }
  75% {
    background-color: red;
  }
  100% {
    background-color: #6c6f9c;
  }
}
.digit-x {
  position: absolute;
  color: silver;
  top: 50%;
  left: 0;
  transform: translate(140%, -54%);
  font-size: 20px;
}
.the-puzzled-driver-arrow-img {
  position: absolute;
  transition: all 250ms;
}
