/* header */

.nav-bfc {
  display: none;
}

.header-bfc {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9;
  width: 100%;
}

.header-container-bfc {
  display: flex;
  justify-content: end;
  align-items: center;
  padding: 42px 42px 24px;
  width: 375px;
}

.menu-btn-bfc {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.header-logo-link-bfc:hover,
.menu-btn-bfc:hover {
  transform: scale(1.1);
}

.menu-svg-open-bfc {
  width: 48px;
  height: 48px;
}

.nav-list-bfc {
  display: flex;
  align-items: center;
  gap: 204px;
}

.nav-item-bfc {
  position: relative;
  transition: all 0.3s ease-in-out;
}

.nav-link-bfc {
  position: relative;
  line-height: 150%;
  transition: all 0.3s ease-in-out;
}

.nav-item-bfc::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--text-color);

  transition: all 0.3s ease-in-out;
}

.item-active-bfc::after {
  width: 100%;
}

@media screen and (min-width: 1440px) {
  .header-container-bfc {
    padding: 24px 80px;
    width: 1440px;
  }

  .nav-bfc {
    display: block;
  }

  .menu-btn-bfc {
    display: none;
  }
}

/* modal  */

.modal-bfc {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 11;

  background: radial-gradient(50% 50% at 50% 50%, #fee8fd 0%, #9cd2f2 100%);
  width: 375px;
  height: 800px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modal-diamonds-bfc {
  position: absolute;
  top: 122px;
  right: 32px;
  width: 310px;
  height: 120px;
}

.menu-nav-list-bfc {
  flex-direction: column;
  gap: 36px;
}

.menu-close-bfc {
  position: absolute;
  top: 48px;
  right: 42px;

  svg {
    width: 48px;
    height: 48px;
  }
}

/* hero  */

#home {
  background-image: url(/images/hero-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.hero-container-bfc {
  padding: 312px 20px 310px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-pic-bfc {
  width: 335px;
  height: 178px;
}

@media screen and (min-width: 1440px) {
  .hero-container-bfc {
    padding: 250px 20px 196px;
    align-items: start;
  }

  .hero-pic-bfc {
    width: 709px;
    height: 377px;
  }
}

/* world */

.world-pic-bfc {
  width: 375px;
  height: 197px;
  margin-bottom: 22px;
}

.world-diamonds-bfc {
  display: none;
}

.world-text-bfc {
  padding: 0 20px;
  line-height: 150%;
}

@media screen and (min-width: 1440px) {
  .world-container-bfc {
    position: relative;
  }

  .world-pic-bfc {
    position: absolute;
    left: 80px;
    top: 221px;
    width: 630px;
    height: 331px;
    margin-bottom: 0;
  }

  .world-wrap-bfc {
    padding: 33.5px 0 0 650px;
  }

  .world-diamonds-bfc {
    display: flex;
    width: 310px;
    height: 120px;
  }

  .world-text-bfc {
    padding: 0;
  }
}

/* gameplay */

.gameplay-bg-bfc {
  background-image: url(/images/gameplay-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 375px;
  height: 170px;
  margin-bottom: 22px;
}

.gameplay-subtitle-bfc {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 150%;
  text-align: center;
  color: var(--accent-color-yellow);
  margin-bottom: 22px;
}

.gameplay-list-bfc {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;

  li {
    display: flex;
    gap: 4px;

    svg {
      width: 28px;
      height: 28px;
      flex-shrink: 0;
    }

    div {
      display: flex;
      flex-direction: column;
      gap: 8px;

      h4 {
        font-weight: 700;
        font-size: 16px;
        line-height: 150%;
      }

      p {
        line-height: 150%;
      }
    }
  }
}

@media screen and (min-width: 1440px) {
  .gameplay-container-bfc {
    position: relative;
    padding-bottom: 26px;
  }

  .gameplay-bg-bfc {
    position: absolute;
    left: 0;
    top: 193px;
    width: 1440px;
    height: 654px;
    margin-bottom: 0;
  }

  .gameplay-subtitle-bfc {
    text-align: start;
    padding-left: 325px;
    width: 100%;
  }

  .gameplay-list-bfc {
    position: relative;
    z-index: 2;
    padding: 0 437px 0 325px;
    gap: 22px;
  }
}

/* features */

.features-subtitle-bfc {
  display: none;
}

.features-list-bfc {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 20px;

  li {
    background-image: url(/images/features/item-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 18px;
    padding-bottom: 0;
    width: 335px;
    height: 255px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;

    img {
      width: 299px;
      height: 170px;
    }

    p {
      line-height: 150%;
      text-align: center;
    }
  }
}

@media screen and (min-width: 1440px) {
  .features-subtitle-bfc {
    display: flex;
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 20px;
    line-height: 150%;
    text-align: center;
    color: var(--accent-color-yellow);
    margin-bottom: 22px;
  }

  .features-list-bfc {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;

    li {
      width: 413px;
      height: 314px;

      img {
        width: 376px;
        height: 215px;
      }
    }
  }
}

/* contact */

.contact-container-bfc {
  padding: 80px 20px;
}

.contact-text-bfc {
  line-height: 150%;
  text-align: center;
  margin-bottom: 22px;
}

.contact-email-text-bfc {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 150%;
  text-align: center;
  color: var(--accent-color-yellow);
}

@media screen and (min-width: 1440px) {
  .contact-container-bfc {
    padding: 150px 80px;
  }
}

/* footer */

#footer {
  background: var(--accent-color-purple);
}

.footer-container-bfc {
  padding: 45px 20px;
  align-items: start;
}

.footer-links-list-bfc {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link-bfc {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 150%;
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgb(254, 232, 253) 0%,
    rgb(156, 210, 242) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-text-bfc {
  font-size: 12px;
  line-height: 150%;
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgb(254, 232, 253) 0%,
    rgb(156, 210, 242) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 34px;
}

@media screen and (min-width: 1440px) {
  .footer-container-bfc {
    padding: 46px 80px;
    align-items: center;
  }

  .footer-links-list-bfc {
    width: 100%;
    justify-content: space-between;
    flex-direction: row;
  }

  .footer-text-bfc {
    margin-top: 50px;
  }
}

/* ********************* */

.hidden-bfc {
  display: none;
}
