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

.interactive {
  position: relative;
}
.house-numbering {
  width: 100%;
  margin: 10px auto 5px auto;
  z-index: 5;
}
@media screen and (min-width: 436px) {
  .house-numbering {
    margin: 5px auto 5px auto;
  }
}
img.numbers-img.show {
  position: absolute;
  width: 100%;
  display: flex;
  padding: 0 3% 0 5%;
  justify-content: center;
  align-items: center;
  top: 31%;
}
.text-confirm-answer {
  font-size: 17px;
  text-align: center;
  font-weight: 600;
  color: gray;
  position: absolute;
  top: 0%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  opacity: 1;
  transition: all 250ms;
}
@media screen and (min-width: 436px) {
  .text-confirm-answer {
    top: 0%;
  }
}
.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;
}
.background-text-plug {
  width: 100%;
  height: 38%;
  background-color: #0000008f;
  position: absolute;
  bottom: 0;
}
.container {
  font-size: 24px;
  font-weight: 600;
  color: white;
  display: flex;
  position: absolute;
  top: 88%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 12vw;
  align-items: center;
  justify-content: center;
}
.container-top {
  top: 71%;
}
@media screen and (min-width: 436px) {
  .container,
  .container-top {
    /* width: 288px; */
    height: 48px;
  }
  .container {
    font-size: 22px;
    height: 54px;
  }
}

.first-plug {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.last-plug {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.drop-zone,
.drop-zone-plug {
  font-size: 21px;
  font-weight: 600;
  width: 14vw;
  height: 14vw;
  display: flex;
  align-items: flex-end;
  background-color: transparent;
  border-bottom: 3px solid;
  /* color: transparent; */
  border-radius: 0;
  position: relative;
  cursor: pointer;
  justify-content: center;
}
.drop-zone {
  width: 15vw;
  height: 8vw;
  margin: 0 6px;
}
.drop-zone-3,
.drop-zone-4,
.drop-zone-5 {
  width: 11vw;
  height: 11vw;
  margin: 0 5px;
  align-items: center;
  font-size: 30px;
}

.drop-zone-plug {
  color: var(--main-text-color);
  font-size: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.drop-zone-plug.small-size {
  font-size: 28px;
}

@media screen and (min-width: 436px) {
  .drop-zone-plug {
    width: 48px;
    height: 48px;
  }
  .drop-zone {
    width: 53px;
    height: 31px;
    margin: 0 4px;
  }
  .drop-zone-3,
  .drop-zone-4,
  .drop-zone-5 {
    width: 42px;
    height: 42px;
  }
}

.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: 140px;
  }
}

.tile {
  width: 11vw;
  height: 11vw;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 8vw;
  font-weight: bold;
  color: #ffffff;
  background-color: #648dd4;
  border-radius: 10px;
  margin: 0;
  cursor: pointer;
  position: absolute;
  top: 34%;
  transform-origin: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  z-index: 2;
}

.tile-1 {
  left: 8%;
}
.tile-2 {
  left: 26%;
}
.tile-3 {
  left: 44%;
}
.tile-4 {
  left: 62%;
}
.tile-5 {
  left: 80%;
}
.tile-6 {
  top: 69%;
  left: 8%;
}
.tile-7 {
  top: 69%;
  left: 26%;
}
.tile-8 {
  top: 69%;
  left: 44%;
}
.tile-9 {
  top: 69%;
  left: 62%;
}
.tile-10 {
  top: 69%;
  left: 80%;
}
.tile-even {
  top: 0;
  width: 26vw;
  left: 17%;
}
.tile-odd {
  top: 0;
  width: 26vw;
  left: 55.8%;
}
@media screen and (min-width: 436px) {
  .tile {
    width: 43px;
    height: 43px;
    font-size: 28px;
  }
  .tile-even {
    top: 0;
    width: 27%;
    left: 18%;
  }
  .tile-odd {
    top: 0;
    width: 27%;
    left: 55.8%;
  }
}
/* @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: transparent;
}
@media screen and (min-width: 436px) {
  .tile.in-drop-zone {
    transform: scale(1.2);
    font-size: 34px;
  }
}

.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: 50%;
  left: 25%;
}
.spot-2 {
  top: 50%;
  left: 71%;
}
.spot-3 {
  top: 50%;
  left: 38%;
}
.spot-4 {
  top: 50%;
  left: 52%;
}
.spot-5 {
  top: 50%;
  left: 66%;
}

.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-1 600ms ease-in-out 1;
}

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

.spot-5.show {
  animation: fade-in-out-3 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: 7px;
  left: 87%;
  cursor: pointer;
  z-index: 34;
}

.card__wrap-blocked .restart,
.card__wrap-blocked .plug,
.card__wrap-blocked .tiles {
  display: none;
}
