@font-face {
  font-style: normal;
  font-weight: 400;
  font-family: "Merriweather";
  font-display: swap;
  src: url("../fonts/Merriweather-Regular.woff2") format("woff2");
}

@font-face {
  font-style: normal;
  font-weight: 400;
  font-family: "GolosText";
  font-display: swap;
  src: url("../fonts/GolosText-Regular.woff2") format("woff2");
}

@font-face {
  font-style: normal;
  font-weight: 500;
  font-family: "GolosText";
  font-display: swap;
  src: url("../fonts/GolosText-Medium.woff2") format("woff2");
}

@font-face {
  font-style: normal;
  font-weight: 600;
  font-family: "GolosText";
  font-display: swap;
  src: url("../fonts/GolosText-DemiBold.woff2") format("woff2");
}

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

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

body {
  font-family: "Merriweather", "Tahoma", sans-serif;
  font-size: 24px;
  line-height: 24px;
  background-color: #fff;
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

a {
  color: #000;
  text-decoration: none;
}

img {
  display: block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(100%);
}

.red {
  font-weight: 700;
  color: #f54932;
}

.strikethrough-line {
  text-decoration: line-through;
  text-decoration-color: #f54932;
  margin-right: 8px;
}

.section-title {
  font-weight: 400;
  font-size: 36px;
  line-height: 135%;
  text-transform: uppercase;
  color: #313131;
  max-width: 800px;
}

.carousel-title {
  font-weight: 400;
  font-size: 54px;
  line-height: 120%;
  text-transform: uppercase;
  color: #313131;
  max-width: 800px;
}

.scroll-section {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-section.active {
  opacity: 1;
  transform: translateY(0);
}

.container {
  display: flex;
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  position: absolute;
  width: 100%;
  display: flex;
  padding: 26px 0;
}

.main {
  display: flex;
  flex-direction: column;
}

.intro {
  display: flex;
  padding: 124px 0 130px;
  background-color: #fff;
  color: #313131;
  background-image: url(../img/intro_bg.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.intro__wrapper {
  display: flex;
  flex-direction: column;
  max-width: 542px;
}

.intro__title {
  display: flex;
  flex-direction: column;
  font-weight: 400;
  font-size: 60px;
  line-height: 110%;
  text-transform: uppercase;
  color: #313131;
}

.intro__title span:nth-child(2) {
  text-align: center;
}

.intro__title span:nth-child(3) {
  text-align: end;
}

.intro__description {
  font-family: "GolosText", "Tahoma", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  text-align: center;
  color: #313131;
  margin: 24px 0 40px;
}

.intro__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.intro__link {
  font-family: "GolosText", "Tahoma", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 130%;
  text-align: center;
  color: #fff;
  padding: 13px 49px;
  border: 2px solid #1f1f1f;
  width: 100%;
  flex-grow: 1;
  border-radius: 66px;
  transition: 0.3s ease;
}

.intro__link--left {
  background: #1f1f1f;
}

.intro__link--left:hover {
  color: #1f1f1f;
  background: #fbce51;
  border-color: #fbce51;
}

.intro__link--right {
  color: #1f1f1f;
}

.intro__link--right:hover {
  color: #fff;
  background: #1f1f1f;
  border-color: #1f1f1f;
}

.marquee {
  width: 100%;
  overflow: hidden;
  background: #f54932;
  color: white;
  white-space: nowrap;
  box-sizing: border-box;
  padding: 18px 0;
  position: relative;
}

.marquee__track {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 15s linear infinite;
}

.marquee__text {
  display: inline-block;
  font-weight: 400;
  font-size: 22px;
  line-height: 110%;
  text-transform: uppercase;
  text-align: right;
  color: #fff;
}

.marquee__text::after {
  content: attr(data-text);
  display: inline-block;
  padding-left: 0;
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.tournament {
  background-color: #fff;
  color: #313131;
  padding: 80px 0 32px;
}

.tournament__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.tournament__title {
  max-width: 765px;
}

.tournament__img {
  flex-shrink: 0;
}

.tournament__img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.session {
  background-color: #fff;
  color: #313131;
  padding: 32px 0 100px;
}

.session__wrapper {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.session__img {
  display: flex;
  justify-content: center;
}

.session__img img {
  position: relative;
  top: -5%;
  left: -1%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform: scale(1.1);
}

.session__inner {
  width: 63%;
}

.session__title {
  margin-bottom: 60px;
}

.session__list {
  display: flex;
  flex-direction: column;
  margin-bottom: 48px;
}

.session__item {
  display: flex;
  font-family: "GolosText", "Tahoma", sans-serif;
}

.session__item > span {
  font-weight: 400;
  font-size: 20px;
  line-height: 112%;
  color: #313131;
  padding: 16px 16px 16px 0;
  border-right: 2px solid #d0d0d0;
  opacity: 0.7;
  width: 44%;
  flex-shrink: 0;
}

.session__item > b {
  font-weight: 600;
  font-size: 20px;
  line-height: 112%;
  color: #313131;
  padding: 16px 0 16px 16px;
}

.session__item:first-child > span,
.session__item:first-child > b {
  padding-top: 0;
}

.session__item:last-child > span,
.session__item:last-child > b {
  padding-bottom: 0;
}

.session__item:not(:last-child) {
  border-bottom: 2px solid #d0d0d0;
}

.session__description {
  font-family: "GolosText", "Tahoma", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 120%;
  color: #3057a2;
}

.stages {
  background-color: #fff;
  color: #313131;
  overflow: hidden;
  padding: 60px 0 100px;
}

.stages__wrapper {
  display: flex;
  flex-direction: column;
  gap: 54px;
  width: 100%;
}

.stages__content {
  position: relative;
}

.stages__img {
  position: absolute;
  right: -5%;
  bottom: 0;
  height: fit-content;
}

.stages__img img {
  width: 100%;
  object-fit: contain;
}

.stages__title span {
  display: inline-block;
  font-family: "GolosText", "Tahoma", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 120%;
  color: #3057a2;
  max-width: 295px;
  text-transform: none;
  margin-left: 6px;
}

.stages__list {
  font-family: "GolosText", "Tahoma", sans-serif;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stages__card--double {
  display: flex;
  gap: 20px;
}

.stages__card--double .stages__inner {
  width: 100%;
}

.stages__card:nth-child(1) {
  grid-row-start: 1;
  grid-column-start: 1;
  grid-column-end: 3;
}

.stages__card:nth-child(2) {
  grid-row-start: 1;
  grid-row-end: 3;
}

.stages__card:nth-child(3) {
  grid-column-start: 1;
  grid-column-end: 3;
}

.stages__card:nth-child(5) {
  grid-column-start: 2;
  grid-column-end: 4;
}

.stages__inner {
  display: flex;
  gap: 16px;
  padding: 20px;
  height: 100%;
  background-image: url(../img/stages_card_bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.stages__number {
  font-weight: 600;
  font-size: 20px;
  line-height: 120%;
  color: #313131;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}

.stages__description {
  font-weight: 500;
  font-size: 20px;
  line-height: 120%;
  color: #313131;
  max-width: 445px;
  position: relative;
}

.participants {
  background-color: #fff;
  color: #313131;
  padding: 100px 0 140px;
}

.participants__wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.participants__wrapper .carousel-btn-container {
  position: absolute;
  top: -6px;
  right: 0;
}

.participants__wrapper .carousel-container {
  position: static;
  overflow: clip;
}

.participants__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "GolosText", "Tahoma", sans-serif;
  padding: 0 10px;
}

.participants__avatar {
  margin-bottom: 28px;
}

.participants__avatar img {
  object-fit: contain;
  width: 100%;
  border-radius: 50%;
}

.participants__name {
  font-weight: 600;
  font-size: 24px;
  line-height: 120%;
  color: #313131;
  margin-bottom: 4px;
  text-align: center;
}

.participants__description {
  font-weight: 400;
  font-size: 20px;
  line-height: 120%;
  color: #313131;
  opacity: 0.6;
  margin-bottom: 20px;
  text-align: center;
}

.participants__link {
  font-weight: 500;
  font-size: 16px;
  line-height: 120%;
  color: #3057a2;
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid #3057a2;
  border-radius: 62px;
  transition: 0.3s ease;
  margin-top: auto;
}

.participants__link:hover {
  background: #3057a2;
  color: #fff;
}

.footer {
  display: flex;
  padding: 40px 0 72px;
  background: #e9ded4;
}

.footer__description {
  font-family: "GolosText", "Tahoma", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
  color: #313131;
  opacity: 0.6;
}

.carousel-container {
  position: relative;
  overflow: hidden;
}

.carousel-wrapper {
  display: none;
  position: relative;
  overflow: hidden;
}

.carousel-wrapper .carousel-btn-container {
  margin-top: 30px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-track .card {
  flex: 0 0 calc(33.333% - 20px);
  margin: 0 10px;
  box-sizing: border-box;
}

.carousel-btn-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  gap: 16px;
}

.carousel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #313131;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: 0.3s ease;
}

.carousel-btn-container .carousel-btn.disabled {
  background-color: #d6d6d6;
  pointer-events: none;
}

.carousel-btn:hover {
  background: #fbce51;
}

.carousel-counter {
  font-family: "GolosText", "Tahoma", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
  color: #313131;
  text-align: center;
  width: 30px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d9d9d9;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: #313131;
}

@media (max-width: 1250px) {
  .stages__img {
    right: 0;
    bottom: -70px;
  }

  .stages__img img {
    width: 200px;
    height: auto;
  }
}

@media (max-width: 1024px) {
  .intro__link--right {
    border-color: rgba(255, 255, 255, 0.9);
    background: #fff;
    opacity: 0.9;
  }

  .section-title {
    font-size: 28px;
  }

  .stages__description {
    font-size: 15px;
  }

  .participants__wrapper {
    overflow: auto;
    position: static;
  }

  .participants__wrapper .carousel-btn-container {
    position: static;
    top: auto;
    right: auto;
  }

  .participants__wrapper .carousel-container {
    position: relative;
    overflow: hidden;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 18px 0;
  }

  .logo img {
    width: 213px;
    height: 32px;
  }

  .intro {
    padding: 90px 0 291px;
    background-image: url(../img/intro_bg_mobile.png);
  }

  .intro__wrapper {
    margin: 0 auto;
  }

  .intro__title {
    font-size: 36px;
    line-height: 110%;
  }

  .intro__description {
    font-size: 18px;
    line-height: 130%;
    text-align: left;
    margin: 24px 0 32px;
  }

  .intro__inner {
    flex-direction: column;
    gap: 14px;
  }

  .intro__link {
    font-size: 16px;
    line-height: 130%;
    padding: 11px;
  }

  .marquee {
    padding: 7px 0;
  }

  .marquee__text {
    font-size: 16px;
    line-height: 110%;
  }

  .tournament {
    padding: 48px 0 17px;
  }

  .tournament__wrapper {
    flex-direction: column;
    gap: 26px;
  }

  .tournament__title {
    display: contents;
  }

  .tournament__title span:last-child {
    order: 2;
  }

  .tournament__img {
    order: 1;
    max-width: 335px;
    max-height: 212px;
  }

  .session {
    padding: 17px 0 60px;
  }

  .session__wrapper {
    flex-direction: column;
    gap: 25px;
  }

  .session__img img {
    top: auto;
    left: auto;
    max-height: 402px;
  }

  .session__inner {
    width: 100%;
  }

  .session__title {
    margin-bottom: 30px;
  }

  .session__list {
    margin-bottom: 30px;
  }

  .session__item {
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 0 16px;
  }

  .session__item > span {
    width: fit-content;
    border-right: none;
    padding: 0;
  }

  .session__item > b {
    padding: 0;
  }

  .session__description {
    font-size: 18px;
  }

  .stages {
    padding-bottom: 60px;
  }

  .stages__wrapper {
    gap: 145px;
  }

  .stages__list {
    display: none;
  }

  .stages__title span {
    font-size: 18px;
    margin-left: 0;
    margin-top: 12px;
  }

  .stages__card {
    padding: 62px 20px 15px;
    background-image: url(../img/stages_card_bg_mobile.jpg);
    background-repeat: no-repeat;
    background-size: cover;
  }

  .stages__card--double {
    flex-direction: column;
    gap: 28px;
  }

  .stages__inner {
    position: relative;
    padding: 0;
    background-image: none;
  }

  .stages__card--double .stages__inner {
    height: auto;
  }

  .stages__description {
    font-size: 18px;
  }

  .stages__img {
    right: auto;
    top: -130px;
    z-index: 1;
  }

  .stages__img img {
    width: 335px;
  }

  .participants {
    padding: 60px 0 100px;
  }

  .participants__wrapper {
    gap: 40px;
  }

  .participants__avatar img {
    max-width: 244px;
    max-height: 244px;
  }

  .participants__wrapper .carousel-btn-container {
    margin-top: 40px;
  }

  .footer {
    padding-bottom: 60px;
  }

  .footer__description {
    font-size: 16px;
    line-height: 120%;
  }

  .carousel-wrapper {
    display: block;
  }

  .carousel-title {
    font-size: 36px;
    line-height: 111%;
  }

  .carousel-track .card {
    flex: 0 0 100% !important;
    margin: 0 !important;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
  }

  .carousel-btn:hover {
    background: #313131;
  }

  .carousel-btn:active {
    background: #fbce51;
  }
}
