.main-section {
  position: fixed;
  z-index: 9;
  width: 100%;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
}

.page-nav-list {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 28px;
}

.page-nav-link {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.page-nav-link:hover {
  text-decoration: underline;
}

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: rgba(240, 240, 236, 0.8);
  backdrop-filter: blur(24px);
  border-radius: 50%;
}

.menu-open-svg {
  stroke: var(--black);
}

.menu-close-svg {
  stroke: var(--black);
}

@media screen and (min-width: 1432px) {
  .main-section {
    padding: 18px 160px;
  }
}

/* modal  */

.menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 8;
  padding: 50px;
  padding-top: 80px;
  transform: translateX(100%);
  transition: transform 1s ease;
  background: var(--l-gray);
}

@media screen and (min-width: 1432px) {
  .menu {
    padding: 100px;
  }
}

/* popup */

.page-popup {
  position: fixed;
  z-index: 10;
  width: 96%;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.4s ease;
  border-radius: 32px;
  padding: 32px;
  background: var(--black);
}

.popup-text {
  font-family: var(--font3);
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  text-align: center;
  color: var(--white);
}

.popup-btn {
  border: 1px solid var(--white);
  border-radius: 28px;
  padding: 16px 32px;

  font-family: var(--third-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 150%;
  color: var(--white);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  background: var(--white);
  color: var(--black);
}

.popup-wrap {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

@media screen and (min-width: 1432px) {
  .page-popup {
    padding: 32px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
  }

  .popup-wrap {
    margin: 0;
    flex-direction: row;
    gap: 32px;
  }
}

/* hero  */

.dashboard {
  background-image: url(../asset/window.jpg);
  background-position: bottom right;
  background-size: cover;
  padding-top: 107px;
  padding-bottom: 80px;
}

.hero-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 48px;
  line-height: 120%;
  letter-spacing: -0.03em;
  color: var(--l-gray);
  margin-bottom: 40px;
}

.page-hero-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--white);
  margin-bottom: 208px;
}

.hero-link {
  display: block;
  border-radius: 16px;
  padding: 16px 32px;
  width: 343px;
  max-width: 100%;
  text-align: center;
  background: var(--red);
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: var(--white);
  margin: 0 auto;
  transition: background-color 0.3s ease;
}

.hero-link:hover {
  background: var(--l-red);
}

@media screen and (min-width: 1432px) {
  .dashboard {
    padding-top: 120px;
    padding-bottom: 74px;
  }

  .hero-title {
    font-size: 96px;
    margin-bottom: 40px;
  }

  .page-hero-text {
    font-size: 18px;
    max-width: 872px;
    margin-bottom: 40px;
  }

  .hero-link {
    margin: 0;
  }
}

/* invisible */

.invisible-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 44px;

  li {
    display: flex;
    align-items: center;
    gap: 16px;

    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--black);
  }
}

@media screen and (min-width: 1432px) {
  .invisible-list {
    flex-direction: row;
    justify-content: space-between;
    gap: 86px;
    margin-top: 60px;

    li {
      font-size: 18px;
    }
  }
}

/* features */

.features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;

  li {
    border-radius: 16px;
    padding: 16px;
    background: var(--biege);
  }

  div {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 18px;
    line-height: 150%;
    color: var(--red);
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--black);
    margin-bottom: 17px;
  }
}

@media screen and (min-width: 1432px) {
  .features-list {
    gap: 30px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 60px;
  }
}

/* gallery */

#gallery {
  padding-left: 0;
  padding-right: 0;
}

.swiper-title {
  padding: 0 16px;
}

.item1 {
  width: 486px;
}

.item2 {
  width: 181px;
}

.item3 {
  width: 284px;
}

@media screen and (min-width: 1432px) {
  .swiper-title {
    padding: 0 160px;
  }
  .item1 {
    width: 736px;
  }

  .item2 {
    width: 274px;
  }

  .item3 {
    width: 431px;
  }
}

/* testimonials */

#testimonials {
  padding-left: 0;
  padding-right: 0;
}

.testimonials-item {
  width: 256px;
  max-width: 100%;

  p {
    border-radius: 16px;
    padding: 24px;
    height: 168px;
    background: var(--l-gray);

    font-family: var(--second-family);
    font-style: italic;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--black);
    margin-bottom: 16px;
  }

  .item-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  h5 {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 18px;
    line-height: 150%;
    color: var(--red);
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    color: var(--gray);
  }
}

/* join */

@media screen and (min-width: 1432px) {
  .join-link {
    margin-top: 60px;
  }
}

/* footer */

.footer {
  padding: 40px 16px;
  background: var(--black);
}

.footer-title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  line-height: 150%;
  color: var(--l-red);
  margin-bottom: 16px;
}

.footer-link {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--white);
}

.footer-link-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.footer-description {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 11px;
  line-height: 150%;
  text-align: center;
  color: var(--white);
  margin-top: 40px;
}

@media screen and (min-width: 1432px) {
  .footer {
    padding: 40px 160px;
  }

  .footer-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }

  .footer-title {
    font-size: 20px;
  }

  .footer-link {
    font-size: 18px;
  }

  .footer-link-wrap {
    margin: 0;
    align-items: flex-end;
  }

  .footer-description {
    font-size: 12px;
  }
}

/* ********************* */

.hidden {
  display: none;
}

.menu-transform {
  transform: translateY(0);
}

.click {
  transform: rotate(0);
}

.popup-click {
  transform: translateY(130%) translateX(-50%);
}

.overflow {
  overflow: hidden;
}
