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

.interactive {
  position: relative;
}
.for-2-3-4-5-to-a-valid-equation {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
  z-index: 5;
}

.text-confirm-answer {
  font-size: 17px;
  text-align: center;
  font-weight: 600;
  color: gray;
  position: absolute;
  top: 64%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  opacity: 1;
  transition: all 250ms;
}
@media screen and (min-width: 436px) {
  .text-confirm-answer {
    top: 60%;
  }
}
.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: -ms-grid;
  display: grid;
  -ms-grid-columns: 1.5fr 0 1.5fr 0 1.5fr 0 1.5fr 0 1.5fr 0 1.5fr 0;
  grid-template-columns: repeat(6, 1.5fr);
  gap: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 86.4vw;
  height: 43.2vw;
  outline: 1px solid red;
}

@media screen and (min-width: 436px) {
  .container {
    width: 294px;
    height: 147px;
  }
}
.drop-zone {
  font-size: 50px;
  font-weight: 800;
  width: 14.4vw;
  height: 14.4vw;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background-color: transparent;
  border: 1px solid red;
  color: transparent;
  position: relative;
  cursor: pointer;
}
@media screen and (min-width: 436px) {
  .drop-zone {
    width: 49px;
    height: 49px;
  }
}

.tiles {
  width: 100%;
  max-width: 100%;
  height: 35vw;
  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;
  }
}

.tile {
  width: 15vw;
  height: 15vw;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 9vw;
  font-weight: bold;
  /* color: var(--main-text-color);
  background-color: #fff;
  border: 1px solid var(--main-text-color); */
  color: #ffffff;
  background-color: #648dd4;
  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: 55px;
    height: 55px;
    font-size: 30px;
  }
}
.tile-1 {
  left: 11%;
}
.tile-2 {
  left: 32%;
}
.tile-3 {
  left: 53%;
}
.tile-4 {
  left: 74%;
}
.tile-5 {
  top: 58%;
  left: 32%;
}
.tile-6 {
  top: 58%;
  left: 53%;
}
@media screen and (min-width: 436px) {
  .tile-5 {
    top: 48%;
  }
  .tile-6 {
    top: 48%;
  }
}
.tile.plug {
  pointer-events: none;
  color: #ccc;
  border: 1px solid #ccc;
  background-color: white;
  z-index: 1;
}
.tile.active {
  color: #ffffff;
  background-color: #648dd4;
  z-index: 100;
}
.tile.active.in-drop-zone {
  color: #ffffff;
  background-color: #648dd4;
  border: none;
}
.tile.in-drop-zone {
  background-color: transparent;
  border: none;
  transform: scale(1.3);
  color: var(--main-text-color);
}
@media screen and (min-width: 436px) {
  .tile.in-drop-zone {
    transform: scale(1.2);
    font-size: 40px;
  }
}

.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: 16%;
  left: 8%;
}
.spot-2 {
  top: 16%;
  left: 25%;
}
.spot-3 {
  top: 16%;
  left: 42%;
}
.spot-4 {
  top: 16%;
  left: 58%;
}
.spot-5 {
  top: 16%;
  left: 75%;
}
.spot-6 {
  top: 16%;
  left: 92%;
}
.spot-7 {
  top: 50%;
  left: 8%;
}
.spot-8 {
  top: 50%;
  left: 25%;
}
.spot-9 {
  top: 50%;
  left: 42%;
}
.spot-10 {
  top: 50%;
  left: 58%;
}
.spot-11 {
  top: 50%;
  left: 75%;
}
.spot-12 {
  top: 50%;
  left: 92%;
}
.spot-13 {
  top: 83%;
  left: 8%;
}
.spot-14 {
  top: 83%;
  left: 25%;
}
.spot-15 {
  top: 83%;
  left: 42%;
}
.spot-16 {
  top: 83%;
  left: 58%;
}
.spot-17 {
  top: 83%;
  left: 75%;
}
.spot-18 {
  top: 83%;
  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;
}
.spot-10.show {
  animation: fade-in-out-2 600ms ease-in-out 1;
}

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

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

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

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

.spot-17.show {
  animation: fade-in-out-1 600ms ease-in-out 1;
}
.spot-18.show {
  animation: fade-in-out-2 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: 33px;
  position: absolute;
  top: 52px;
  left: 85%;
  cursor: pointer;
  z-index: 34;
}

.card__wrap-blocked .restart,
.card__wrap-blocked .plug {
  display: none;
}
.card__wrap-blocked .main {
  min-height: 341px;
}
@media screen and (min-width: 436px) {
  .card__wrap-blocked .main {
    min-height: 353px;
  }
}
