/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

/* Убираем отступы и поля по умолчанию */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* Убираем стандартные стили для форм */
input,
button,
textarea,
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: inherit;
  background: none;
}

/* Отключаем стили для ссылок в Safari */
a {
  text-decoration: none;
  color: inherit;
}

/* Сброс стилей для изображений */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Убираем дефолтный стиль списков */
ul,
ol {
  list-style: none;
}

/* Сброс стилей для таблиц */
table {
  border-collapse: collapse;
  width: 100%;
}

/* Убираем стили для кнопок и ссылок */
button,
a {
  cursor: pointer;
}

/* Убираем тени в Safari */
input:focus,
textarea:focus,
button:focus {
  -webkit-box-shadow: none;
  box-shadow: none;
}

/* Для корректной работы с flexbox в Safari */
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* Убираем стили для полосы прокрутки */
::-webkit-scrollbar {
  display: none;
}

/* Обработаем Safari специфичные проблемы с формами */
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* Убираем прозрачность для фона на кнопках в Safari */
button {
  background-color: transparent;
  border: none;
  padding: 0;
}

/* Сброс стилей для SVG в Safari */
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Отключаем стили для пустых элементов, таких как div */
:empty {
  display: block;
}

/* Отключение трансформации для кнопок и ссылок */
button:focus,
a:focus {
  outline: none;
}

/* Для input и textarea */
input,
textarea {
  font-size: 100%;
  line-height: 1.4;
  padding: 0;
}

/* =========== */
.card__wrap .main .card__img {
  width: 88vw;
  height: 88.8vw;
  margin-top: 0;
}
@media screen and (min-width: 436px) {
  .card__wrap .main .card__img {
    width: 88%;
    height: auto;
  }
}
.main .restart.restart-icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 35px;
  height: 35px;
  position: absolute;
  top: 7px;
  left: 81%;
  cursor: pointer;
  z-index: 2;
}
.card__wrap-blocked .main .restart.restart-icon {
  display: none;
}
.text-confirm-answer {
  position: absolute;
  top: 3%;
  left: 0%;
  color: var(--main-text-color);
  font-size: 18px;
  text-align: center;
  width: 34%;
}
.text-confirm-answer.transparent {
  opacity: 0;
  -webkit-transition: all 250ms;
  -o-transition: all 250ms;
  transition: all 250ms;
}
.for-float-wrapper .card__text {
  text-align: start;
  margin-top: 12px;
  margin-bottom: 30px;
  -webkit-transition: all 250ms;
  -o-transition: all 250ms;
  transition: all 250ms;
  font-size: 18px;
}
.card__wrap .interactive-container {
  width: 88%;
  margin: 0 auto;
  min-height: 24%;
  height: 100%;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.count-answer {
  font-size: 35px;
  font-weight: 700;
  text-align: center;
  color: var(--main-text-color);
}
.progress-content {
  width: 90%;
  height: 90%;
  border-radius: 50%;
  background-color: white;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.progress-container {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: conic-gradient(rgb(100, 141, 212) 0deg, rgb(211, 211, 211) 0deg);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  opacity: 1;
  -webkit-transition: all 250ms;
  -o-transition: all 250ms;
  transition: all 250ms;
  position: absolute;
  top: 83%;
  left: 88%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.progress-container.transparent {
  opacity: 0;
}

.markup-interactive {
  width: 100%;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.card__wrap-blocked .card__text-explanations {
  margin-top: 6%;
}
.card__wrap-blocked .dot,
.card__wrap-blocked #drawingCanvas {
  opacity: 0;
}

.card__wrap .main {
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  position: relative;
  -moz-user-select: none;
  user-select: none;
  -webkit-user-select: none; /* Для iOS */
  -ms-user-select: none; /* Для IE/Edge */
}
.dots-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
}
.dot {
  width: 9%;
  height: 9%;
  background: transparent;
  background-color: transparent;
  border-radius: 50%;
  position: absolute;
  cursor: pointer;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 9;
}
.prev-dot {
  width: 5%;
  height: 5%;
  background: #7477cc;
  border-radius: 50%;
  position: absolute;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
  z-index: 1;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.dot-1 {
  top: 3.8%;
  left: 40.8%;
}
.dot-2 {
  top: 3.8%;
  left: 59.2%;
}
.dot-3 {
  top: 22.2%;
  left: 40.8%;
}
.dot-4 {
  top: 22.4%;
  left: 59.2%;
}
.dot-5 {
  top: 40.6%;
  left: 4.2%;
}
.dot-6 {
  top: 40.6%;
  left: 22.6%;
}
.dot-7 {
  top: 40.6%;
  left: 40.8%;
}
.dot-8 {
  top: 40.6%;
  left: 59.2%;
}
.dot-9 {
  top: 40.6%;
  left: 77.4%;
}
.dot-10 {
  top: 40.6%;
  left: 95.8%;
}
.dot-11 {
  top: 59.2%;
  left: 4.2%;
}
.dot-12 {
  top: 59.2%;
  left: 22.6%;
}
.dot-13 {
  top: 59.2%;
  left: 40.8%;
}
.dot-14 {
  top: 59.2%;
  left: 59.2%;
}
.dot-15 {
  top: 59.2%;
  left: 77.4%;
}
.dot-16 {
  top: 59.2%;
  left: 95.8%;
}
.dot-17 {
  top: 77.8%;
  left: 40.8%;
}
.dot-18 {
  top: 77.8%;
  left: 59.2%;
}
.dot-19 {
  top: 96.4%;
  left: 40.8%;
}
.dot-20 {
  top: 96.4%;
  left: 59.2%;
}

.prev-dot-1 {
  top: 7.8%;
  left: 41.8%;
}

.prev-dot-2 {
  top: 7.8%;
  left: 58.4%;
}

.prev-dot-3 {
  top: 24.8%;
  left: 41.8%;
}

.prev-dot-4 {
  top: 24.8%;
  left: 58.4%;
}

.prev-dot-5 {
  top: 41.6%;
  left: 8.4%;
}
.prev-dot-6 {
  top: 41.6%;
  left: 25%;
}
.prev-dot-7 {
  top: 41.6%;
  left: 41.6%;
}
.prev-dot-8 {
  top: 41.6%;
  left: 58.4%;
}
.prev-dot-9 {
  top: 41.6%;
  left: 75%;
}
.prev-dot-10 {
  top: 41.6%;
  left: 91.8%;
}
.prev-dot-11 {
  top: 58.6%;
  left: 8.2%;
}
.prev-dot-12 {
  top: 58.6%;
  left: 25%;
}
.prev-dot-13 {
  top: 58.6%;
  left: 41.6%;
}
.prev-dot-14 {
  top: 58.6%;
  left: 58.4%;
}
.prev-dot-15 {
  top: 58.6%;
  left: 75%;
}
.prev-dot-16 {
  top: 58.6%;
  left: 91.6%;
}
.prev-dot-17 {
  top: 75.4%;
  left: 41.6%;
}
.prev-dot-18 {
  top: 75.4%;
  left: 58.4%;
}
.prev-dot-19 {
  top: 92.2%;
  left: 41.6%;
}
.prev-dot-20 {
  top: 92.2%;
  left: 58.4%;
}

canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: transparent; */
  z-index: 10;
}

.first-group,
.second-group,
.third-group,
.fourth-group,
.fifth-group {
  position: absolute;
  width: 25vw;
  height: 25vw;
  top: 30%;

  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  opacity: 0;
  color: #7fb009;
}

.first-group.show,
.second-group.show,
.third-group.show,
.fourth-group.show,
.fifth-group.show {
  opacity: 1;
}
@media screen and (min-width: 436px) {
  .first-group,
  .second-group,
  .third-group,
  .fourth-group,
  .fifth-group.show {
    width: 100px;
    height: 100px;
  }
}

.first-group::after,
.second-group::after,
.third-group::after,
.fourth-group::after,
.fifth-group::after {
  content: "";
  width: 18%;
  height: 18%;
  position: absolute;
  top: 80%;
  left: 78%;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
  background-image: url(../img/699/checkMark.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0;
}

.second-group::after,
.third-group::after {
  top: 80%;
  left: 73%;
}
.first-group.complete::after {
  opacity: 1;
}

.second-group.complete::after {
  opacity: 1;
}
.third-group.complete::after {
  opacity: 1;
}

.fourth-group.complete::after {
  opacity: 1;
}
.fifth-group.complete::after {
  opacity: 1;
}

.first-group {
  left: 13%;
}
.second-group {
  /* left: 55.5%; */
  left: 32%;
  top: 77%;
}
.third-group {
  /* left: 87%; */
  left: 69%;
  top: 77%;
}
.fourth-group {
  /* top: 77%;
  left: 32%; */
  left: 50.5%;
}

.fifth-group {
  /* top: 77%;
  left: 69%; */
  left: 87%;
}

.figure {
  -webkit-transition: all 350ms;
  -o-transition: all 350ms;
  transition: all 350ms;
  opacity: 0;
  z-index: 1;
}
.figure.show {
  opacity: 1;
}
.figure-small,
.figure-above-average,
.figure-large,
.figure-medium,
.figure-smaller-large {
  border: 1px solid red;
  background-color: #8aace73d;

  position: absolute;
}

.figure-small {
  width: 17.6%;
  height: 17.6%;
  position: absolute;
}
.figure-above-average {
  width: 38.6%;
  height: 38.6%;
  position: absolute;
}

.figure-large {
  width: 61.2%;
  height: 61.2%;
  position: absolute;
}
.figure-medium {
  width: 24.6%;
  height: 24.6%;
  position: absolute;
}
.figure-smaller-large {
  width: 48%;
  height: 48%;
  position: absolute;
}
.small-1 {
  top: 7.4%;
  left: 41.4%;
}
.small-2 {
  top: 24.2%;
  left: 41.4%;
}
.small-3 {
  top: 41.6%;
  left: 7.4%;
}
.small-4 {
  top: 41.6%;
  left: 24%;
}
.small-5 {
  top: 41.6%;
  left: 41.4%;
}
.small-6 {
  top: 41.6%;
  left: 58%;
}
.small-7 {
  top: 41.6%;
  left: 74.6%;
}
.small-8 {
  top: 58.2%;
  left: 41.4%;
}
.small-9 {
  top: 75.2%;
  left: 41.4%;
}

.above-average-1 {
  top: 30.8%;
  left: 30.8%;
  transform: rotate(26.5deg);
}
.above-average-2 {
  top: 30.8%;
  left: 30.8%;
  transform: rotate(-26.5deg);
}

.smaller-large-1 {
  top: 17.6%;
  left: 17.8%;
  transform: rotate(45deg);
}
.smaller-large-2 {
  top: 17.6%;
  left: 34.8%;
  transform: rotate(45deg);
}
.smaller-large-3 {
  top: 34.4%;
  left: 17.8%;
  transform: rotate(45deg);
}
.smaller-large-4 {
  top: 34.8%;
  left: 34.8%;
  transform: rotate(45deg);
}

.large-1 {
  top: 19.5%;
  left: 19.4%;
  transform: rotate(33.5deg);
}
.large-2 {
  top: 19.5%;
  left: 19.4%;
  transform: rotate(56.5deg);
}
.medium-1 {
  top: 28.6%;
  left: 29.6%;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.medium-2 {
  top: 28.6%;
  left: 46.4%;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.medium-3 {
  top: 46%;
  left: 29.6%;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.medium-4 {
  top: 46.2%;
  left: 46.4%;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.card__wrap-blocked .interactive-container {
  display: none;
}
.card__wrap .bookmark-switch-text {
  top: 60%;
}
.preview-text {
  position: absolute;
  top: 55%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 50%;
  text-align: center;
  color: gray;
  font-size: 19px;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  opacity: 1;
}

@media screen and (min-width: 436px) {
  .preview-text {
    width: 54%;
  }
}
.preview-text.transparent {
  top: 0;
  left: 150%;
  width: 0;
  color: transparent;
  font-size: 0px;
  opacity: 0;
}
