/* header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9;
  padding: 7px 0;
  background: #151515;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  width: 70px;
}

.navigation {
  display: none;
}

.modal-button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.svg {
  stroke: #ff5722;
}

.navigation-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

.navigation-item {
  font-family: var(--third-family);
  font-weight: 400;
  font-size: 24px;
  color: #ff5722;
  transition: color 0.3s ease;
}

.navigation-item:hover {
  color: #00bcd4;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #151515;
  padding-top: 108px;
  transform: translateY(-100%);
  transition: transform 1s ease;
  z-index: 8;
}

.modal-navigation-list {
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.modal-click {
  transform: translateY(0);
}

@media screen and (min-width: 1437px) {
  .header {
    padding: 4px 0;
  }

  .header-logo {
    width: 106px;
  }

  .navigation {
    display: block;
  }
  .navigation-item {
    font-size: 24px;
  }

  .open-modal {
    display: none;
  }
}

/* home */

#home {
  padding-top: 57px;
}

.hero-image {
  width: 252px;
  margin: 0 auto;
  margin-bottom: 20px;
}

.hero-link {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  color: #fff;
  text-align: center;

  display: block;
  border: 1px solid #fff;
  border-radius: 30px;
  width: 215px;
  margin: 0 auto;
  padding: 8px;
  transition: background-image 0.4s ease;
}

.hero-link:hover,
.hero-link:focus {
  background: linear-gradient(6deg, #ff5722 0%, #993414 100%);
}

@media screen and (min-width: 768px) {
  .hero-image {
    width: 400px;
  }
}

@media screen and (min-width: 1437px) {
  #home {
    padding-top: 106px;
    padding-bottom: 245px;
  }

  .home-container {
    display: flex;
    gap: 50px;
  }

  .hero-link {
    width: 304px;
    font-size: 24px;
  }

  .hero-image {
    width: 600px;
    margin: 0;
    flex-shrink: 0;
  }
}

/* mission-title */

.mission-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;

  li {
    width: 212px;
    max-width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;

    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    text-align: center;
    color: #f9f9f9;
  }
}

@media screen and (min-width: 768px) {
  .mission-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 120px;
  }
}

@media screen and (min-width: 1437px) {
  .mission-list {
    margin-bottom: 44px;

    li {
      gap: 21px;
      font-size: 24px;
    }
  }
}

/* games */

.games {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.game-item {
  h5 {
    font-family: var(--second-family);
    font-weight: 900;
    font-size: 14px;
    text-align: center;
    color: #fff;
    margin-bottom: 10px;
  }
}

.game-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;

  img {
    width: 219px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    color: #f9f9f9;
    margin-bottom: 10px;
  }

  h6 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    color: #f9f9f9;
  }
  ul {
    padding-left: 20px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    color: #f9f9f9;
  }
}

@media screen and (min-width: 768px) {
  .game-wrap {
    flex-direction: row;
  }
}

@media screen and (min-width: 1437px) {
  .games-container {
    padding: 0 138px;
  }

  .games {
    gap: 30px;
  }

  .game-item {
    h5 {
      font-size: 24px;
      margin-bottom: 28px;
    }
  }

  .game-wrap {
    gap: 50px;

    img {
      width: auto;
      flex-shrink: 0;
      margin: 0;
    }

    p {
      font-size: 24px;
      margin-bottom: 36px;
    }

    ul,
    h6 {
      font-size: 24px;
    }
  }
}

/* features-list */

.features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;

  li {
    display: flex;
    align-items: center;
    gap: 36px;
  }

  img {
    width: 50px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    color: #f9f9f9;
  }
}

@media screen and (min-width: 1437px) {
  .features-list {
    width: 750px;
    margin: 0 auto;

    li {
      gap: 37px;
    }

    img {
      width: 100px;
    }

    p {
      font-size: 24px;
    }
  }
}

/* how-list */

.how-list {
  display: flex;
  flex-direction: column;
  gap: 20px;

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    color: #f9f9f9;
  }
}

.item-right {
  display: flex;
  align-items: center;
  gap: 32px;

  img {
    width: 21px;
  }
}

.item-left {
  display: flex;
  gap: 10px;
  align-items: center;

  img {
    width: 21px;
    margin-left: 22px;
  }
}

@media screen and (min-width: 1437px) {
  .how-list {
    width: 905px;
    margin: 0 auto;
    gap: 30px;

    p {
      font-size: 24px;
    }
  }

  .item-right {
    gap: 90px;

    img {
      width: auto;
    }
  }

  .item-left {
    gap: 50px;

    img {
      width: auto;
      margin-left: 41px;
    }
  }
}

/* what-list */

.what-swiper {
  margin-top: 30px;
}

.what-slide {
  border-radius: 60px;
  background: #ff5722;
  padding: 23px 10px;

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    text-transform: capitalize;
    text-align: center;
    color: #151515;
    margin-bottom: 22px;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 14px;
    text-transform: capitalize;
    text-align: center;
    color: #151515;
  }
}

.what-btn-wrap {
  display: flex;
  justify-content: center;
  gap: 14px;
  transform: translateY(-10px);
  position: relative;
  z-index: 2;
}

.swiper-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.25);
  transition: background-color 0.3s eq;
}

.swiper-svg {
  fill: none;
  stroke: #151515;
}

.swiper-btn:hover,
.swiper-btn:focus {
  background-color: #d6caca;
}
.what-left {
  transform: rotate(-90deg);
}

.what-right {
  transform: rotate(90deg);
}

@media screen and (min-width: 768px) {
  .what-slide {
    padding: 34px;
  }
}

@media screen and (min-width: 1437px) {
  .what-swiper {
    margin-top: 50px;
  }

  .what-slide {
    padding: 54px 231px;

    p {
      font-size: 24px;
      margin-bottom: 41px;
    }

    span {
      font-size: 24px;
    }
  }

  .what-btn-wrap {
    gap: 40px;
  }

  .swiper-btn {
    width: 50px;
    height: 50px;
  }
}

/* faq */

.faq-list {
  display: none;
}

.faq-slide {
  border: 1px solid #fff;
  border-radius: 40px;
  padding: 14px 21px;
  min-height: 148px;

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-align: center;
    color: #fff;
    margin-bottom: 28px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    color: #fff;
    display: block;
    text-align: center;
  }
}

.faq-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
}

.faq-right {
  transform: scaleX(-1);
}

.faq-item {
  border-bottom: 1px solid rgba(255, 250, 250, 0.33);
  width: 100%;
  cursor: pointer;
  padding: 6px;
}

.faq-btn:hover,
.faq-btn:focus {
  opacity: 1;
}

.swiper-flex {
  display: flex;
  align-items: center;
  margin-top: 30px;
}

@media screen and (min-width: 1437px) {
  .swiper-flex {
    display: none;
  }

  .faq-list {
    display: flex;
    width: 912px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 50px;
  }

  .faq-slide {
    width: calc((100% - 20px) / 2);
    min-height: auto;
    padding: 25px;
    min-height: 299px;

    p {
      font-size: 24px;
      margin-bottom: 76px;
    }

    span {
      font-size: 24px;
      text-align: start;
    }
  }
}

.hidden {
  display: none;
}

.click {
  transform: rotate(360deg);
}

/* contact  */

.contact-mail {
  width: 267px;
  margin: 0 auto;
  margin-top: 20px;

  p {
    font-family: var(--font-family);
    font-weight: 900;
    font-size: 14px;
    color: #f9f9f9;
  }

  ul {
    list-style: disc;
    padding-left: 20px;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 14px;
    color: #f9f9f9;
  }

  a {
    font-weight: 400;
    transition: color 0.3s ease;
  }

  a:hover {
    color: #00bcd4;
  }
}

@media screen and (min-width: 768px) {
  .contact-mail {
    width: 370px;
  }
}

@media screen and (min-width: 1437px) {
  .contact-mail {
    width: 637px;

    p,
    ul {
      font-size: 24px;
    }
  }
}

/* footer */

.footer {
  padding: 24px 0;
}

.footer-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 30px;

  font-family: var(--second-family);
  font-weight: 400;
  font-size: 10px;
  color: #fff;

  a {
    transition: color 0.3s ease;
  }

  a:hover {
    color: #00bcd4;
  }
}

.footer-description {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 10px;
  color: #fff;
}

.footer-mail {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 10px;
  color: #fff;
  flex-shrink: 0;

  a {
    transition: color 0.3s ease;
  }

  a:hover {
    color: #00bcd4;
  }
}

.footer-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 57px;
}

@media screen and (min-width: 1437px) {
  .footer-list {
    font-size: 24px;
    margin-bottom: 40px;
  }

  .footer-description {
    font-size: 24px;
  }

  .footer-mail {
    font-size: 24px;
  }
}

/* cookie popup */

.popup {
  position: fixed;
  z-index: 10;
  bottom: 100px;
  left: 50%;
  border-radius: 50px;

  padding: 14px 24px;
  padding-bottom: 60px;
  background: #ff5e24;
  transform: translateX(-50%);
  transition: transform 0.5s ease;
}

.cookie-image {
  width: 86px;
  margin: 0 auto;
  margin-bottom: 36px;
}

.popup-text {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: #f2f9ef;
  margin-bottom: 40px;
}

.popup-btn {
  border: 2px solid #f9f3ec;
  border-radius: 30px;
  padding: 10px 40px;

  font-family: var(--second-family);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: #f9f3ec;
  text-transform: uppercase;

  transition: color 0.3s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  background: #000;
  color: #fff;
}

.popup-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.popup-click {
  transform: translateY(200%) translateX(-50%);
}

@media screen and (min-width: 1437px) {
  .popup {
    padding: 65px 90px;
    width: 928px;
    bottom: 50px;
  }

  .popup-img-wrap {
    display: flex;
    align-items: flex-start;
    gap: 57px;
    margin-bottom: 100px;
  }

  .cookie-image {
    width: auto;
    margin: 0;
    flex-shrink: 0;
  }

  .popup-text {
    font-size: 34px;
    margin: 0;
  }

  .popup-btn {
    font-size: 24px;
    padding: 12px 70px;
  }

  .popup-wrap {
    flex-direction: row;
    flex-shrink: 0;
    gap: 20px;
  }
}
