/* header */

.nav-chf {
  display: none;
}

.header-chf {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9;
  width: 100%;
}

.header-container-chf {
  display: flex;
  justify-content: end;
  align-items: center;
  padding: 42px 42px 0;
  width: 375px;
}

.header-link-chf {
  width: 48px;
  height: 48px;
  transition: all 0.3s ease;
}

.header-link-chf:hover {
  transform: scale(1.1);
}

.header-link-icon-chf {
  width: 100%;
  height: 100%;
}

.menu-btn-chf {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  transition: all 0.3s ease;
}

.menu-btn-chf:hover {
  transform: scale(1.1);
}

.menu-svg-chf {
  width: 100%;
  height: 100%;
}

.nav-list-chf {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-item-chf {
  position: relative;
  transition: all 0.3s ease-in-out;
}

.nav-link-chf {
  position: relative;
  line-height: 150%;
  transition: all 0.3s ease-in-out;
}

.nav-item-chf::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--text-color);

  transition: all 0.3s ease-in-out;
}

.item-active-chf::after {
  width: 100%;
}

@media screen and (min-width: 1440px) {
  .header-container-chf {
    padding: 32px 80px;
    width: 1440px;
  }

  .nav-chf {
    width: 100%;
    display: block;
  }

  .menu-btn-chf {
    display: none;
  }
}

/* modal  */

.modal-chf {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;

  width: 375px;
  height: 800px;
  background: var(--main-color);
  padding-top: 248px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu-nav-list-chf {
  flex-direction: column;
  gap: 32px;
}

.menu-nav-link-chf {
  text-align: center;
}

.menu-close-chf {
  position: absolute;
  top: 48px;
  right: 42px;
  width: 48px;
  height: 48px;

  svg {
    width: 100%;
    height: 100%;
  }
}

/* hero  */

#home {
  background-image: url(/images/hero-bg-mob.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-container-chf {
  position: relative;
  height: 800px;
}

.hero-logo-chf {
  position: absolute;
  top: 118px;
  left: 20px;
  width: 335px;
  height: 169px;
}

.hero-btn-chf {
  position: absolute;
  top: 323px;
  left: 66px;
  width: 243px;
  height: 70px;
  transition: all 0.3s ease;

  .hero-gplay-logo-chf {
    width: 100%;
    height: 100%;
  }
}

.hero-btn-chf:hover {
  transform: scale(1.1);
}

.hero-pic-mob-chf {
  position: absolute;
  bottom: 50px;
  left: 0;
  width: 375px;
  height: 281px;
}

@media screen and (min-width: 1440px) {
  #home {
    background-image: url(/images/hero-bg-desk.png);
  }

  .hero-container-chf {
    height: 823px;
  }

  .hero-logo-chf {
    top: 185px;
    left: 80px;
    width: 542px;
    height: 273px;
  }

  .hero-btn-chf {
    top: 516px;
    left: 229.5px;
  }

  .hero-btn-chf:hover {
    transform: scale(1.1);
  }

  .hero-pic-mob-chf {
    display: none;
  }
}

/* about */

.about-container-chf {
  padding: 80px 20px;
}

.about-img-chf {
  width: 335px;
  height: 300px;
  margin-bottom: 24px;
}

.about-text-chf {
  line-height: 150%;
}

.about-upper-text-chf {
  margin-bottom: 18px;
}

@media screen and (min-width: 1440px) {
  .about-container-chf {
    padding: 150px 188px 150px 730px;
    position: relative;
    align-items: start;
  }

  .about-img-chf {
    width: 430px;
    height: 386px;
    margin-bottom: 0;
    position: absolute;
    top: 176px;
    left: 188px;
  }
}

/* gameplay */

.gameplay-img-chf {
  width: 375px;
  height: 157px;
  margin-bottom: 24px;
}

.gameplay-subtitle-chf {
  padding: 0 20px;
}

.gameplay-text-chf {
  line-height: 150%;
  padding: 0 20px;
}

.gameplay-upper-text-chf {
  margin-bottom: 18px;
}

.gameplay-icon-pack-chf {
  display: none;
}

@media screen and (min-width: 1440px) {
  .gameplay-container-chf {
    align-items: start;
    padding: 0 188px 681px;
    position: relative;
  }

  .gameplay-title-chf,
  .gameplay-subtitle-chf {
    width: 100%;
    text-align: center;
  }

  .gameplay-img-chf {
    width: 1440px;
    height: 603px;
    margin-bottom: 0;
    position: absolute;
    bottom: 150px;
    left: 0;
  }

  .gameplay-text-chf {
    padding: 0;
  }

  .gameplay-upper-text-chf {
    width: 847px;
  }

  .gameplay-lower-text-chf {
    width: 434px;
  }

  .gameplay-icon-pack-chf {
    display: block;
    width: 196px;
    height: 142px;
    position: absolute;
    top: 107px;
    right: 81px;
  }
}

/* shop */

.shop-pics-wrap-chf {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 23px;

  .shop-pic-chf {
    width: 376px;
    height: 214px;
  }
}

.shop-smaller-pics-wrap-chf {
  display: flex;
  gap: 20px;

  .shop-small-pic-chf {
    width: 178px;
    height: 112px;
  }
}

.shop-subtitle-chf {
  text-align: center;
  padding: 0 20.5px;
}

.shop-text-chf {
  padding: 0 20.5px;
  line-height: 150%;
}

.shop-upper-text-chf {
  margin-bottom: 18px;
}

@media screen and (min-width: 1440px) {
  .shop-container-chf {
    padding-left: 80px;
    padding-right: 80px;
    position: relative;
  }

  .shop-pics-wrap-chf {
    flex-direction: row;
    margin-bottom: 0;
    position: absolute;
    bottom: 150px;
    left: 80px;

    .shop-pic-chf {
      width: 413px;
      height: 236px;
    }
  }

  .shop-smaller-pics-wrap-chf {
    flex-direction: column;
    gap: 12px;

    .shop-small-pic-chf {
      width: 197px;
    }
  }

  .shop-text-chf {
    padding: 0;
    padding-left: 650px;
  }
  .shop-lower-text-chf {
    padding-bottom: 26px;
  }
}

/* upgrades */

.upgrades-pic-chf {
  width: 375px;
  height: 242px;
  margin-bottom: 24px;
}

.upgrades-subtitle-chf {
  text-align: center;
  padding: 0 20px;
}

.upgrades-text-chf {
  padding: 0 20px;
  line-height: 150%;
}

.upgrades-upper-text-chf {
  margin-bottom: 18px;
}

@media screen and (min-width: 1440px) {
  .upgrades-container-chf {
    align-items: start;
    padding-left: 80px;
    position: relative;
  }

  .upgrades-pic-chf {
    width: 411px;
    height: 265px;
    margin-bottom: 0;
    position: absolute;
    right: 191px;
    bottom: 150px;
  }

  .upgrades-title-chf {
    width: 100%;
  }

  .upgrades-subtitle-chf {
    width: 100%;
    margin-bottom: 53px;
  }

  .upgrades-text-chf {
    padding: 0;
    width: 630px;
  }

  .upgrades-upper-text-chf {
    padding-top: 29px;
  }

  .upgrades-lower-text-chf {
    padding-bottom: 29px;
  }
}

/* features */

.features-pic-chf {
  width: 375px;
  height: 214px;
  margin-bottom: 24px;
}

.features-list-chf {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 20px;
}

.features-item-chf {
  display: flex;
  gap: 8px;

  svg {
    width: 28px;
    height: 28px;
  }

  p {
    line-height: 150%;
  }
}

@media screen and (min-width: 1440px) {
  .features-container-chf {
    padding-left: 166px;
    padding-right: 166px;
    position: relative;
  }

  .features-pic-chf {
    width: 414px;
    height: 237px;
    margin-bottom: 0;
    position: absolute;
    top: 113px;
    left: 50%;
    transform: translate(-50%);
  }

  .features-list-chf {
    height: 237px;
    flex-wrap: wrap;
    gap: 15px 450px;
    padding: 0 20px;
  }

  .features-item-chf {
    width: 323px;
  }
}

/* footer */

#footer {
  background: var(--accent-color-orange);
}

.footer-container-chf {
  display: flex;
  flex-direction: column;
  gap: 34px;
  padding: 45px 20px;
}

.footer-links-list-chf {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.footer-links-item-chf {
  transition: all 0.3s ease;

  a {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
  }
}

.footer-links-item-chf:hover {
  transform: scale(1.1);
}

.footer-text-chf {
  font-size: 12px;
  line-height: 150%;
  width: 100%;
}

@media screen and (min-width: 1440px) {
  .footer-container-chf {
    flex-direction: column;
    align-items: center;
    gap: 50px;
    padding: 46px 80px;
  }

  .footer-links-list-chf {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-text-chf {
    text-align: center;
    width: auto;
  }
}

/* ********************* */

.hidden-chf {
  display: none;
}
