.card__wrap .main .card__img {
  width: 84%;
}
@media screen and (min-width: 436px) {
  .card__wrap .main .card__img {
    width: 90%;
  }
}
.for-float-wrapper {
  min-height: 39%;
}
.markup-interactive {
  position: relative;
}
.a-five-digit-number {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 15px;
  z-index: 5;
}

.text-confirm-answer {
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  color: white;
  width: 100%;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  transition: all 250ms;
  pointer-events: none;
}
.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: center;
  /* position: relative; */
}

.tiles {
  width: 305px;
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
  margin: 0 auto;
  justify-content: center;
}
@media screen and (min-width: 436px) {
  .tiles {
    width: 255px;
  }
}

.tile {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 34px;
  font-weight: bold;
  color: #ccc; /* changed font color to match outline color */
  background-color: #fff;
  border: 2px solid #ccc; /* added border */
  border-radius: 10px; /* added border-radius for rounded tiles */
  margin: 5px;
  cursor: pointer;
  transform-origin: center;
}
@media screen and (min-width: 436px) {
  .tile {
    font-size: 24px;
    width: 40px;
    height: 40px;
  }
}
.drop-zone {
  cursor: pointer;
}

/* .click-path-figure {
  cursor: pointer;
} */
.main .card__img svg {
  top: 0;
}
.main .card__img img {
  display: none;
}
.main .card__img img.show {
  display: flex;
}
.a-five-digit-number.for-win .tiles {
  display: none;
}
/* .for-float-wrapper .card__text.for-win {
  margin-top: -30px;
  transition: all 1000ms;
}
@media screen and (min-width: 436px) {
  .for-float-wrapper .card__text.for-win {
    margin-top: -30px;
    transition: all 1000ms;
  }
}
.a-five-digit-number.for-win {
  transform: scale(0.6);
  margin-top: -16px;
  margin-bottom: 0;
}
@media screen and (min-width: 436px) {
  .a-five-digit-number.for-win {
    margin-top: auto;
    margin-bottom: auto;
  }
} */
/* ======================== */
.wrapper-number-input-field {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 17% 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: space-around;
}
.first-field,
.second-field,
.third-field {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.first-field p,
.second-field p,
.third-field p {
  color: white;
  font-size: 15px;
  font-weight: 600;
  position: absolute;
  top: 2px;
}
.first-field p {
  left: 3px;
}
.second-field p,
.third-field p {
  left: 52px;
}
@media screen and (min-width: 436px) {
  .second-field p,
  .third-field p {
    left: 49px;
  }
}
.second-field .numeric-field {
  background-color: #496ead;
}
.numeric-field {
  width: 48px;
  height: 48px;
  color: transparent;
  font-size: 28px;
  font-weight: 800;
  background-color: #78a7ff;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 350ms;
}
@media screen and (min-width: 436px) {
  .numeric-field {
    width: 45px;
    height: 45px;
  }
}
.first-field .numeric-field,
.third-field .numeric-field {
  color: #e7e6e6;
}
.second-field .numeric-field {
  color: white;
}

.field-none {
  opacity: 0;
  pointer-events: none;
}
.first-field .numeric-field:nth-child(2) {
  border-top-left-radius: 10px;
}
.first-field .numeric-field:nth-child(7) {
  border-top-right-radius: 10px;
}
.second-field .numeric-field:nth-child(3) {
  border-top-left-radius: 10px;
}
.second-field .numeric-field:nth-child(7) {
  border-top-right-radius: 10px;
}
.third-field .numeric-field:nth-child(3) {
  border-top-left-radius: 10px;
}
.third-field .numeric-field:nth-child(8) {
  border-top-right-radius: 10px;
}
.for-float-wrapper .card__text-goal.show,
.for-float-wrapper .card__text-explanations.show {
  margin-bottom: 12px;
}
@media screen and (min-width: 436px) {
  .for-float-wrapper .card__text-goal.show,
  .for-float-wrapper .card__text-explanations.show {
    margin-bottom: unset;
  }
}
