.card__wrap .main .card__img {
  width: 87%;
}

/* @media screen and (min-width: 436px) {
  .card__wrap .main .card__img {
    width: 84%;
  }
} */
.interactive {
  position: relative;
}
.for-reaching-13 {
  width: 83%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  margin-bottom: 7px;
  z-index: 5;
}

.text-confirm-answer {
  font-size: 18px;
  text-align: center;
  font-weight: 600;
  color: gray;
  position: absolute;
  top: 23%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  opacity: 1;
  transition: all 250ms;
}
@media screen and (min-width: 436px) {
  .text-confirm-answer {
    font-size: 17px;
  }
}
.text-confirm-answer.transparent {
  opacity: 0;
  transition: all 250ms;
}
.for-float-wrapper .card__text {
  text-align: start;
  margin-top: 0;
  margin-bottom: 30px;
  font-size: 18px;
}

.container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: flex-end;
  position: absolute;
  top: 50%;
  left: 32%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 38%;
  flex-wrap: wrap;
  align-items: stretch;
  align-content: space-between;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.container::before {
  content: "";
  width: 100%;
  height: 5px;
  background-color: var(--main-text-color);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media screen and (min-width: 436px) {
  .container {
    height: 117px;
    left: 31.2%;
  }
}
.drop-zone {
  font-size: 48px;
  font-weight: bold;
  width: 10vw;
  height: 14vw;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-right: 1px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background-color: transparent;
  border: 1px dashed gray;
  border-radius: 8px;
  color: transparent;
  position: relative;
  cursor: pointer;
}
@media screen and (min-width: 436px) {
  .drop-zone {
    width: 34px;
    height: 50px;
  }
}

.answer-container {
  color: #8daee6;
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  width: 26%;
  height: 44%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 85.2%;
  transform: translate(-50%, -50%);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
@media screen and (min-width: 436px) {
  .answer-container {
    font-size: 27px;
    height: 130px;
    margin-top: 1px;
  }
}

.answer-container::before {
  content: "";
  width: 100%;
  height: 5px;
  background-color: var(--main-text-color);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.answer-constant,
.answer-number {
  width: 100%;
  height: 16vw;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transform: scale(1.5);
}
@media screen and (min-width: 436px) {
  .answer-constant,
  .answer-number {
    height: 60px;
  }
}

.drop-zone:nth-child(1) {
  margin-left: 5px;
}

.drop-zone:nth-child(9) {
  margin-right: 0;
}

.sign {
  font-size: 44px;
  font-weight: 800;
  position: absolute;
  top: 49.8%;
  left: 67%;
  transform: translate(-50%, -50%);
  color: white;
}
.tiles {
  width: 100%;
  max-width: 100%;
  height: 37vw;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
@media screen and (min-width: 436px) {
  .tiles {
    width: auto;
    max-width: unset;
    height: 150px;
  }
  .sign {
    left: 66.8%;
  }
}

.tile {
  width: 12vw;
  height: 16vw;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  font-weight: bold;
  color: var(--main-text-color);
  background-color: #fff;
  border: 1px solid var(--main-text-color);
  border-radius: 10px;
  margin: 0;
  cursor: pointer;
  position: absolute;
  top: 0;
  transform-origin: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  z-index: 2;
}
@media screen and (min-width: 436px) {
  .tile {
    width: 45px;
    height: 67px;
    font-size: 30px;
  }
}
.tile-1 {
  left: 5%;
}
.tile-2 {
  left: 24%;
}
.tile-3 {
  left: 43%;
}
.tile-4 {
  left: 62%;
}
.tile-5 {
  left: 81%;
}
.tile-6 {
  top: 52%;
  left: 14.6%;
}
.tile-7 {
  top: 52%;
  left: 33.6%;
}
.tile-8 {
  top: 52%;
  left: 52.6%;
}
.tile-9 {
  top: 52%;
  left: 71.6%;
}
.tile.plug {
  pointer-events: none;
  color: #ccc;
  border: 1px solid #ccc;
  z-index: 1;
}
.tile.active {
  color: #ffffff;
  background-color: #648dd4;
  z-index: 100;
}
.tile.active.in-drop-zone {
  /* color: #648dd4;
  background-color: transparent; */
  color: #ffffff;
  background-color: #648dd4;
  border: none;
}
.tile.in-drop-zone {
  background-color: transparent;
  border: none;
  transform: scale(1.5);
}
@media screen and (min-width: 436px) {
  .tile.in-drop-zone {
    transform: scale(1.2);
    font-size: 34px;
  }
}
.click-path-figure {
  cursor: pointer;
}
.main .card__img svg {
  top: 0;
}
.spot-container {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.spot {
  width: 4vw;
  height: 4vw;
  border: 1px solid silver;
  border-radius: 50%;
  box-shadow: 1px 1px var(--main-text-color);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background-color: #ffffffbf;
  opacity: 0;
  transition: all 200ms;
}

@media screen and (min-width: 436px) {
  .spot {
    width: 15px;
    height: 15px;
  }
}
.spot-1 {
  top: 22%;
  left: 30%;
}
.spot-2 {
  top: 22%;
  left: 50%;
}
.spot-3 {
  top: 22%;
  left: 70%;
}
.spot-4 {
  top: 22%;
  left: 90%;
}
.spot-5 {
  top: 78%;
  left: 12%;
}
.spot-6 {
  top: 78%;
  left: 32%;
}
.spot-7 {
  top: 78%;
  left: 52%;
}
.spot-8 {
  top: 78%;
  left: 72%;
}
.spot-9 {
  top: 78%;
  left: 92%;
}
.spot-1.show {
  animation: fade-in-out-1 600ms ease-in-out 1;
}

.spot-2.show {
  animation: fade-in-out-2 600ms ease-in-out 1;
}

.spot-3.show {
  animation: fade-in-out-3 600ms ease-in-out 1;
}

.spot-4.show {
  animation: fade-in-out-4 600ms ease-in-out 1;
}

.spot-5.show {
  animation: fade-in-out-1 600ms ease-in-out 1;
}
.spot-6.show {
  animation: fade-in-out-2 600ms ease-in-out 1;
}

.spot-7.show {
  animation: fade-in-out-3 600ms ease-in-out 1;
}

.spot-8.show {
  animation: fade-in-out-4 600ms ease-in-out 1;
}

.spot-9.show {
  animation: fade-in-out-1 600ms ease-in-out 1;
}

@keyframes fade-in-out-1 {
  0% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes fade-in-out-2 {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes fade-in-out-3 {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  75% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes fade-in-out-4 {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.card__wrap .restart {
  display: flex;
  width: 34px;
  position: absolute;
  top: 60px;
  right: 15px;
  cursor: pointer;
  z-index: 34;
  opacity: 1;
}

.card__wrap-blocked .restart,
.card__wrap-blocked .for-reaching-13 {
  display: none;
}
.card__wrap-blocked .drop-zone {
  color: var(--main-text-color);
}
@media screen and (min-width: 436px) {
  .card__wrap-blocked .drop-zone {
    font-size: 40px;
    align-items: center;
  }
}
