html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: #ffffff;
  min-height: 100dvh;
}

body::-webkit-scrollbar, .modal-block__content::-webkit-scrollbar {
  width: 0.75rem;
  background-color: #E5E5E5;
}
body, .modal-block__content {
  scrollbar-width: thin;
  scrollbar-color: #E5E5E5 #BA1505;
}
body::-webkit-scrollbar-thumb, .modal-block__content::-webkit-scrollbar-thumb {
  border-radius: 0.75rem;
  background-color: #BA1505;
  cursor: pointer;
}
body::-webkit-scrollbar-track, .modal-block__content::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  background-color: #E5E5E5;
}

@media screen and (max-width: 1540px) {
  html {
    font-size: 14px;
  }
}
@media screen and (max-width: 1200px) {
  html {
    font-size: 12px;
  }
}
@media screen and (max-width: 992px) {
  html {
    font-size: 10px;
  }
}
@media screen and (max-width: 768px) {
  html {
    font-size: 9px;
  }
}
@media screen and (max-width: 576px) {
  html {
    font-size: 8px;
  }
}
@media screen and (min-width: 1540px) {
  .container {
    max-width: 1400px;
  }
}
section {
  margin-bottom: 3.5rem;
}

.js_reg_auth_tabs {
  display: none;
}

.logo-container img {
  width: 170px;
  height: auto;
}

.cap {
  padding-top: 30px;
}
.cap__content {
  margin-top: 40px;
  display: flex;
  background: linear-gradient(180deg, rgb(225, 225, 225), rgb(255, 255, 250));
  border-radius: 10px;
  box-shadow: 0 2.8px 2.8px 0 rgba(0, 0, 0, 0.25);
}
.cap__text {
  padding: 20px;
}
.cap__text img {
  width: 400px;
  height: auto;
  margin-bottom: 10px;
}
.cap .cap-img {
  width: 100%;
  height: 100%;
}
.cap .start-btn-container {
  display: flex;
  justify-content: flex-end;
  margin-top: 50px;
}
.cap .start-btn-container--finish {
  justify-content: center;
}
.cap .finish-img {
  width: 80%;
  height: auto;
}
.cap__btn {
  color: #FFF;
  text-align: center;
  font-size: 1.625rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.26px;
  text-transform: uppercase;
  border-radius: 5px;
  background: rgb(252, 205, 102);
  padding: 1.25rem 4rem;
  margin-left: auto;
  width: fit-content;
  cursor: pointer;
  border: 2px solid rgb(252, 205, 102);
  transition: all 0.2s ease;
}
.cap__btn--finish {
  margin-left: inherit;
}
.cap__btn:hover {
  color: black;
  background: transparent;
  text-decoration: none;
}
.cap p {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 125%;
  margin-bottom: 1.125rem;
  color: #000;
}

.game1 {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.game1__paper {
  position: absolute;
  width: 100%;
  z-index: 1;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.game1__paper img {
  max-width: 103%;
}

.questions_item {
  display: none;
}

.questions_item_content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-radius: 5px;
  background: #fff;
  padding: 2.625rem 1.5rem 1.5rem;
  gap: 1.75rem;
  position: relative;
}

.questions_item__strip {
  border-radius: 5px 5px 0 0;
  background: rgb(252, 205, 102);
  height: 1.125rem;
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
}

.questions_item:first-child {
  display: block;
}

.questions_item_q:not(.topper) {
  margin-top: 4.5rem;
}

.topper p:first-of-type {
  margin-right: 5rem;
}

.questions_item_q p {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 125%;
  margin-bottom: 1.125rem;
  color: #000;
}

.questions_item_a {
  display: flex;
  flex-wrap: wrap;
  padding: 0.25rem 0;
  align-items: flex-start;
  position: relative;
  z-index: 200;
}

.questions_item_a_circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2.8px 2.8px 0 rgba(0, 0, 0, 0.25);
  background: rgb(252, 205, 102);
  padding: 5px;
  position: relative;
  z-index: 1;
}

.questions_item_a_circle_inner {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  cursor: pointer;
  background: white;
  opacity: 0;
  position: relative;
  z-index: 2;
}

.questions_item_a_label {
  width: calc(100% - 30px);
  cursor: pointer;
  padding-left: 10px;
  color: #000;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

.questions_item_a:hover .questions_item_a_circle,
.questions_item_a.active .questions_item_a_circle {
  background: rgb(252, 205, 102);
}

.questions_item_a:hover .questions_item_a_circle_inner,
.questions_item_a.active .questions_item_a_circle_inner {
  opacity: 1;
}

.questions_item_a_description {
  font-size: 14px;
  width: 100%;
  margin-top: 5px;
}

.questions_item_a_description.red {
  color: red;
}

.questions_item_a_description.green {
  color: #8eb73f;
}

.questions_item_pic {
  position: relative;
  height: fit-content;
}
.questions_item_pic_img {
  width: 100%;
  position: relative;
}
.questions_item_pic_img-1 {
  min-width: 40rem;
}
.questions_item_pic_img-2 {
  min-width: 40rem;
}
.questions_item_pic_img-3 {
  min-width: 45rem;
}
.questions_item_pic_img-4 {
  min-width: 52rem;
}
.questions_item_pic_img-5 {
  min-width: 45rem;
}
.questions_item_pic_img-6 {
  min-width: 29rem;
}
.questions_item_pic_img-7 {
  min-width: 29rem;
}
.questions_item_pic_img-8 {
  min-width: 29rem;
}
.questions_item_pic_img-9 {
  min-width: 45rem;
}
.questions_item_pic_img-10 {
  min-width: 29rem;
}

.help {
  width: 6.5rem;
  position: absolute;
  cursor: pointer;
  animation: ring 4s ease-in-out infinite;
  z-index: 100;
}
.help__lt {
  left: 1.5rem;
  top: 2.25rem;
}
.help__rt {
  right: 1.5rem;
  top: 2.25rem;
}
.help__lb {
  left: 1.5rem;
  bottom: 2.25rem;
}
.help__rb {
  right: 1.5rem;
  bottom: 2.25rem;
}
.help.active {
  animation: none;
  pointer-events: none;
}

.hint {
  opacity: 0;
  position: absolute;
  width: 2.125rem;
  height: 2.125rem;
  transition: all 0.2s ease;
  pointer-events: none;
  border-radius: 50%;
  z-index: 100;
}
.hint.active {
  opacity: 1;
  cursor: pointer;
  pointer-events: all;
  animation: pulsar 1.5s infinite;
}
.hint.dis {
  pointer-events: none;
}
.hint:hover {
  transform: scale(1.1);
}
.hint__1-1 {
  right: 25%;
  top: 36%;
}
.hint__1-2 {
  right: 19%;
  top: 39%;
}
.hint__1-3 {
  right: 2%;
  top: 2%;
}
.hint__2-1 {
  right: 30%;
  top: 31%;
}
.hint__3-1 {
  right: 45%;
  top: 9%;
}
.hint__3-2 {
  right: 43%;
  top: 36%;
}
.hint__3-3 {
  right: 37%;
  top: 11%;
}
.hint__3-4 {
  right: 42%;
  top: 24%;
}
.hint__4-1 {
  right: 66%;
  top: 76%;
}
.hint__5-1 {
  right: 23%;
  top: 39%;
}
.hint__5-2 {
  right: 33%;
  top: 49%;
}
.hint__5-3 {
  right: 37%;
  top: 69%;
}
.hint__6-1 {
  right: 43%;
  top: 18%;
}
.hint__6-2 {
  right: 44%;
  top: 22%;
}
.hint__7-1 {
  right: 35%;
  top: 71%;
}
.hint__8-1 {
  right: 56%;
  top: 24%;
}
.hint__8-2 {
  right: 53%;
  top: 40%;
}
.hint__8-3 {
  right: 37%;
  top: 27%;
}
.hint__9-1 {
  right: 80%;
  top: 15%;
}
.hint__10-1 {
  right: 27%;
  top: 11%;
}
.hint__10-2 {
  right: 44%;
  top: 19%;
}
.hint__10-3 {
  right: 59%;
  top: 22%;
}
.hint__10-4 {
  right: 66%;
  top: 34%;
}

@keyframes ring {
  0% {
    transform: rotate(0);
  }
  3% {
    transform: rotate(10deg);
  }
  6% {
    transform: rotate(-8deg);
  }
  9% {
    transform: rotate(6deg);
  }
  12% {
    transform: rotate(-4deg);
  }
  15% {
    transform: rotate(2deg);
  }
  18% {
    transform: rotate(-1deg);
  }
  21% {
    transform: rotate(1deg);
  }
  24% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(0);
  }
}
@keyframes pulsar {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 3rem rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}
.pop {
  position: absolute;
  opacity: 0;
}
.pop.active {
  opacity: 1;
}
.pop {
  width: 100%;
}
.pop__window {
  pointer-events: none;
  z-index: 2;
  position: relative;
  border-radius: 10px;
  background: #F6F6F6;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  gap: 0.75rem;
  display: flex;
  flex-direction: column;
  padding: 0.75rem;
}
.pop__window img {
  width: 100%;
}
.pop__window p {
  color: #000;
  font-style: normal;
  font-weight: 400;
}
.pop__window p:not(.pop__t) {
  font-size: 1.125rem;
  margin-bottom: 0;
  line-height: 111%;
}
.pop__t6 {
  font-size: 1.35rem;
  margin-bottom: 0;
  margin-top: -0.75rem;
  line-height: 100%;
}
.pop__t8 {
  font-size: 1.25rem;
  margin-bottom: 0;
  margin-top: -1.5rem;
  line-height: 100%;
}
.pop__close {
  position: relative;
  width: 12px;
  height: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  margin-left: auto;
  pointer-events: all;
}
.pop__close::after, .pop__close::before {
  content: "";
  height: 1px;
  width: 17px;
  background: #000;
  position: absolute;
}
.pop__close::before {
  transform: rotate(45deg);
}
.pop__close::after {
  transform: rotate(-45deg);
}
.pop__pointer {
  position: absolute;
  z-index: 1;
  opacity: 0;
}
.pop__pointer.active {
  opacity: 1;
}
.pop__pointer--1-1 {
  width: 25%;
  height: 10%;
  top: 36%;
  right: 27%;
}
.pop__pointer--1-2 {
  width: 8%;
  height: 8%;
  top: 42%;
  right: 21%;
}
.pop__pointer--1-3 {
  width: 8%;
  height: 8%;
  top: 2%;
  right: 2%;
}
.pop__pointer--2-1 {
  width: 17%;
  height: 9%;
  top: 32%;
  right: 33%;
}
.pop__pointer--3-1 {
  width: 25%;
  height: 10%;
  top: 12%;
  right: 45%;
}
.pop__pointer--3-2 {
  width: 9%;
  height: 28%;
  top: 39%;
  right: 45%;
}
.pop__pointer--3-3 {
  width: 14%;
  height: 32%;
  top: 15%;
  right: 27%;
}
.pop__pointer--3-4 {
  width: 11%;
  height: 39%;
  top: 26%;
  right: 35%;
}
.pop__pointer--4-1 {
  width: 22%;
  height: 36%;
  top: 47%;
  right: 48%;
}
.pop__pointer--5-1 {
  width: 25%;
  height: 10%;
  top: 37%;
  right: 23%;
}
.pop__pointer--5-2 {
  width: 20%;
  height: 16%;
  top: 51%;
  right: 33%;
}
.pop__pointer--5-3 {
  width: 15%;
  height: 16%;
  top: 72%;
  right: 38%;
}
.pop__pointer--6-1 {
  width: 34%;
  height: 10%;
  top: 12%;
  right: 43%;
}
.pop__pointer--6-2 {
  width: 15%;
  height: 16%;
  top: 23%;
  right: 33%;
}
.pop__pointer--7-1 {
  width: 16%;
  height: 19%;
  top: 73%;
  right: 37%;
}
.pop__pointer--8-1 {
  width: 40%;
  height: 10%;
  top: 18%;
  right: 57%;
}
.pop__pointer--8-2 {
  width: 45%;
  height: 40%;
  top: 41%;
  right: 52%;
}
.pop__pointer--8-3 {
  width: 30%;
  height: 25%;
  top: 28%;
  right: 13%;
}
.pop__pointer--9-1 {
  width: 24%;
  height: 20%;
  top: 18%;
  right: 60%;
}
.pop__pointer--10-1 {
  width: 20%;
  height: 22%;
  top: 13%;
  right: 29%;
}
.pop__pointer--10-2 {
  width: 37%;
  height: 20%;
  top: 4%;
  right: 44%;
}
.pop__pointer--10-3 {
  width: 14%;
  height: 15%;
  top: 24%;
  right: 61%;
}
.pop__pointer--10-4 {
  width: 8%;
  height: 42%;
  top: 35%;
  right: 64%;
}
.pop__1-1 {
  left: 0.4rem;
  top: 27%;
}
.pop__1-1 .pop__window {
  left: 0;
  top: 0;
  width: 52%;
}
.pop__1-2 {
  right: 0.4rem;
  top: 45%;
}
.pop__1-2 .pop__window {
  right: 0;
  top: 0;
  width: 50%;
  margin-left: auto;
}
.pop__1-3 {
  right: 0.4rem;
  top: 2%;
}
.pop__1-3 .pop__window {
  right: 0;
  top: 0;
  width: 40%;
  margin-left: auto;
}
.pop__2-1 {
  left: 0.4rem;
  top: 27%;
}
.pop__2-1 .pop__window {
  left: 0;
  top: 0;
  width: 52%;
}
.pop__3-1 {
  left: 0.4rem;
  top: 14%;
}
.pop__3-1 .pop__window {
  left: 0;
  top: 0;
  width: 44%;
}
.pop__3-2 {
  left: 11%;
  top: 61%;
}
.pop__3-2 .pop__window {
  left: 0;
  top: 0;
  width: 52%;
}
.pop__3-3 {
  left: 56%;
  top: 24%;
}
.pop__3-3 .pop__window {
  left: 0;
  top: 0;
  width: 43%;
}
.pop__3-4 {
  left: 56%;
  top: 53%;
}
.pop__3-4 .pop__window {
  left: 0;
  top: 0;
  width: 43%;
}
.pop__4-1 {
  left: 49%;
  top: 7%;
}
.pop__4-1 .pop__window {
  left: 0;
  top: 0;
  width: 41%;
}
.pop__5-1 {
  left: 14%;
  top: 2%;
}
.pop__5-1 .pop__window {
  left: 0;
  top: 0;
  width: 44%;
}
.pop__5-2 {
  left: 1%;
  top: 51%;
}
.pop__5-2 .pop__window {
  left: 0;
  top: 0;
  width: 49%;
}
.pop__5-3 {
  left: 1%;
  top: 71%;
}
.pop__5-3 .pop__window {
  left: 0;
  top: 0;
  width: 49%;
}
.pop__6-1 {
  left: 3%;
  top: 2%;
}
.pop__6-1 .pop__window {
  left: 0;
  top: 0;
  width: 64%;
}
.pop__6-2 {
  left: 10%;
  top: 36%;
}
.pop__6-2 .pop__window {
  left: 0;
  top: 0;
  width: 63%;
}
.pop__7-1 {
  left: 3%;
  top: 51%;
}
.pop__7-1 .pop__window {
  left: 0;
  top: 0;
  width: 48%;
}
.pop__8-1 {
  left: 2%;
  top: 2%;
}
.pop__8-1 .pop__window {
  left: 0;
  top: 0;
  width: 68%;
}
.pop__8-2 {
  left: 2%;
  top: 73%;
}
.pop__8-2 .pop__window {
  left: 0;
  top: 0;
  width: 69%;
}
.pop__8-3 {
  left: 29%;
  top: 48%;
}
.pop__8-3 .pop__window {
  left: 0;
  top: 0;
  width: 69%;
}
.pop__9-1 {
  left: 34%;
  top: 13%;
}
.pop__9-1 .pop__window {
  left: 0;
  top: 0;
  width: 45%;
}
.pop__10-1 {
  left: 49%;
  top: 33%;
}
.pop__10-1 .pop__window {
  left: 0;
  top: 0;
  width: 50%;
}
.pop__10-2 {
  left: 11%;
  top: 1%;
}
.pop__10-2 .pop__window {
  left: 0;
  top: 0;
  width: 52%;
}
.pop__10-3 {
  left: 2%;
  top: 33%;
}
.pop__10-3 .pop__window {
  left: 0;
  top: 0;
  width: 43%;
}
.pop__10-4 {
  left: 2%;
  top: 67%;
}
.pop__10-4 .pop__window {
  left: 0;
  top: 0;
  width: 45%;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1100;
  overflow: hidden;
  justify-content: center;
  align-items: center;
}

.modal-block {
  position: relative;
  border-radius: 5px;
  border: 1px solid #E5E5E5;
  background: #fff;
  width: 100%;
  padding: 2.625rem 1.5rem 1.5rem;
}

.modal-block__close {
  padding: 0.6rem 3.1rem;
  color: black;
  background: rgb(252, 205, 102);
  border-radius: 4px;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 100%;
  text-align: center;
  margin-bottom: 0;
  margin-left: auto;
  width: fit-content;
  cursor: pointer;
}

.modal-block__content {
  overflow-y: auto;
  max-height: calc(100vh - 120px);
  gap: 1.875rem;
  padding-right: 0.75rem;
  position: relative;
}

.wrong-h {
  color: red;
}

.correct-h {
  color: #00a600;
}

.sources {
  font-size: 1rem;
  color: rgb(75, 75, 75);
}

ol {
  padding-left: 1.1rem;
}
ol li {
  font-size: 1rem;
  color: rgb(75, 75, 75);
}

.gradient {
  padding: 15px;
  background: linear-gradient(to top left, rgb(197, 197, 197), rgb(255, 255, 250));
  border-radius: 12px;
  box-shadow: 0px 3px 8px 1px rgba(176, 176, 176, 0.5);
}

.modal-block h3 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 120%;
  color: black;
  margin-bottom: 2rem;
}

.modal-block p {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 120%;
  color: black;
  margin-bottom: 1rem;
}

.modal-block__source ol {
  padding-left: 1rem;
}

.game_progress {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgb(252, 205, 102);
  z-index: 10;
  position: absolute;
  right: 2rem;
  top: 3.1rem;
}

.game_progress_inner {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #fff;
}

.game_progress_text {
  color: #000;
  text-align: center;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

game_block {
  position: relative;
}

.questions_item_q_mob {
  display: none;
}

.questions_item_q_desktop {
  display: block;
}

.answer4 {
  gap: 1.8rem;
  margin-bottom: 1rem;
}
.answer4 div {
  gap: 1.8rem;
}
.answer4 img {
  width: 27.5rem;
}
.answer4 p {
  margin: 0;
}

.answer6 {
  gap: 1.8rem;
}
.answer6 div {
  gap: 1.8rem;
}
.answer6 img {
  width: 30rem;
}
.answer6 p:last-of-type {
  margin: 0;
}

@media screen and (max-width: 991px) {
  .questions_item_content {
    grid-template-columns: repeat(1, 1fr);
  }
  .cap p {
    margin-top: 0;
  }
  .cap__content {
    flex-direction: column-reverse;
  }
  .cap__text img {
    width: 280px;
  }
  .cap__btn {
    font-size: 1.8rem;
    border-radius: 2.2px;
    padding: 1rem 3rem;
  }
}
@media screen and (max-width: 768px) {
  .answer4 {
    flex-direction: column;
  }
  .answer4 img {
    width: 100%;
  }
  .answer6 {
    flex-direction: column-reverse;
  }
  .answer6 img {
    width: 100%;
    margin-bottom: 1.8rem;
  }
  .questions_item_q:not(.topper) {
    margin-top: 0;
  }
  .questions_item_q {
    margin-top: 0;
  }
  .questions_item_q p {
    font-size: 1.8rem;
  }
  .questions_item_q h2 {
    font-size: 1.8rem;
  }
  .game h3 {
    font-size: 3.2rem;
  }
  .game h2 {
    font-size: 4em;
  }
  .game__show {
    font-size: 2.3em;
  }
  .questions_item_a_label, .modal-block p {
    font-size: 1.8rem;
  }
  .modal-block h3, .modal-block__close {
    font-size: 2.5rem;
  }
  .modal-block__source p, li {
    font-size: 1.4rem;
  }
  .interlude .music_player {
    margin-top: 0;
  }
  .questions_item_q_mob {
    display: block;
  }
  .questions_item_q_desktop {
    display: none;
  }
  .game1__top {
    top: -5.2rem;
  }
  .game1__bottom {
    bottom: -5.2rem;
  }
  .questions_item_pic_img {
    min-width: unset;
  }
  .pop__t6 {
    font-size: 2rem;
  }
  .pop__t8 {
    font-size: 1.8rem;
  }
  .pop__window p, .pop__window p:not(.pop__t) {
    font-size: 1.8rem;
  }
  .game_progress {
    width: 6rem;
    height: 6rem;
    right: -1.5rem;
    top: -1.5rem;
  }
  .game_progress_inner {
    width: 5rem;
    height: 5rem;
  }
  .game_progress_text {
    font-size: 1.8rem;
  }
  .cap p {
    font-size: 1.8rem;
  }
  .cap h2 {
    font-size: 2.5rem;
  }
}
@media screen and (max-width: 768px) {
  .pop__t6 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }
  .pop__t8 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
}
@media screen and (max-width: 400px) {
  .game1__top {
    top: -4rem;
  }
  .game1__bottom {
    bottom: -4rem;
  }
}
.overlay3 {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1100;
  overflow: hidden;
}
.overlay3 .modal {
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
.overlay3 .modal__block3 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  width: fit-content;
  overflow: hidden;
  position: relative;
}
.overlay3 .modal__block3--d {
  display: none;
}
.overlay3 .modal__block3--m {
  display: block;
}
@media (min-width: 768px) {
  .overlay3 .modal__block3 .modal__block3--d {
    display: block;
  }
  .overlay3 .modal__block3 .modal__block3--m {
    display: none;
  }
}
.overlay3 .modal__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.overlay3 .modal__close3 {
  z-index: 5;
  position: absolute;
  top: 2.5rem;
  right: 2.5rem;
  width: 3.5rem;
  height: 3.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #BA1505;
  border-radius: 50%;
  border: 3px solid #BA1505;
  transition: all 0.2s ease;
  pointer-events: none;
  opacity: 0;
}
.overlay3 .modal__close3.active {
  opacity: 1;
  pointer-events: all;
}
.overlay3 .modal__close3:hover {
  background: transparent;
}
.overlay3 .modal__close3:hover::after, .overlay3 .modal__close3:hover::before {
  background-color: #BA1505;
}
.overlay3 .modal__close3::after, .overlay3 .modal__close3::before {
  content: "";
  height: 2px;
  width: 1.5rem;
  background-color: #fff;
  position: absolute;
}
.overlay3 .modal__close3::before {
  transform: rotate(45deg);
}
.overlay3 .modal__close3::after {
  transform: rotate(-45deg);
}
.overlay3 .modal__close3:hover {
  background: #EEEEEE;
}
.overlay3 h3 {
  text-align: center;
  padding-bottom: 30px !important;
}
.overlay3 img {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ru {
  display: inline-block;
}

.en {
  display: none;
}

.match-btn {
  border-radius: 30px;
  padding: 0.9rem 0.8rem;
  font-size: 1.8rem;
  font-weight: 500;
  text-align: center;
  color: #1f3e48;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  cursor: pointer;
  width: 100%;
  letter-spacing: 0.2px;
  border: 1px solid #cbdbe6;
  background-color: #ffffff;
  line-height: 1.2;
}
.match-btn--rect {
  border-radius: 0;
}

.match-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.1);
  background-color: #fef7e0;
  border-color: #f3c26b;
}

.match-btn.selected {
  background-color: #cfe9ff;
  border: 2px solid #2c7cb6;
  color: #0a3142;
  box-shadow: 0 0 0 2px rgba(44, 124, 182, 0.3);
}

.match-btn.matched {
  background-color: #2a9d8f !important;
  border-color: #1e6f64 !important;
  color: white !important;
  text-decoration: none;
  cursor: default;
  opacity: 0.85;
  transform: none;
  background-image: linear-gradient(135deg, #2a9d8f, #248277);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.match-btn.matched:active {
  transform: none;
}

@keyframes doubleRedFlash {
  0% {
    background-color: #ffffff;
    border-color: #cbdbe6;
  }
  20% {
    background-color: #ff6b6b;
    border-color: #b91c1c;
  }
  40% {
    background-color: #ffffff;
    border-color: #cbdbe6;
  }
  60% {
    background-color: #ff6b6b;
    border-color: #b91c1c;
  }
  80% {
    background-color: #ffffff;
    border-color: #cbdbe6;
  }
  100% {
    background-color: #ffffff;
    border-color: #cbdbe6;
  }
}
.match-btn.flash-error {
  animation: doubleRedFlash 0.5s ease-in-out 2;
}

.match-btn:disabled {
  cursor: not-allowed;
  opacity: 0.9;
  filter: saturate(0.95);
  transform: none;
}

.reset-btn {
  background: #f4a261;
  border: none;
  border-radius: 40px;
  padding: 0.5rem 1.8rem;
  font-weight: 600;
  color: white;
  margin-top: 0.5rem;
  transition: 0.2s;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.reset-btn:hover {
  background: #e76f51;
  transform: scale(0.97);
}

@media (max-width: 767px) {
  .match-btn {
    font-size: 1.6rem;
    padding: 0.7rem 0.5rem;
  }
}

/*# sourceMappingURL=style.css.map */
