.card__wrap .main .card__img {
  width: 84vw;
  height: 84vw;
  /* margin-top: 10px; */
}
@media screen and (min-width: 436px) {
  .card__wrap .main .card__img {
    width: 300px;
    height: 300px;
  }
}

img.pig-img.show {
  position: absolute;
  width: 30%;
  transform: translate(-50%, 0);
  top: 2%;
  left: 50%;
}
.result-block {
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  position: absolute;
  top: 28%;
  left: 6%;
}
@media screen and (min-width: 436px) {
  .result-block {
    font-size: 22px;
  }
}

.result-block-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.coin-img {
  width: 15%;
  /* margin-left: 12%; */
}

.coin-img.show img {
  display: block;
}

.row-middle .coin-img img {
  padding: 4%;
}

.row-last .coin-img img {
  padding: 6%;
}

.delimiter {
  width: 10%;
}
.delimiter-x {
  font-weight: 600;
  font-size: 30px;
}

.quantity,
.amount {
  min-width: 31%;
}
.amount,
.total-amount {
  text-align: left;
}

.interactive {
  position: relative;
}
.total-info-text {
  width: 25%;
  color: silver;
  margin-left: 12%;
  opacity: 0;
  pointer-events: none;
  user-select: none;
}
.total-quantity {
  width: 0;
  font-size: 0;
  opacity: 0;
  pointer-events: none;
  user-select: none;
}
.total-info::before {
  content: "";
  width: 94%;
  height: 2px;
  background-color: gray;
  position: absolute;
  top: 0;
  left: 0%;
  transform: translate(-10%, -100%);
}
.total-amount {
  min-width: 31%;
}
.for-piggy-bank-savings {
  width: 100%;
  margin: 12px auto 7px auto;
  z-index: 5;
}
@media screen and (min-width: 436px) {
  .for-piggy-bank-savings {
    margin: 14px auto 10px 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;
}

.container {
  width: auto;
  height: auto;
  display: flex;
  position: absolute;
  top: 85%;
  left: 50%;
  -webkit-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  outline: 1px solid red;
}
@media screen and (min-width: 436px) {
  .container {
    top: 88%;
  }
}
.drop-zone-text {
  position: absolute;
  color: silver;
  font-size: 17px;
  font-weight: 600;
  top: -10%;
  transform: translate(0, -100%);
}
.drop-zone-text.text-value {
  left: 106%;
}

.total-info {
  margin-left: 64.5%;
  margin-top: 7px;
  position: relative;
  color: silver;
}
.card__wrap-blocked .total-info {
  color: green;
}
/* @media screen and (min-width: 436px) {
  .total-info {
    height: 48px;
    left: 105%;
  }
  .drop-zone-text.text-value {
    left: 105%;
  }
} */

.drop-zone {
  font-size: 46px;
  font-weight: 800;
  width: 13vw;
  height: 13vw;
  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: 48px;
    height: 48px;
  }
}

.tiles {
  width: 81%;
  max-width: 100%;
  height: 26vw;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  position: relative;
  margin: auto;
}
@media screen and (min-width: 436px) {
  .tiles {
    height: 90px;
  }
}

.tile {
  width: 12vw;
  height: 12vw;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 9vw;
  font-weight: bold;
  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: 42px;
    height: 42px;
    font-size: 30px;
  }
}
.tile-1 {
  left: 6.6%;
}
.tile-2 {
  left: 24.6%;
}
.tile-3 {
  left: 42.6%;
}
.tile-4 {
  left: 60.6%;
}
.tile-5 {
  left: 78.6%;
}
.tile-6 {
  top: 55%;
  left: 6.6%;
}
.tile-7 {
  top: 55%;
  left: 24.6%;
}
.tile-8 {
  top: 55%;
  left: 42.6%;
}
.tile-9 {
  top: 55%;
  left: 60.6%;
}
.tile-10 {
  top: 55%;
  left: 78.6%;
}
/* @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: 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 {
  left: 12%;
}
.spot-2 {
  left: 38%;
}
.spot-3 {
  left: 62%;
}
.spot-4 {
  left: 87%;
}

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

@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: 58px;
  left: 85%;
  cursor: pointer;
  z-index: 34;
}

.card__wrap-blocked .restart,
.card__wrap-blocked .plug,
.card__wrap-blocked .tiles {
  display: none;
}
.card__wrap-blocked .drop-zone {
  font-size: 12vw;
  color: var(--main-text-color);
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card__wrap-blocked .main {
  min-height: 341px;
}
@media screen and (min-width: 436px) {
  .card__wrap-blocked .main {
    min-height: 353px;
  }
  .card__wrap-blocked .drop-zone {
    font-size: 34px;
  }
}
