:root { --spanColor: #F1B500; --greyText: #CCCACA; }

body { margin: 0; padding: 0; }

.container { padding: 0 15px; margin: 0 auto; }

@media (min-width: 576px) { main .container { max-width: 540px; } }
@media (min-width: 992px) { main .container { max-width: 960px; } }
@media (min-width: 1200px) { main .container { max-width: 1000px; } }
@media (max-width: 1023px) { #announceActive0 { background: transparent; -webkit-filter: brightness(0) invert(1); filter: brightness(0) invert(1); }
  .header__main-link { color: #fff; -webkit-filter: brightness(0) invert(1); filter: brightness(0) invert(1); }
  .header__mobile-button path { stroke: #fff; }
  .header__lang-switch { color: #fff; } }
.footer { display: none; }

.out-of-header { background: #78491C; color: #fff; font-family: 'Oswald', sans-serif; margin-top: -50px; overflow-x: hidden; padding: 80px 0; position: relative; }

main * { -webkit-box-sizing: border-box; box-sizing: border-box; margin: 0; padding: 0; }
main ul { margin: 0; padding: 0; }
main ul li { font-size: 16px; font-style: normal; font-weight: 300; line-height: 120%; list-style-type: none; margin: 0; padding: 0; padding-left: 15px; position: relative; }
main ul li::before { background: #fff; border-radius: 50%; content: ''; height: 5px; left: 1%; position: absolute; top: 10px; -webkit-transform: translateY(-50%); transform: translateY(-50%); width: 5px; }
main ul li + li { margin: 12px 0 0; }
main h1 { font-size: 22px; font-style: normal; font-weight: 700; line-height: 130%; text-transform: uppercase; }
main h2 { font-size: 22px; font-style: normal; font-weight: 700; line-height: 130%; margin-bottom: 22px; text-transform: uppercase; }
main h2.capitalize { margin-bottom: 0; text-transform: none; }
main h3 { font-size: 13px; font-style: normal; font-weight: 700; line-height: 130%; }
main p { font-size: 16px; font-style: normal; font-weight: 300; line-height: 110%; }
main a { color: #fff; text-decoration: underline; }
main .smallText { font-size: 12px; font-style: normal; font-weight: 300; line-height: 120%; margin-top: 11px; }
main .smallText a { color: var(--spanColor); font-size: inherit; font-weight: 500; line-height: inherit; text-decoration: underline; }
main span:not(.title span) { color: var(--spanColor); font-weight: 500; }
main section { position: relative; z-index: 1; }
main .maps-img { position: fixed; height: auto; top: -5%; left: 50%; max-width: 1200px; -webkit-transform: translateX(-50%); transform: translateX(-50%); width: 120%; }
main .welcome-text { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; gap: 12px; }
main .game-logo { height: auto; width: 11em; }
main .visual { -webkit-box-align: center; -ms-flex-align: center; align-items: center; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; gap: 45px; padding: 42px 0 50px; }
main .visual .chest { width: 22em; }
main .prize { margin: 50px 0; }
main .prize-wrapper { background: rgba(0, 0, 0, 0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); border: 1px solid transparent; border-radius: 14px; position: relative; }
main .prize-wrapper::before { background: -webkit-gradient(linear, left top, left bottom, from(#E7C95B), to(#FBF7D6)); background: linear-gradient(to bottom, #E7C95B, #FBF7D6); border-radius: inherit; content: ""; position: absolute; content: ''; inset: -1px; padding: 1px; mask: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff)) content-box, -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff)); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff)) content-box, -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude; -webkit-mask-composite: xor; z-index: 0; }
main .prize-wrapper p { font-size: 16px; font-style: normal; font-weight: 300; }
main .prize-wrapper__item { display: grid; grid-template-columns: 37% 70%; border-bottom: 1px solid rgba(251, 247, 214, 0.54); padding: 8px 28px; position: relative; }
main .prize-wrapper__item:nth-child(1) { padding-top: 16px; }
main .prize-wrapper__item::before { background: rgba(251, 247, 214, 0.54); content: ''; width: 1px; min-height: -webkit-max-content; min-height: -moz-max-content; min-height: max-content; height: 100%; position: absolute; left: 40%; -webkit-transform: translateX(-50%); transform: translateX(-50%); }
main .prize-wrapper__item p + p { padding-left: 14px; }
main .prize .last-text { padding: 11px 0 16px; position: relative; text-align: center; }
main .prize .spisok { color: #fff; display: -webkit-box; display: -ms-flexbox; display: flex; font-family: "Nunito", serif; gap: 5px; margin: 14px auto 0; width: -webkit-max-content; width: -moz-max-content; width: max-content; }
main .prize .spisok p { font-size: 12px; font-style: normal; font-weight: 400; line-height: normal; }
main .content-text { position: relative; z-index: 1; }
main .title-wrapper { position: relative; z-index: 2; }
main .title { display: grid; color: transparent; }
main .title span { grid-area: 1 / 1; background: -webkit-gradient(linear, left top, left bottom, from(#E7C95B), to(#FBF7D6)) text; background: linear-gradient(#E7C95B, #FBF7D6) text; }
main .title::before, main .title::after { grid-area: 1 / 1; color: transparent; content: attr(data-text); z-index: -1; }
main .title::before { text-shadow: 0.1em 0.1em 0.2em rgba(0, 0, 0, 0.5); }
main .title::after { -webkit-text-stroke: 0.04em #77320A; text-shadow: 0.02em 0.02em 0 #77320A, -0.02em -0.02em 0 #77320A, 0.02em -0.02em 0 #77320A, -0.02em 0.02em 0 #77320A, -0.02em -0.02em 0 #77320A; }
main .dialogue-wrapper { font-size: 22px; -webkit-filter: drop-shadow(0.3em 0.3em 0.25em rgba(0, 0, 0, 0.22)); filter: drop-shadow(0.3em 0.3em 0.25em rgba(0, 0, 0, 0.22)); -webkit-transform-origin: 1em bottom; transform-origin: 1em bottom; -webkit-animation: wobble 1s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite alternate; animation: wobble 1s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite alternate; margin-left: -30px; }
main .dialogue-bubble { font-size: inherit; width: -webkit-fit-content; width: -moz-fit-content; width: fit-content; border: 1px solid transparent; padding: 20px 14px 25px 24px; border-radius: 1em; background: -webkit-gradient(linear, left top, left bottom, from(white), to(white)) padding-box, -webkit-gradient(linear, left top, left bottom, from(#77320A), color-stop(23%, #FFA673), color-stop(36%, #77320A)) border-box; background: linear-gradient(white, white) padding-box, linear-gradient(#77320A, #FFA673 23%, #77320A 36%) border-box; position: relative; -webkit-box-shadow: inset .1em .2em .25em #908F8F; box-shadow: inset .1em .2em .25em #908F8F; min-width: 200px; text-align: center; }
main .dialogue-bubble::before { content: ""; position: absolute; bottom: 0; left: 0; translate: 1em 98%; width: 1.2em; height: 1em; background: no-repeat center / 100% 100%; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 49 41' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.5 0C10.9612 10.7786 11.9389 26.1775 3 38.8453C3 38.8453 39.3708 28.4954 47.5 0H8.5Z' fill='white'/%3E%3Cpath d='M8.97781 1C11.439 11.7786 11.9389 26.1775 3 38.8453C3 38.8453 39.0464 29.4954 47.1756 1' stroke='%2377320A' stroke-width='1.82444'/%3E%3C/svg%3E%0A"); }
@-webkit-keyframes wobble { 0% { -webkit-transform: rotate(1deg); transform: rotate(1deg); }
  100% { -webkit-transform: rotate(-1deg); transform: rotate(-1deg); } }
@keyframes wobble { 0% { -webkit-transform: rotate(1deg); transform: rotate(1deg); }
  100% { -webkit-transform: rotate(-1deg); transform: rotate(-1deg); } }
main .terms-title { display: -webkit-box; display: -ms-flexbox; display: flex; margin-left: -75px; }
main .terms-title img { height: 140px; position: relative; z-index: 1; }
main .terms .swiper-wrapper { height: 330px; }
main .terms .swiper .swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet, main .terms .swiper .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet { margin: 0 2.5px; }
main .terms .swiper-pagination-bullet { background: #fff; height: 5px; opacity: 0.5; -webkit-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; width: 5px; }
main .terms .swiper-pagination-bullet-active { border-radius: 12px; opacity: 1; width: 15px; }
main .terms__swiper-slide { background: url(../img/board2.jpg) no-repeat padding-box, -webkit-gradient(linear, left top, left bottom, from(#E7C95B), to(#FBF7D6)) no-repeat border-box; background: url(../img/board2.jpg) no-repeat padding-box, linear-gradient(180deg, #E7C95B, #FBF7D6) no-repeat border-box; border: 2px solid transparent; border-radius: 14px; -webkit-box-shadow: inset 0em 0em 2em 1.2em #000; box-shadow: inset 0em 0em 2em 1.2em #000; height: 265px; margin-top: 28px; padding: 30px 12px; text-align: center; width: 328px; }
main .terms__swiper-slide:first-child img { margin-left: -1em; }
main .terms__swiper-slide img { margin-top: -58px; }
main .terms__swiper-slide p { font-size: 22px; font-weight: 300; line-height: 110%; }
main .terms__swiper-slide p a { color: inherit; font-size: inherit; text-decoration: underline; }
main .accordion__text { background: url(../img/board2.jpg) no-repeat padding-box, -webkit-gradient(linear, left top, left bottom, from(#E7C95B), to(#FBF7D6)) no-repeat border-box; background: url(../img/board2.jpg) no-repeat padding-box, linear-gradient(180deg, #E7C95B, #FBF7D6) no-repeat border-box; border: 2px solid transparent; border-radius: 14px; -webkit-box-shadow: inset 0em 0em 1.2em 0.5em #000; box-shadow: inset 0em 0em 1.2em 0.5em #000; color: #fff; font-size: 16px; font-style: normal; font-weight: 400; line-height: 110%; padding: 16px 24px; position: relative; -webkit-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; z-index: 1; }
main .accordion__text::after { background: url(../img/accordion-after.svg) no-repeat; background-size: contain; content: ''; height: 10px; position: absolute; right: 10px; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); -webkit-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; width: 20px; }
main .accordion__text-opened { border-radius: 14px 14px 0 0; }
main .accordion__text-opened:after { -webkit-transform: translateY(-50%) rotateX(180deg); transform: translateY(-50%) rotateX(180deg); }
main .accordion + .accordion { margin-top: 8px; }
main .accordion__body { background: rgba(13, 9, 5, 0.46); border-radius: 0px 0px 8px 8px; display: none; padding: 32px 15px 12px; }
main .accordion__body * { font-size: 12px; font-style: normal; font-weight: 300; line-height: 120%; }
main .signs-box { margin-bottom: 2em; padding: 1em 0 .5em; }
main .signs-box__item { padding: .5em 1.5em; display: -webkit-box; display: -ms-flexbox; display: flex; gap: 1em; -webkit-box-align: start; -ms-flex-align: start; align-items: start; }
main .signs-box__item:not(:last-of-type) { border-bottom: 1px solid rgba(255, 255, 255, 0.6); }
main .signs-box__name { margin-bottom: .5em !important; }
main .signs-box__lead { font-size: .8em !important; }

@media (min-width: 1023px) { .out-of-header { margin-top: 0; padding: 120px 0 150px; }
  main h1 { font-size: 36px; }
  main h2 { font-size: 36px; margin-bottom: 44px; }
  main p { font-size: 22px; }
  main ul li { font-size: 22px; padding-left: 25px; }
  main ul li::before { top: 50%; }
  main ul li + li { margin: 22px 0 0; }
  main .smallText { font-size: 16px; margin-top: 32px; }
  main .mapa-img { top: 0; width: 100%; }
  main .welcome { max-width: 625px; margin: 0 auto; }
  main .welcome-text { gap: 32px; }
  main .game-logo { width: 25em; }
  main .visual { gap: 40px; padding: 56px 0; }
  main .visual .game-logo { width: 15em; }
  main .visual .chest { width: 34em; }
  main .dialogue-bubble { padding: 38px 49px; min-width: 360px; }
  main .title { font-size: 36px; }
  main .prize-wrapper { max-width: 640px; margin: 0 auto; }
  main .prize-wrapper p { font-size: 22px; }
  main .prize-wrapper__item { font-size: 22px; padding: 14px 54px; grid-template-columns: 40% 50%; }
  main .prize-wrapper__item:first-child { padding-top: 22px; }
  main .prize .last-text { padding: 24px 0 22px; }
  main .prize .spisok p { font-size: 20px; }
  main .terms-title { margin-left: 5em; }
  main .terms-title img { height: 220px; }
  main .accordion__text { font-size: 28px; font-weight: 500; padding: 26px; }
  main .accordion__text::after { height: 17px; right: 26px; width: 34px; }
  main .accordion__body * { font-size: 18px; } }
@media (min-width: 1201px) { main .bgMaps::before { background-size: cover; } }
