.main-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9;
  padding: 24px 0;
  background: #1c1718;
  border-bottom: 1px solid #913aff;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-title {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;

  img {
    width: 21px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 15px;
    text-transform: uppercase;
    color: #fff;
    transition: color 0.3s ease, text-shadow 0.3s ease;
  }
}

.header-title:hover,
.header-title:focus {
  span {
    color: #913aff;
    text-shadow: 2px 2px 8px #913aff;
  }
}

.page-nav {
  display: none;
}

.menu-svg {
  fill: none;
  stroke: #fff;
  transition: stroke 0.3s ease;
}

.menu-btn:hover,
.menu-btn:focus {
  svg {
    stroke: #913aff;
  }
}

.page-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
}

.page-nav-link {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 156%;
  text-transform: capitalize;
  color: #fff;
  transition: color 0.3s ease;
}

.page-nav-link:hover {
  color: #913aff;
}

.active-link {
  color: #913aff;
}

#contact-link {
  display: none;
}

@media screen and (min-width: 1436px) {
  .main-section {
    padding: 35px 0;
  }

  .header-title {
    gap: 13px;

    img {
      width: 37px;
    }

    span {
      font-size: 27px;
    }
  }

  .page-nav {
    display: block;
  }

  .menu-btn {
    display: none;
  }

  #contact-link {
    display: block;

    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 156%;
    text-transform: capitalize;
    color: #fff;

    border-radius: 47px;
    padding: 16px 64px;
    border: 1px solid #913aff;
    transition: color 0.3s ease;
  }

  #contact-link:hover,
  #contact-link:focus {
    color: #913aff;
  }
}

/* modal  */

.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  padding-top: 120px;
  background: #110027;
  z-index: 8;
  transform: translateY(-100%);
  transition: transform 1s ease;
}

.menu-nav-list {
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

/* popup */

.page-popup {
  position: fixed;
  z-index: 10;
  bottom: 20px;
  border: 1px solid #913aff;
  border-radius: 20px;
  padding: 20px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 14px 42px 0 rgba(8, 15, 52, 0.06);
  background: #1c1718;
  transition: transform 0.4s ease;
}

.popup-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 188%;
  margin-bottom: 37px;
}

.popup-btn {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 113%;
  color: #fff;
  border: 1px solid #913aff;
  border-radius: 56px;
  padding: 18px 26px;
  box-shadow: 0 4px 8px 0 rgba(74, 58, 255, 0.08);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  background: #343434;
}

.popup-wrap {
  display: flex;
  justify-content: center;
  gap: 20px;
}

@media screen and (min-width: 1436px) {
  .page-popup {
    padding: 52px 138px;
  }

  .popup-text {
    font-size: 18px;
    margin: 0;
  }

  .popup-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 100px;
  }

  .popup-wrap {
    flex-shrink: 0;
  }
}

/* hero  */

.dashboard {
  padding-top: 75px;
}

.home-image {
  border-radius: 12px;
  margin-bottom: 20px;
}

.page-hero-title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 58px;
  line-height: 100%;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fdfdfd 0%, #5c5c5c 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hero-sub-title {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateY(-40px);
  padding-bottom: 20px;
  border-bottom: 1px solid #fff;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 58px;
  line-height: 100%;
  text-transform: uppercase;
  color: #d9d9d9;

  img {
    width: 46px;
  }
}

.hero-link-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.hero-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 12px;
  padding: 20px 16px;
  background: linear-gradient(180deg, #302092 0%, #9740ff 100%);

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    text-transform: capitalize;
    color: #fff;
  }

  img {
    width: 20px;
    transition: transform 0.3s ease;
  }
}

.hero-link:hover,
.hero-link:focus {
  img {
    transform: scale(1.3);
  }
}

.hero-link2 {
  background: #fff;

  span {
    color: #1c1718;
  }
}

@media screen and (min-width: 1436px) {
  .dashboard {
    padding-top: 110px;
  }

  .home-container {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 32px;
  }

  .page-hero-title {
    font-size: 80px;
  }

  .page-hero-sub-title {
    font-size: 80px;
    flex-direction: row;
    gap: 44px;
    transform: translateY(0);
    margin-bottom: 16px;

    img {
      width: 91px;
    }
  }

  .hero-link-wrap {
    flex-direction: row;
  }

  .hero-link {
    span {
      font-size: 18px;
    }
  }

  .home-image {
    border-radius: 24px;
    margin: 0;
  }
}

/* about  */

.about-block-sub-title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 24px;
  line-height: 100%;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 24px;
}

@media screen and (min-width: 1436px) {
  .about-block-container {
    display: flex;
    align-items: center;
    gap: 104px;
  }

  .about-block-sub-title {
    margin-bottom: 40px;
  }
}

/* features  */

.features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;

  li {
    border: 1px solid #d9d9d9;
    border-radius: 40px;
    padding: 16px;
    cursor: pointer;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    line-height: 143%;
    text-transform: lowercase;
    color: #d9d9d9;
    transition: border-color 0.3s ease, background-color 0.3s ease;
  }

  li:hover,
  li:focus {
    border-color: #913aff;
    background-color: #0f0f0f;
  }
}

.features-img {
  height: 500px;
  border-radius: 24px;
  background-image: url(../img/features.png);
  width: 100%;
  background-size: cover;
  margin-top: 44px;
}

@media screen and (min-width: 1436px) {
  .features-container {
    display: flex;
    align-items: center;
    gap: 100px;
    flex-direction: row-reverse;
  }
  .features-img {
    width: 604px;
    flex-shrink: 0;
    margin: 0;
  }

  .features-list {
    gap: 16px;

    li {
      padding: 16px 24px;
      font-size: 18px;
    }
  }
}

/* get  */

.get-link {
  width: 335px;
  max-width: 100%;
  margin: 0 auto;
  margin-top: 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.get-link:hover,
.get-link:focus {
  transform: scale(0.95);
  box-shadow: 2px 2px 10px #913aff;
}

@media screen and (min-width: 1436px) {
  .get-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
  }

  .get-link {
    margin: 0;
  }

  .get-text {
    width: 325px;
  }
}

/* footer */

.footer {
  padding: 28px 0;
  background: #fff;
}

.footer-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 27px;
    text-transform: uppercase;
    color: #1c1718;
  }
}

.footer-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 32px;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 133%;
  color: #1c1718;

  a {
    transition: color 0.3s ease;
  }

  a:hover {
    color: #913aff;
    text-decoration: underline;
  }
}

.footer-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 133%;
  color: #1c1718;
  text-align: center;
}

@media screen and (min-width: 1436px) {
  .footer {
    padding: 40px 0;
  }

  .footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .footer-title {
    margin: 0;
  }

  .footer-list {
    font-size: 16px;
    margin: 0;
  }

  .footer-text {
    font-size: 16px;
  }
}

/* loader */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(94, 95, 147, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
}

.spinner {
  width: 70px;
  height: 70px;
  border: 8px solid #ccc;
  border-top-color: #913aff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* scroll */

#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid #913aff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 7;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;

  svg {
    stroke: #913aff;
  }
}

#scrollTopBtn.show {
  opacity: 0.5;
  transform: translateY(0);
  pointer-events: auto;
}

#scrollTopBtn:hover {
  opacity: 1;
}

/* ********************* */

.hidden {
  display: none;
}

.menu-transform {
  transform: translateY(0);
}

.click {
  background-image: url(../img/minus.png);
  transform: rotate(180deg);
}

.popup-click {
  transform: translateY(130%) translateX(-50%);
}

.overflow {
  overflow: hidden;
}
