/* header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9;
  padding: 8px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  width: 84px;
}

.navigation {
  display: none;
}

.modal-button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.svg {
  stroke: #fff;
}

.navigation-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.navigation-item {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 24px;
  color: #fff;
  transition: color 0.3s ease;
}

.navigation-item:hover {
  color: #f7a300;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1f1f1f;
  padding-top: 108px;
  transform: translateY(-100%);
  transition: transform 1s ease;
  z-index: 8;
}

.modal-navigation-list {
  flex-direction: column;
  align-items: center;
  gap: 39px;
}

.modal-click {
  transform: translateY(0);
}

@media screen and (min-width: 1437px) {
  .header {
    padding: 10px 0;
  }

  .header-logo {
    width: 144px;
  }

  .navigation {
    display: block;
  }
  .navigation-item {
    font-size: 24px;
  }

  .open-modal {
    display: none;
  }
}

/* home */

#home {
  padding-top: 177px;
  padding-bottom: 192px;
  background-image: url(../images/home-banner.jpg);
  background-position: center;
  background-size: cover;
}

.home-description {
  font-family: var(--font-family);
  font-weight: 900;
  font-size: 14px;
  text-align: center;
  color: #fff;
}

@media screen and (min-width: 1437px) {
  #home {
    padding-top: 208px;
    padding-bottom: 245px;
  }

  .home-description {
    font-size: 24px;
  }

  .home-link {
    width: 253px;
    padding: 16px;
  }

  .hero-image {
    margin: 0;
    position: absolute;
    bottom: 47px;
    right: 72px;
    width: 386px;
  }
}

/* mission-title */

.mission-title {
  font-family: var(--font-family);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  text-align: center;
  color: #fff;
  margin-top: 20px;
  margin-bottom: 30px;
}

.mission-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;

  li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }

  img {
    width: 50px;
    flex-shrink: 0;
  }

  div {
    width: 168px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 900;
    font-size: 14px;
    color: #fff;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    color: #fff;
  }
}

@media screen and (min-width: 768px) {
  .mission-list {
    div {
      width: 368px;
    }
  }
}

@media screen and (min-width: 1437px) {
  .mission-title {
    font-size: 24px;
    margin-bottom: 37px;
  }

  .mission-list {
    gap: 64px;
    margin-bottom: 47px;

    li {
      gap: 41px;
    }

    img {
      width: 70px;
    }

    p,
    span {
      font-size: 24px;
    }

    div {
      width: 558px;
    }
  }
}

/* games */

.games-title {
  font-family: var(--font-family);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  text-align: center;
  color: #fff;
  margin-top: 10px;
  margin-bottom: 20px;
}

.games {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.game-item {
  h5 {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 20px;
    color: #fff;
    text-align: center;
    margin-bottom: 10px;
  }
}

.game-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;

  img {
    width: 281px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    color: #fff;
    margin-bottom: 10px;
  }

  h6 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 14px;
    color: #fff;
  }
  ul {
    padding-left: 20px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    color: #fff;
  }
}

@media screen and (min-width: 768px) {
  .game-wrap {
    flex-direction: row;
  }
}

@media screen and (min-width: 1437px) {
  .games-container {
    padding: 0 165px;
  }
  .games-title {
    font-size: 24px;
    margin-bottom: 40px;
    margin-top: 20px;
  }

  .games {
    gap: 40px;
  }

  .game-item {
    h5 {
      font-size: 40px;
      margin-bottom: 20px;
    }
  }

  .game-wrap {
    gap: 51px;

    img {
      width: auto;
      flex-shrink: 0;
      margin: 0;
    }

    p {
      font-size: 24px;
      margin-bottom: 20px;
    }

    ul,
    h6 {
      font-size: 24px;
    }
  }
}

/* features-list */

.features-title {
  font-family: var(--font-family);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  text-align: center;
  color: #fff;
  margin-top: 10px;
  margin-bottom: 20px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;

  li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 228px;
    max-width: 100%;
  }

  img {
    width: 80px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    text-align: center;
    color: #fff;
  }
}

@media screen and (min-width: 768px) {
  .features-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 50px;
  }
}

@media screen and (min-width: 1437px) {
  .features-title {
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 30px;
  }

  .features-list {
    gap: 40px 105px;

    li {
      width: 312px;
    }

    img {
      width: 175px;
    }

    p {
      font-size: 24px;
    }
  }
}

/* how-list */

.how-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;

  span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffc50a;
    margin: 0 auto;
    margin-bottom: 10px;

    font-family: var(--font-family);
    font-weight: 700;
    font-size: 24px;
    text-align: center;
    color: #000;
  }

  h5 {
    font-family: var(--font-family);
    font-weight: 900;
    font-size: 14px;
    text-align: center;
    color: #fff;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    text-align: center;
    color: #fff;
  }
}

@media screen and (min-width: 768px) {
  .how-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 50px;
    margin-top: 50px;

    li {
      width: calc((100% - 50px) / 2);
    }

    span {
      width: 54px;
      height: 54px;
      font-size: 34px;
    }

    h5,
    p {
      font-size: 24px;
    }
  }
}

@media screen and (min-width: 1437px) {
  .how-list {
    gap: 40px 100px;

    li {
      width: calc((100% - 200px) / 3);
    }
  }
}

/* what-list */

.what-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-top: 20px;

  li {
    width: 261px;
    padding: 40px 14px;
    border-radius: 20px;
    background: #f7a300;
  }

  h5 {
    font-family: var(--font-family);
    font-weight: 900;
    font-size: 14px;
    text-align: center;
    color: #1f1f1f;
    margin-bottom: 32px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    color: #1f1f1f;
  }
}

@media screen and (min-width: 768px) {
  .what-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media screen and (min-width: 1437px) {
  .what-list {
    gap: 30px;
    align-items: normal;
    margin-top: 30px;

    li {
      width: calc((100% - 60px) / 3);
      padding: 20px 33px;
    }

    h5 {
      font-family: var(--font-family);
      font-weight: 900;
      font-size: 27px;
      text-align: center;
      color: #1f1f1f;
      margin-bottom: 55px;
    }

    p {
      font-family: var(--font-family);
      font-weight: 400;
      font-size: 22px;
      color: #1f1f1f;
    }
  }
}

/* faq */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 20px;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 250, 250, 0.33);
  width: 100%;
  cursor: pointer;
  padding: 6px;
}

.faq-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.faq-title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  color: #fff;
}

.faq-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.faq-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  color: #fff;
  margin-top: 6px;
}

@media screen and (min-width: 768px) {
  .faq-list {
    width: 610px;
    margin: 0 auto;
    margin-top: 40px;
  }
}

@media screen and (min-width: 1437px) {
  .faq-list {
    gap: 10px;
  }
  .faq-item {
    padding: 20px 0;
  }

  .faq-btn {
    width: 50px;
    height: 5px;
  }
  .faq-title,
  .faq-text {
    font-size: 20px;
  }

  .faq-text {
    margin-top: 10px;
  }
}

.hidden {
  display: none;
}

.click {
  transform: rotate(360deg);
}

/* contact  */

.contact-link {
  width: 204px;
  margin: 0 auto;
  margin-top: 20px;

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 14px;
    color: #1f1f1f;
  }

  ul {
    list-style: disc;
    padding-left: 20px;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 22px;
    color: #1f1f1f;
  }

  a {
    font-weight: 400;
  }
}

@media screen and (min-width: 1437px) {
  .contact-link {
    margin-top: 30px;
    width: 347px;

    p {
      font-size: 22px;
    }
  }
}

/* footer */

.footer {
  padding-top: 64px;
  padding-bottom: 12px;
}

.footer-description {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 10px;
  color: #fff;
}

.footer-mail {
  list-style: disc;
  padding-left: 20px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 10px;
  color: #fff;
  flex-shrink: 0;

  a {
    transition: color 0.3s ease;
  }

  a:hover {
    color: #f7a300;
  }
}

.footer-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 69px;
  margin-bottom: 20px;
}

.footer-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;

  font-family: var(--font-family);
  font-weight: 700;
  font-size: 10px;
  color: #fff;

  a {
    transition: color 0.3s ease;
  }

  a:hover {
    color: #f7a300;
  }
}

@media screen and (min-width: 1437px) {
  .footer {
    padding-top: 143px;
    padding-bottom: 52px;
  }

  .footer-description {
    font-size: 22px;
  }

  .footer-mail {
    font-size: 22px;
  }

  .footer-wrapper {
    margin-bottom: 46px;
  }

  .footer-list {
    font-size: 22px;
  }
}

/* cookie popup */

.popup {
  position: fixed;
  z-index: 10;
  bottom: 0;
  left: 50%;
  border-radius: 30px 30px 0 0;
  padding: 26px 14px;
  background: #f7a300;
  transform: translateX(-50%);
  transition: transform 0.5s ease;
}

.cookie-image {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 76px;
}

.popup-text {
  font-family: var(--font4);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: #151515;
  padding-left: 100px;
  margin-bottom: 25px;
}

.popup-btn {
  border: 2px solid #1f1f1f;
  border-radius: 30px;
  padding: 10px 40px;

  font-family: var(--font4);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: #151515;

  transition: color 0.3s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  background: #1f1f1f;
  color: #fff;
}

.popup-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.popup-click {
  transform: translateY(130%) translateX(-50%);
}

@media screen and (min-width: 1437px) {
  .popup {
    padding: 85px 111px;
  }

  .cookie-image {
    top: 16px;
    left: 16px;
    width: 98px;
  }

  .popup-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 90px;
  }

  .popup-text {
    font-size: 34px;
    margin: 0;
    padding: 0;
  }

  .popup-btn {
    font-size: 24px;
    padding: 12px 70px;
  }

  .popup-wrap {
    flex-shrink: 0;
    gap: 50px;
  }
}
