* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: black;
}

.top {
  height: 800px;
  background-image: url(images/);
  background-color: #E1FF8F;
}
.top__title {
  font-size: 64px;
  font-weight: 700;
  line-height: 78px;
  letter-spacing: 0px;
  padding-top: 196px;
  padding-bottom: 24px;
  width: 769px;
  color: #202027;
}
.top__text {
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0px;
  text-align: left;
  padding-bottom: 48px;
  color: #202027;
}
.top__text_mob-yes {
  display: none;
}
.top__overlay-img {
  position: absolute;
  z-index: 1;
  top: 0px;
  right: 0px;
}
.top__overlay-img_mob-yes {
  display: none;
}
.top__overlay-star1 {
  position: absolute;
  z-index: 1;
  right: 344px;
  top: 568px;
}
.top__overlay-star2 {
  position: absolute;
  z-index: 1;
  right: 455px;
  top: 538px;
}
.top__overlay-star3 {
  position: absolute;
  z-index: 1;
  left: 63px;
  top: 94px;
}
.top__overlay-star4 {
  position: absolute;
  z-index: 1;
  left: 156px;
  top: 69px;
}

.center {
  padding-left: calc(50% - 600px);
  padding-right: calc(50% - 600px);
}

.game-box {
  position: relative;
  padding-bottom: 50px;
}
.game-box::after {
  background-color: #000000;
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}
.game-box__title {
  font-size: 64px;
  font-weight: 700;
  line-height: 78px;
  color: #FFFFFF;
  padding-top: 94px;
  padding-bottom: 24px;
}
.game-box__text {
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  color: #FFFFFF;
  padding-bottom: 72px;
}
.game-box__overlay-img {
  position: absolute;
  z-index: -1;
  top: 111px;
  right: 0px;
}
.game-box__star1 {
  position: absolute;
  z-index: -1;
  top: 822px;
  left: 40px;
}
.game-box__star2 {
  position: absolute;
  z-index: -1;
  top: 770px;
  left: 25px;
}

.card-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  -moz-column-gap: 32px;
       column-gap: 32px;
  overflow: visible;
}

.card-split {
  display: flex;
  flex-direction: column;
  row-gap: 32px;
}

.card-game {
  height: 473px;
  width: 378px;
  background-color: #FFFFFF;
  border-radius: 30px;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}
.card-game_height-md {
  height: 512px;
}
.card-game_height-lg {
  height: 551px;
}
.card-game:hover {
  transform: scale(1.03);
  z-index: 2;
}
.card-game__img {
  height: 314px;
  width: 378px;
  border-radius: 30px;
}
.card-game__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 32px 36px 32px;
}
.card-game__text_width {
  width: 300px;
}
.card-game__number {
  font-size: 16px;
  font-weight: 500;
  border-radius: 52px;
  background-color: #F7F7F7;
  display: flex;
  justify-content: center;
  width: 108px;
  padding-top: 8px;
  padding-bottom: 10px;
}
.card-game__name {
  font-size: 32px;
  font-weight: 700;
  line-height: 39px;
}

.minigame-box {
  background-color: #000000;
  padding-bottom: 144px;
  position: relative;
}
.minigame-box__title {
  font-size: 64px;
  font-weight: 700;
  line-height: 78px;
  color: #FFFFFF;
  padding-top: 46px;
  padding-bottom: 72px;
}
.minigame-box__overlay-star1 {
  position: absolute;
  z-index: 1;
  top: 126px;
  right: 45px;
}
.minigame-box__overlay-star2 {
  position: absolute;
  z-index: 1;
  top: 93px;
  right: 124px;
}
.minigame-box__overlay-star3 {
  position: absolute;
  z-index: 1;
  bottom: 65px;
  right: 53px;
}
.minigame-box__overlay-star4 {
  position: absolute;
  z-index: 1;
  bottom: 45px;
  right: 151px;
}

.minicard-box {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.minigame-card {
  width: 1200px;
  background-color: #FFFFFF;
  border-radius: 30px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.minigame-card_flex {
  display: flex;
  flex-direction: row-reverse;
}
.minigame-card__content {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 48px;
}
.minigame-card__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.minigame-card__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 59px;
}
.minigame-card__title_width {
  width: 450px;
}
.minigame-card__description {
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
}
.minigame-card__img {
  border-radius: 30px;
}

.common-btn {
  font-family: inherit;
  background: #202027;
  border-radius: 60px;
  width: 247px;
  display: block;
  box-sizing: border-box;
  text-align: center;
  border: 1px solid transparent;
  color: #FFFFFF;
  font-size: 24px;
  font-weight: 600;
  padding: 16px 28px;
  transition: transform 0.3s ease;
}
.common-btn:hover {
  background-color: white;
  color: #000000;
  border: 1px solid #000000;
}
.common-btn_mob-yes {
  display: none;
}

.bottom {
  height: 150px;
  background-color: #BDED35;
}
.bottom__text {
  display: flex;
  justify-content: center;
  padding-top: 60px;
  font-size: 24px;
  font-weight: 600;
  line-height: 29px;
  letter-spacing: 0px;
}

.games-body {
  background-color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.games-body_game2 {
  margin-top: 115px;
  background-image: url(Images/game2-background.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.games-body_game3 {
  margin-top: 85px;
}

.games {
  display: flex;
  justify-content: center;
  margin-top: 60px;
  background-color: #E5C288;
  padding: 16px;
  border-radius: 16px;
}

.games-box {
  position: relative;
  width: 470px;
  background-color: #FFF7ED;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid black;
  border-radius: 16px;
}
.games-box_game1 {
  height: 525px;
}
.games-box_game2 {
  height: 425px;
}
.games-box_game3 {
  height: 385px;
}
.games-box_game5 {
  margin-top: 32px;
  height: 650px;
  width: 500px;
  background-color: #fffde1;
}
.games-box__img-box {
  border-bottom: 2px solid black;
  width: 470px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.games-box__img {
  height: 250px;
  width: 350px;
}
.games-box__title {
  padding-top: 24px;
  padding-bottom: 12px;
  color: black;
  font-size: 32px;
  font-weight: 700;
}
.games-box__title_game2 {
  padding-top: 54px;
  font-size: 42px;
}
.games-box__title_game3 {
  padding-top: 36px;
  font-size: 38px;
  display: grid;
  justify-items: center;
}
.games-box__title_game5 {
  padding-top: 36px;
  font-size: 42px;
}
.games-box__task {
  padding-bottom: 24px;
  font-size: 16px;
  font-weight: 400;
}
.games-box__task_game2 {
  font-size: 22px;
}
.games-box__txtarea {
  width: 200px;
  height: 25px;
  align-items: center;
  color: #1e1e1e;
  font-size: 20px;
  font-weight: 400;
  border: 1px solid black;
  border-radius: 8px;
  resize: none;
  text-align: center;
}
.games-box__txtarea_game2 {
  width: 300px;
}
.games-box__txtarea_game3 {
  font-family: inherit;
  width: 300px;
  height: 30px;
  padding-left: 10px;
  padding-right: 10px;
  margin-top: 10px;
  margin-bottom: 15px;
  cursor: pointer;
  font-size: 16px;
  display: grid;
  align-items: center;
  justify-items: start;
  color: black;
}
.games-box__btn {
  margin: 12px;
  margin-bottom: 16px;
  width: 200px;
  height: 38px;
  background-color: #E5C288;
  border-radius: 8px;
  border: 1px solid black;
  font-size: 16px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
}
.games-box__btn_game2 {
  width: 150px;
  margin-top: 20px;
}
.games-box__btn_game3 {
  width: 320px;
  height: 30px;
}
.games-box__win-txt {
  font-size: 18px;
  font-weight: 600;
  color: darkgreen;
  display: none;
}
.games-box__nowin-txt {
  font-size: 18px;
  font-weight: 600;
  color: darkred;
  display: none;
}
.games-box__answer {
  margin-top: 15px;
  border-top: 0.5px solid black;
  border-bottom: 0.5px solid black;
  width: 320px;
  height: 60px;
  font-size: 38px;
  text-align: center;
  font-family: inherit;
  font-weight: 600;
}

.game2-task {
  padding-top: 7px;
  padding-bottom: 14px;
  color: black;
  font-size: 68px;
  font-weight: 700;
}

.game3__vector {
  height: 250px;
  width: 250px;
  position: absolute;
  z-index: -1;
}
.game3__vector_png1 {
  bottom: 80px;
  right: 250px;
}
.game3__vector_png2 {
  top: 0px;
  left: 400px;
}
.game3__vector_png3 {
  bottom: 0px;
  left: 300px;
}
.game3__vector_png4 {
  top: 30px;
  right: 30px;
}
.game3__vector_png5 {
  left: 50px;
  bottom: 250px;
}

.game5-taskbox {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.game5-taskbox__question {
  padding-top: 15px;
  padding-left: 50px;
  padding-right: 50px;
  padding-bottom: 15px;
  font-family: inherit;
  font-weight: 400;
  font-size: 24px;
  text-align: center;
}
.game5-taskbox__answers-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.game5-taskbox__answer {
  width: 250px;
  height: 38px;
  background-color: #fae5c4;
  color: black;
  border-radius: 16px;
  border: none;
  font-size: 16px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
}
.game5-taskbox__answer:hover {
  transform: scale(1.02);
  z-index: 1;
}

.game5-resultbox {
  position: absolute;
  width: 150px;
  z-index: 2;
  right: 80px;
  bottom: 100px;
  font-size: 16px;
  font-family: inherit;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.game5-resultbox__number {
  margin-top: 20px;
  font-size: 46px;
  font-weight: 600;
  background-color: transparent;
  border: 1px solid black;
  width: 60px;
  height: 60px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game5-box__png {
  position: absolute;
  height: 290px;
  bottom: 0px;
  left: 0px;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .center {
    padding-left: calc(50% - 180px);
    padding-right: calc(50% - 180px);
  }
  .top {
    height: 700px;
  }
  .top__content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .top__title {
    font-size: 40px;
    line-height: 49px;
    width: 296px;
    width: 296px;
    text-align: center;
    padding-top: 147px;
  }
  .top__text {
    font-size: 16px;
    line-height: 20px;
    width: 296px;
    text-align: center;
    padding-bottom: 36px;
  }
  .top__text_mob-no {
    display: none;
  }
  .top__text_mob-yes {
    display: block;
  }
  .top__overlay-img_mob-no {
    display: none;
  }
  .top__overlay-img_mob-yes {
    display: block;
  }
  .top__overlay-star1 {
    width: 39px;
    height: 41px;
    position: absolute;
    z-index: 1;
    right: 34px;
    top: 580px;
  }
  .top__overlay-star2 {
    width: 18px;
    height: 18px;
    position: absolute;
    z-index: 1;
    right: 86px;
    top: 557px;
  }
  .top__overlay-star3 {
    width: 35px;
    height: 35px;
    position: absolute;
    z-index: 1;
    left: 37px;
    top: 97px;
  }
  .top__overlay-star4 {
    width: 21px;
    height: 21px;
    position: absolute;
    z-index: 1;
    left: 91px;
    top: 64px;
  }
  .common-btn {
    width: 285px;
    font-size: 16px;
  }
  .common-btn:hover {
    background: #202027;
    color: #FFFFFF;
    border: 1px solid transparent;
    cursor: default;
  }
  .common-btn_mob-no {
    display: none;
  }
  .common-btn_mob-yes {
    display: block;
  }
  .common-btn_mob-yes:active {
    background-color: white;
    color: #000000;
    border: 1px solid #000000;
  }
  .game-box {
    display: none;
  }
  .minigame-box {
    padding-bottom: 10px;
  }
  .minigame-box__title {
    font-size: 40px;
    line-height: 49px;
    color: #FFFFFF;
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .minigame-box__overlay-star1 {
    display: none;
  }
  .minigame-box__overlay-star2 {
    display: none;
  }
  .minigame-box__overlay-star3 {
    display: none;
  }
  .minigame-box__overlay-star4 {
    display: none;
  }
  .minicard-box {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  .minigame-card {
    width: 343px;
    display: flex;
    flex-direction: column-reverse;
  }
  .minigame-card_flex {
    display: flex;
    flex-direction: column-reverse;
  }
  .minigame-card__content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 29px 29px 32px 29px;
  }
  .minigame-card__text {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .minigame-card__title {
    font-size: 32px;
    font-weight: 700;
    line-height: 39px;
  }
  .minigame-card__title_width {
    width: 280px;
  }
  .minigame-card__description {
    font-size: 16px;
    line-height: 20px;
  }
  .bottom {
    height: 100px;
  }
  .bottom__text {
    display: flex;
    justify-content: center;
    padding-top: 40px;
    font-size: 16px;
    line-height: 20px;
  }
}/*# sourceMappingURL=style.css.map */