.t-into-3-congruent-parts .card__img-wrapper {
  position: relative;
}
.t-into-3-congruent-parts .card__img {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 96%;
}

.t-into-3-congruent-parts {
  position: relative;
}
.text-confirm-answer {
  font-size: 15px;
  font-weight: 400;
  color: grey;
  position: absolute;
  top: 0;
  left: 19%;
  width: auto;
  transform: translate(0, 100%);
  opacity: 1;
  transition: all 250ms ease 0s;
  z-index: 9;
}

.text-confirm-answer.transparent {
  opacity: 0;
  transition: all 250ms;
}
/* .card__img .t-into-3-congruent-parts-outline {
  width: 100%;
  height: 83.6vw;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
@media screen and (min-width: 436px) {
  .card__img .t-into-3-congruent-parts-outline {
    height: 248px;
  }
} */
.t-into-3-congruent-parts .card__text {
  font-size: 18px;
  margin-bottom: 30px;
  text-align: start;
  width: 88%;
}

.grid-draw-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;
  grid-template-columns: repeat(6, 1.5fr);
  gap: 0;
  position: absolute;
  top: 0;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, 0%);
  width: 60vw;
  height: 70vw;
  /* outline: 5px solid gray; */
}
@media screen and (min-width: 436px) {
  .grid-draw-container {
    width: 240px;
    height: 280px;
  }
}

.draw-cell {
  border: 0.5px solid white;
  width: 10vw;
  height: 10vw;
  margin: 0;
  padding: 0;
  background-color: silver;
}
@media screen and (min-width: 436px) {
  .draw-cell {
    width: 40px;
    height: 40px;
  }
}

.clickable {
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 15px auto 10px auto;
}
@media screen and (min-width: 436px) {
  .buttons {
    margin: 40px auto 10px auto;
    /* margin-top: 30px; */
  }
}

.button {
  position: relative;
  width: 12vw;
  height: 12vw;
  margin: 10px;
  display: inline-block;
  cursor: pointer;
}

@media screen and (min-width: 436px) {
  .button {
    width: 38px;
    height: 38px;
  }
}

.button-border {
  width: calc(100% + 18px);
  height: calc(100% + 18px);
  position: absolute;
  top: -9px;
  left: -9px;
  border-radius: 5px;
  pointer-events: none;
  display: none;
}

.button.selected .button-border {
  display: block;
}

.red-button {
  background-color: #e60000;
}
.red-button.selected .button-border {
  border: 3px solid #e60000;
}
.green-button {
  background-color: #34cc34;
}
.green-button.selected .button-border {
  border: 3px solid #34cc34;
}
.blue-button {
  background-color: #648dd4;
}
.blue-button.selected .button-border {
  border: 3px solid #648dd4;
}

.yellow-button {
  background-color: #ffc00c;
}
.yellow-button.selected .button-border {
  border: 3px solid #ffc00c;
}
.red {
  background-color: #e60000;
}

.green {
  background-color: #34cc34;
}

.blue {
  background-color: #648dd4;
}

.yellow {
  background-color: #ffc00c;
}

.card__img-wrapper {
  width: 88vw;
  height: 83vw;
  position: relative;
  margin-top: 5vw;
}
@media screen and (min-width: 436px) {
  .card__img-wrapper {
    width: 300px;
    height: 306px;
    margin-top: 15px;
  }
}
.card__img .restart {
  display: flex;
  width: 35px;
  position: absolute;
  top: -26px;
  left: 85%;
  cursor: pointer;
}
@media screen and (min-width: 436px) {
  .card__img .restart {
    top: -32px;
  }
}
.card__wrap-blocked .buttons {
  display: none;
}
