@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Epilogue:ital,wght@0,100..900;1,100..900&display=swap");
* {
  margin: 0;
  border: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

:focus,
:active {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

nav,
footer,
header,
aside {
  display: block;
}

html,
body {
  width: 100%;
  height: 100%;
  -webkit-text-size-adjust: 100%;
     -moz-text-size-adjust: 100%;
          text-size-adjust: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}

input,
button,
textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
  background: transparent;
}

button::-moz-focus-inner {
  border: 0;
  padding: 0;
}

a,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul,
li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
  font-size: inherit;
}

body {
  font-family: "DM Sans", sans-serif;
}

.lock {
  overflow: hidden;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  background: #FFF;
}

.main {
  flex: 1 1 auto;
}

[class*=__container] {
  max-width: 1095px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

[class*=__text] {
  color: #777;
  font-size: 18px;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 0.36px;
}

.h1 {
  color: #1D2058;
  font-family: Epilogue;
  font-size: clamp(50px, 5vw, 70px);
  font-weight: 700;
}

.h2 {
  color: #1D2058;
  font-family: Epilogue;
  font-size: 50px;
  font-weight: 700;
  line-height: 140%;
}

.label {
  font-family: Epilogue;
  font-size: 24px;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: 0.48px;
  background: linear-gradient(91deg, #12C4C4 4.87%, #BB37E9 106.94%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-center {
  text-align: center;
}

section {
  scroll-margin-top: 100px;
}

.header {
  position: fixed;
  top: 0px;
  width: 100%;
  z-index: 60;
  background: rgba(255, 255, 255, 0.7);
}
.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
}
.header__logo {
  position: relative;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1D2058;
  font-family: Epilogue;
  font-size: 30px;
  font-weight: 700;
  background: linear-gradient(91deg, #12C4C4 4.87%, #BB37E9 106.94%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 767px) {
  .menu__icon {
    display: flex;
    align-items: center;
    z-index: 50;
    position: relative;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    cursor: pointer;
  }
  .menu__icon span, .menu__icon::before, .menu__icon::after {
    right: 0;
    position: absolute;
    height: 10%;
    width: 100%;
    transition: all 0.3s ease 0s;
    background: #000;
  }
  .menu__icon::before, .menu__icon::after {
    content: "";
    height: 2px;
  }
  .menu__icon::before {
    top: 8px;
  }
  .menu__icon::after {
    bottom: 8px;
    height: 2px;
  }
  .menu__icon span {
    height: 2px;
    top: 50%;
    transform: scale(1) translate(0px, -50%);
  }
  .menu__icon_active span {
    transform: rotate(45deg) scale(0) translate(0px, -50%);
  }
  .menu__icon_active::before {
    top: 50%;
    transform: rotate(-45deg) translate(0px, -50%);
  }
  .menu__icon_active::after {
    bottom: 50%;
    transform: rotate(45deg) translate(0px, 50%);
  }
}
@media (max-width: 767px) {
  .menu__body {
    display: block;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    padding: 100px 15px 0;
    background: #F7D0FF;
    transition: left 0.3s ease 0s;
    overflow: auto;
  }
  .menu__body_active {
    left: 0;
  }
  .menu__body_privacy {
    background: #fff;
  }
  .menu__body::before {
    content: "";
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 16;
  }
}
.menu__list {
  display: flex;
  align-items: center;
  gap: 40px;
}
@media (max-width: 767px) {
  .menu__list {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
}
.menu__item a {
  color: #1D2058;
  font-family: Epilogue;
  font-size: 18px;
  font-style: normal;
  line-height: 130%;
  letter-spacing: 0.36px;
}
.menu__item_mob {
  display: none;
}
.menu__item_mob a {
  font-family: Epilogue;
  font-size: 18px;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: 0.36px;
  background: linear-gradient(91deg, #12C4C4 4.87%, #BB37E9 106.94%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  border-radius: 20px;
  border: 1px solid #000;
  padding: 20px 40px;
}
@media (max-width: 767px) {
  .menu__item_mob {
    display: block;
  }
}

.footer {
  background: #FFF;
  border-top: 1px solid #000;
}
.footer__content {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: flex-start;
  gap: 20px;
  padding: 60px 0;
}
@media (max-width: 991px) {
  .footer__content {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767px) {
  .footer__content {
    grid-template-columns: repeat(1, 1fr);
  }
}
.footer__column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.footer__column ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer__column ul li {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #1D2058;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.36px;
}
.footer__column ul li a {
  color: #1D2058;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.36px;
}
.footer__title {
  color: #1D2058;
  font-family: Epilogue;
  font-size: 20px;
  font-weight: 800;
  line-height: 45px;
  letter-spacing: 0.2px;
}
.footer__menu {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.footer__menu a {
  color: #1D2058;
  font-family: Epilogue;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.48px;
}
.footer__sacial {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer__submenu {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footer__submenu a {
  color: #1D2058;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.36px;
}
.footer__txt {
  color: #FFF;
  font-family: Epilogue;
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.36px;
  background: #7038E9;
  padding: 25px 15px;
}

.cookies {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 100;
  padding: 32px 58px;
  max-width: 800px;
  width: 100%;
  border-radius: 28px;
  border: 1px solid #FFE27D;
  background: #F7D0FF;
}
@media (max-width: 767px) {
  .cookies {
    padding: 32px;
  }
}
.cookies__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.cookies__text {
  color: #777;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.48px;
}
.cookies__text a {
  color: #777;
}
.cookies__column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookies__btns {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 8px;
  width: 100%;
}
.cookies__btn {
  width: 100%;
  color: #FFF;
  font-size: 24px;
  font-weight: 700;
  line-height: 160%;
  letter-spacing: 0.48px;
  border-radius: 60px;
  border: 1px solid #000;
  background: #BB37E9;
  padding: 24px 0;
}
.cookies__btn_sub {
  color: #1D2058;
  border: 1px solid #000;
  background: #FFF;
}

.hero {
  background: url(/wp-content/themes/yarnorexa/img/bg.webp) no-repeat center/cover;
  padding: 161px 0 60px;
}
.hero__content {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.hero__item {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero__label {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 20px;
  background: #FFF;
  padding: 20px 40px;
  width: -moz-fit-content;
  width: fit-content;
}
@media (max-width: 575px) {
  .hero__label {
    padding: 20px;
  }
}
@media (max-width: 575px) {
  .hero .label {
    font-size: 18px;
  }
}

.choose {
  padding: 60px 0;
}
.choose__content {
  display: flex;
  flex-direction: column;
  gap: 80px;
  position: relative;
  z-index: 2;
}
.choose__star {
  position: absolute;
  top: 100px;
  right: 0;
  z-index: -1;
}
@media (max-width: 991px) {
  .choose__star {
    top: 0;
  }
}
@media (max-width: 767px) {
  .choose__star {
    right: -50px;
  }
}
.choose__row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 32px;
}
@media (max-width: 991px) {
  .choose__row {
    flex-direction: column;
    align-items: flex-start;
  }
}
.choose__line {
  position: absolute;
  left: 50%;
  bottom: -30px;
  transform: translateX(-50%);
  z-index: -1;
}
.choose__subrow {
  display: flex;
  gap: 60px;
}
@media (max-width: 991px) {
  .choose__subrow {
    flex-direction: column;
    gap: 32px;
  }
}
@media (max-width: 575px) {
  .choose__img {
    width: -moz-fit-content;
    width: fit-content;
  }
  .choose__img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
}
.choose__column {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.choose__name {
  color: #1D2058;
  font-family: Epilogue;
  font-size: 24px;
  font-weight: 700;
  line-height: 140%;
}

.about {
  margin: 60px 0;
}
.about__content {
  display: flex;
  gap: 80px;
  position: relative;
}
@media (max-width: 1023px) {
  .about__content {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
}
.about__item {
  position: relative;
}
@media (max-width: 1023px) {
  .about__item {
    height: 800px;
  }
}
.about__info {
  background: url(/wp-content/themes/yarnorexa/img/bg-4.svg) no-repeat center/cover;
  padding: 40px;
  max-width: 296px;
  width: 100%;
  height: 414px;
  position: absolute;
  left: 121px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 575px) {
  .about__info {
    left: 92px;
  }
}
@media (max-width: 429px) {
  .about__info {
    left: 60px;
  }
}
.about__name {
  color: #FFF;
  font-family: Epilogue;
  font-size: 20px;
  font-weight: 700;
  line-height: 140%;
}
.about__txt {
  color: #FFF;
  font-size: 16px;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 0.32px;
  margin-top: -12px;
}
.about__column {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 565px;
  width: 100%;
  position: relative;
  z-index: 2;
}
.about__star {
  position: absolute;
  left: 32px;
  bottom: 130px;
}
@media (max-width: 1023px) {
  .about__star {
    left: 0;
    bottom: 0;
  }
}
.about__line {
  position: absolute;
  top: 100px;
  right: 0;
  z-index: -1;
}
@media (max-width: 991px) {
  .about__line {
    right: -100px;
  }
}
.about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 80px;
}
@media (max-width: 1023px) {
  .about__grid {
    grid-template-columns: repeat(1, 1fr);
    align-items: center;
    gap: 32px;
  }
}
.about__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about__subname {
  color: #1D2058;
  font-family: Epilogue;
  font-size: 18px;
  font-weight: 400;
  line-height: 140%;
}
.about__num {
  color: #1D2058;
  font-size: 54px;
  font-weight: 800;
  line-height: 140%;
}

.advantages {
  margin: 160px 0;
}
.advantages_main {
  margin: 100px 0;
}
.advantages__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}
.advantages__label {
  border-radius: 20px;
  background: #F3F6FB;
  padding: 20px 48px;
  width: -moz-fit-content;
  width: fit-content;
  flex-shrink: 0;
}
.advantages__star {
  position: absolute;
  right: 0;
  top: 260px;
  z-index: -1;
}
.advantages__star_game {
  top: 220px;
  left: 62px;
}
@media (max-width: 991px) {
  .advantages__star_game {
    top: 200px;
    left: 0;
  }
}
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
  padding: 0 62px;
}
@media (max-width: 991px) {
  .advantages__grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
.advantages__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid #1D2058;
  padding: 60px;
  max-width: 490px;
  gap: 30px;
  aspect-ratio: 1/1;
}
@media (max-width: 575px) {
  .advantages__card {
    max-width: 390px;
  }
}
@media (max-width: 429px) {
  .advantages__card {
    max-width: 350px;
  }
}
.advantages__icon {
  width: -moz-fit-content;
  width: fit-content;
}
.advantages__icon img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.advantages__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.advantages__name {
  text-align: center;
  color: #1D2058;
  font-family: Epilogue;
  font-size: 24px;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: 0.48px;
}
.advantages__text {
  text-align: center;
}

.support {
  background: url(/wp-content/themes/yarnorexa/img/bg-1.webp) no-repeat center/cover;
  padding: 198px 0;
  overflow: hidden;
}
.support__content {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.support__row {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: scroll 30s linear infinite;
  width: -moz-fit-content;
  width: fit-content;
}
.support__row:hover {
  animation-play-state: paused;
}
.support__row_sub {
  animation: scroll-sub 30s linear infinite;
}
.support__card {
  display: flex;
  align-items: center;
  gap: 30px;
  border-radius: 100px;
  background: #FFF;
  padding: 30px 40px;
  flex-shrink: 0;
}
.support__name {
  color: #1D2058;
  font-family: Epilogue;
  font-size: 32px;
  font-weight: 700;
  line-height: 140%;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes scroll-sub {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}
.info {
  padding: 60px 0;
}
.info__content {
  background: url(/wp-content/themes/yarnorexa/img/bg-2.webp) no-repeat center/cover;
  border-radius: 50px;
  overflow: hidden;
  padding: 96px 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}
@media (max-width: 991px) {
  .info__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
}
.info__title {
  color: #FFF;
  font-family: Epilogue;
  font-size: 45px;
  font-weight: 700;
  line-height: 140%;
}
@media (max-width: 767px) {
  .info__title {
    font-size: 32px;
  }
}
.info__column {
  max-width: 430px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}
@media (max-width: 991px) {
  .info__column {
    max-width: 100%;
  }
}
.info__text {
  color: #FFF;
}
.info__link {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #FFF;
  font-family: Epilogue;
  font-size: 18px;
  font-weight: 700;
  line-height: 140%;
}

.game {
  margin: 96px 0 0;
  padding: 30px 0 0;
}
.game__content {
  display: flex;
  gap: 60px;
  position: relative;
}
@media (max-width: 991px) {
  .game__content {
    flex-direction: column;
    gap: 30px;
  }
}
@media (max-width: 991px) {
  .game__img {
    margin: 0 auto;
    width: -moz-fit-content;
    width: fit-content;
  }
  .game__img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
}
.game__column {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.game__label {
  border-radius: 20px;
  background: #F3F6FB;
  padding: 20px 40px;
  width: -moz-fit-content;
  width: fit-content;
}
.game__link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1D2058;
  font-size: 40px;
  font-weight: 700;
  line-height: 160%;
  letter-spacing: 0.8px;
}
.game__link-arrow {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #1D2058;
  border-radius: 50%;
}
.game__star {
  position: absolute;
  bottom: 0;
  right: 0;
}
@media (max-width: 991px) {
  .game__star {
    display: none;
  }
}

.games {
  margin: 96px 0 0;
}
.games__title {
  padding: 65px 0 40px;
}
.games__bg {
  background: url(/wp-content/themes/yarnorexa/img/bg-3.webp) no-repeat center/cover;
  padding: 150px 0 114px;
}
@media (max-width: 575px) {
  .games__bg {
    padding: 55px 0;
  }
}
.games__content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 23px;
}
.games__content img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 991px) {
  .games__content {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .games__content {
    grid-template-columns: repeat(1, 1fr);
  }
}

.privacy {
  margin: 96px 0 0;
  padding: 60px 0;
}
.privacy__text {
  color: rgba(7, 14, 47, 0.7);
}