.card__wrap .main .card__img {
  width: auto;
}

.card__wrap .main .goal-img.show {
  width: 78%;
}
@media screen and (min-width: 436px) {
  .card__wrap .main .goal-img.show {
    width: 82%;
  }
}
.card__wrap .main .explanation-img.show {
  width: 85%;
}
@media screen and (min-width: 436px) {
  .card__wrap .main .explanation-img.show {
    width: 85%;
  }
}
.markup-interactive {
  position: relative;
}
.six-glasses-problem {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 3px;
  z-index: 5;
}
@media screen and (min-width: 436px) {
  .six-glasses-problem {
    margin-bottom: 15px;
  }
}
.text-confirm-answer {
  font-size: 18px;
  font-weight: 600;
  color: white;
  text-align: center;
  width: 100%;
  opacity: 1;
  transition: all 250ms;
  position: absolute;
  top: 69%;
  left: 50%;
  transform: translate(-50%, -50%);
  fill-opacity: 0;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  line-height: 1;
}
@media screen and (min-width: 436px) {
  .text-confirm-answer {
    /* top: 94%;
    left: 67%; */
  }
}

.text-confirm-answer.transparent {
  opacity: 0;
  transition: all 250ms;
}
.for-float-wrapper .card__text {
  font-size: 18px;
  text-align: start;
  margin-bottom: 30px;
  margin-top: 0;
}
/* @media screen and (min-width: 436px) {
  .for-float-wrapper .card__text {
    font-size: 17px;
  }
} */
.container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  position: relative;
}

.changer {
  width: auto;
  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: 0px 0px 0 0px;
}

.changer .triangle.up {
  border-bottom: 33px solid green;
  margin-bottom: 10px;
}
.changer .triangle.down {
  border-top: 33px solid green;
  margin-top: 12px;
}

.digit {
  font-size: 26px; /* 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: 20px solid transparent;
  border-right: 20px solid transparent;
  position: relative;
  cursor: pointer;
}

.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();
}

.volumes-ratio {
  font-size: 26px;
  color: navy;
  width: 85px;
  display: flex;
  justify-content: center;
  align-items: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  position: absolute;
  top: 49%;
  transform: translate(0, -50%);
}
.volumes-ratio.left {
  left: 16%;
}
.volumes-ratio.right {
  right: 8%;
}
@media screen and (min-width: 436px) {
  .volumes-ratio.left {
    left: 14%;
  }
  .volumes-ratio.right {
    right: 6%;
  }
}
.click-path {
  cursor: pointer;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 77%;
  height: 22%;
}

.main .card__img svg {
  top: 0;
}

/* ==================== */

.card__wrap-blocked .text-confirm-answer {
  display: none;
}
.markup-interactive.winner .container {
  display: none;
}
