.main .card__img {
  width: 78%;
  margin-bottom: 10px;
}
.main .card__img.for-win {
  width: 88%;
}
.markup-interactive {
  position: relative;
}
.for-float-wrapper {
  min-height: 50%;
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
}
.text-confirm-answer {
  font-size: 16px;
  font-weight: 400;
  color: grey;
  position: absolute;
  top: 100%;
  right: 0;
  transform: translate(4%, 50%);
  width: 100%;
  opacity: 1;
  transition: all 250ms;
  text-align: end;
}
.text-confirm-answer.transparent {
  opacity: 0;
  transition: all 250ms;
}

.a-cyclist {
  width: 100%;
  display: flex;
  align-items: center;
  z-index: 5;
  transition: all 1500ms;
  justify-content: center;
  /* margin-top: auto; */
  margin-bottom: 25px;
  position: relative;
}
.a-cyclist.winner {
  margin-bottom: 78px;
}
@media screen and (min-width: 436px) {
  .a-cyclist {
    margin-bottom: 25px;
  }
  .a-cyclist.winner {
    margin-bottom: 53px;
  }
}
/* @media screen and (min-width: 436px) {
  .a-cyclist {
    margin-top: 60px;
    shape-outside: inset(53% 0% -73% 14%);
    transition: all 700ms;
  }
} */
/* .a-cyclist.winner {
  margin-top: 117px;
  shape-outside: inset(43% 0% 0% 8%);
  transition: all 1500ms;
}
@media screen and (min-width: 436px) {
  .a-cyclist.winner {
    margin-top: 125px;
    shape-outside: inset(52% 0% 0% 8%);
    transition: all 700ms;
  }
} */

.for-float-wrapper .card__text {
  text-align: start;
  margin-bottom: auto;
  margin-top: auto;
}
.card__text-goal.show {
  margin-top: 20px;
}
.for-float-wrapper .card__text.card__text-explanations {
  margin-top: auto;
  margin-bottom: auto;
}
@media screen and (min-width: 436px) {
  .for-float-wrapper .card__text.card__text-explanations {
    margin-top: auto;
    margin-bottom: auto;
  }
}

.container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
}

.changer {
  width: auto;
  margin: 0;
  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;
}
.digit-x {
  position: absolute;
  top: 50%;
  left: -90%;
  transform: translate(0, -50%);
  font-size: 20px;
  color: silver;
}
.digit-equal {
  position: absolute;
  top: 50%;
  left: 150%;
  transform: translate(0%, -50%);
  font-size: 20px;
  color: silver;
}
img.pictogram-img {
  width: 72px;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
}
img.pictogram-img.cyclist {
  left: 6%;
}
img.pictogram-img.walker {
  right: 1%;
}
.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; /* 43.3 = 25 * tan(30°) */
  border-color: transparent transparent green transparent;
  top: -21.6px;
  left: -25px;
}
.down-arrow::after {
  border-width: 43.3px 25px 0 25px; /* 43.3 = 25 * tan(30°) */
  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;
}

.digit-description {
  position: absolute;
  color: silver;
  top: 50%;
  left: 100%;
  transform: translate(0, -50%);
  font-size: 16px;
}
.triangle {
  width: 0;
  height: 0;
  border-left: 24px solid transparent;
  border-right: 24px solid transparent;
  position: relative;
  cursor: pointer;
}
.triangle.up {
  border-bottom: 37px solid green; /* 43.3 = 25 * tan(30°) */
  margin-bottom: 5px;
}
.triangle.down {
  border-top: 37px solid green; /* 43.3 = 25 * tan(30°) */
  margin-top: 5px;
}
@media screen and (min-width: 436px) {
  .triangle {
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
  }
  .triangle.up {
    border-bottom: 31px solid green; /* 43.3 = 25 * tan(30°) */
    margin-bottom: 5px;
  }
  .triangle.down {
    border-top: 31px 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();
}
.moveable {
  position: absolute;
}
#moveable-image1 {
  cursor: pointer;
  width: 40px;
  height: 74px;
  margin-top: -6px;
  right: 0;
  z-index: 30;
}
.click-path {
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-45%, -6%);
  width: 22%;
  height: 19%;
}
