.main-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  padding: 16px 0;
  backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.2);
}

.header-logo {
  display: none;
}

.page-nav {
  display: none;
}

.page-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.page-nav-link {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 144%;
  text-align: center;
  color: #ede6d8;
  transition: color 0.3s ease;
}

.menu-btn {
  display: block;
  margin-left: auto;

  svg {
    fill: none;
    stroke: #fff;
    transition: stroke 0.3s ease;
  }
}

@media screen and (min-width: 1440px) {
  .main-section {
    padding: 22px 0;
  }

  .header-container {
    position: relative;
  }

  .header-logo {
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);

    font-family: var(--second-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 133%;
    text-align: center;
    color: #fff;
  }

  .page-nav {
    display: block;
  }

  .menu-btn {
    display: none;
  }
}

/* modal  */

.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 8;

  padding: 50px 0;
  padding-top: 130px;
  background: linear-gradient(
    360deg,
    rgba(0, 0, 0, 0.9) 17.37%,
    rgba(0, 0, 0, 0.49) 100%
  );
  transform: translateY(-130%);
  transition: transform 1s ease;
}

.menu-nav-list {
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

/* hero  */

.hero {
  padding-top: 238px;
  padding-bottom: 138px;
  background-image: url(../img/hero.jpg);
  background-position: center;
  background-size: cover;
}

.hero-title {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 36px;
  line-height: 122%;
  text-transform: uppercase;
  text-align: center;
  color: #ede6d8;
  margin-bottom: 22px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 24px;

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 144%;
    text-align: center;
    color: #ede6d8;
  }
}

@media screen and (min-width: 1440px) {
  .hero {
    padding: 299px 0;
  }

  .hero-wrapper {
    width: 894px;
    margin: 0 auto;
  }

  .hero-title {
    font-size: 82px;
    margin-bottom: 42px;
  }
}

/* rules  */

.rules-swiper {
  margin: 40px 0;
}

.rules-item {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(237, 230, 216, 0.8);
}

.btn-wrapper {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.swiper-btn {
  display: block;
  transition: transform 0.3s ease;
}

.rules-left:hover {
  transform: rotate(45deg);
}

.rules-right:hover {
  transform: rotate(-45deg);
}

@media screen and (min-width: 1440px) {
  .btn-wrapper {
    justify-content: flex-start;
  }
}

/* face  */

.face-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #ede6d8;
  margin-bottom: 22px;
}

.face-list {
  display: flex;
  flex-direction: column;
  gap: 22px;

  img {
    width: 100%;
    border-radius: 22px;
    box-shadow: 0 0 6px 0 rgba(237, 230, 216, 0.8);
    margin-bottom: 22px;
  }

  p {
    font-family: var(--font-family);
    font-style: italic;
    font-weight: 300;
    font-size: 20px;
    line-height: 120%;
    text-transform: uppercase;
    color: #ede6d8;
    margin-bottom: 8px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #ede6d8;
  }
}

@media screen and (min-width: 1440px) {
  .face-text {
    margin: 32px 0;
    font-size: 16px;
  }

  .face-list {
    flex-direction: row;
    align-items: flex-start;
    gap: 22px;

    li {
      width: calc((100% - 44px) / 3);
    }
  }
}

/* circus  */

#circus {
  background-image: url(../img/bg.png);
  background-position: center;
  background-size: cover;
}

/* questions   */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;

  p {
    font-family: var(--font-family);
    font-style: italic;
    font-weight: 300;
    font-size: 22px;
    line-height: 118%;
    color: #ede6d8;
    margin-bottom: 12px;
  }
  span {
    font-family: var(--font-family);
    font-style: italic;
    font-weight: 100;
    font-size: 16px;
    line-height: 150%;
    color: #ede6d8;
  }
}

@media screen and (min-width: 1440px) {
  .faq-list {
    gap: 28px;
  }
}

/* footer */

.footer {
  padding: 32px 0;
  background: #12223b;
}

.footer-text {
  display: flex;
  flex-direction: column;
  gap: 8px;

  p {
    font-family: var(--font-family);
    font-style: italic;
    font-weight: 100;
    font-size: 16px;
    line-height: 150%;
    text-align: center;
    color: #ede6d8;
  }

  a:hover {
    text-decoration: underline;
  }
}

.footer-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.footer-nav-link {
  font-family: var(--font-family);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  line-height: 118%;
  color: #ede6d8;
  transition: color 0.3s ease;
}

@media screen and (min-width: 1440px) {
  .footer-list {
    gap: 57px;
  }
}

/* ********************* */

.hidden {
  display: none;
}

.menu-transform {
  transform: translateY(0);
}

.click {
  transform: rotate(135deg);
}

.popup-click {
  transform: translateY(130%) translateX(-50%);
}

.overflow {
  overflow: hidden;
}

html,
body {
  overflow-x: hidden;
}
