.decor {
  display: none;
}

.decor-mobile {
  margin: 0 auto;
}

.main-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9;
  padding: 26px 0;
  backdrop-filter: blur(50px);
  background: #212529;
}

.page-nav {
  display: none;
}

.page-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 88px;
}

.page-nav-link {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 18px;
  line-height: 150%;
  text-transform: uppercase;
  text-align: right;
  color: #f9fafb;
  transition: border-color 0.3s ease;
}

.page-nav-link:hover {
  border-color: #0c0c0c;
}

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.menu-svg {
  stroke: #fdf6fd;
}

@media screen and (min-width: 1436px) {
  .main-section {
    padding: 28px 0;
    background: none;
  }

  .header-container {
    position: relative;
  }

  .header-title {
    display: block;
    position: absolute;
    left: 98px;
    top: 50%;
    transform: translateY(-50%);
  }

  .page-nav-link {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    text-transform: uppercase;
    color: #565404;
  }

  .page-nav {
    display: block;
  }

  .menu-btn {
    display: none;
  }

  .decor {
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    z-index: 1;
  }

  .decor-mobile {
    display: none;
  }

  .decor2 {
    right: auto;
    left: 0;
    transform: scaleX(-1);
  }
}

/* modal  */

.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 32px;
  padding-top: 90px;
  z-index: 8;
  backdrop-filter: blur(50px);
  background: #212529;
  transform: translateY(-100%);
  transition: transform 1s ease;
}

.modal-logo {
  width: 198px;
  margin-bottom: 45px;
}

.menu-nav-list {
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.modal-built-link {
  display: block;
  margin-top: 40px;
  width: 150px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 143%;
  text-align: center;
  color: #1a212d;
  padding: 12px 24px;
  border: 1px solid #19c916;
  border-radius: 10px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

/* popup */

.page-popup {
  position: fixed;
  z-index: 10;
  bottom: 20px;
  padding: 20px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid #0c0c0c;
  border-radius: 20px;
  transition: transform 0.4s ease;
  box-shadow: 0 14px 42px 0 rgba(8, 15, 52, 0.06);
  background: #fff;
}

.popup-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 187%;
  color: #0c0c0c;
  margin-bottom: 37px;
  a {
    text-decoration: underline;
    text-decoration-skip-ink: none;
  }
}

.popup-btn {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  line-height: 112%;
  color: #0c0c0c;
  border: 1px solid #0c0c0c;
  border-radius: 56px;
  padding: 18px 26px;
  box-shadow: 0 4px 8px 0 rgba(74, 58, 255, 0.08);
  background: #fff;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  box-shadow: 0 3px 12px 0 rgba(74, 58, 255, 0.18);
  background: #0c0c0c;
  color: #fff;
}

.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: 128px;
  }

  .popup-wrap {
    flex-shrink: 0;
  }
  .popup-btn {
    padding: 18px 36px;
  }
}

/* hero  */

.dashboard {
  padding-top: 149px;
}

.page-hero-title {
  font-family: var(--third-family);
  font-weight: 300;
  font-size: 50px;
  line-height: 100%;
  text-align: center;
  color: #565404;
  text-shadow: 0 4px 0 0 #fff;
  margin-bottom: 48px;
}

.page-hero-text {
  font-family: var(--font-family);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  text-align: center;
  color: #565404;
  text-shadow: 0 4px 0 0 #fff;
  margin-bottom: 48px;
}

.page-hero-desc {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-align: center;
  color: #eeb22c;
  text-shadow: 0 4px 0 0 #fff;
  margin-bottom: 46px;
}

.page-hero-link {
  display: block;
  width: 352px;
  transition: transform 0.3s ease;
}

.page-hero-link:hover {
  transform: scale(0.95);
}

@media screen and (min-width: 1436px) {
  .page-hero-title {
    font-size: 95px;
  }

  .page-hero-text {
    margin-bottom: 74px;
  }

  .page-hero-desc {
    max-width: 687px;
    text-align: start;
  }
}

/* offerings */

.offerings-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 31px;

  li {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.35);
  }
}

@media screen and (min-width: 768px) {
  .offerings-list {
    flex-direction: row;
    flex-wrap: wrap;

    li {
      width: calc((100% - 48) / 2);
    }
  }
}

@media screen and (min-width: 1436px) {
  .offerings-list {
    width: 580px;
    margin-bottom: 48px;
  }
}

/* services */

#services {
  padding-top: 177px;
}

.services-swiper {
  width: 243px;
  margin: 0 auto;
  margin-top: 40px;
}

.services-slide {
  border-radius: 50px;
  padding: 50px 30px;
  width: 243px;
  background: #fff;
  min-height: 218px;

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    text-align: center;
    color: #50f;
    margin-bottom: 26px;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    text-align: center;
    color: #eeb22c;
  }
}

@media screen and (min-width: 768px) {
  .services-swiper {
    width: 525px;
    margin-left: auto;
    margin-right: 0;
  }
}

@media screen and (min-width: 1436px) {
  .services-swiper {
    width: 807px;
  }
}

/* highlights */

.highlights-swiper {
  width: 352px;
  max-width: 100%;
  margin: 0;
  margin-left: auto;
}

.highlights-slide {
  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    color: #50f;
    margin-bottom: 28px;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    color: #eeb22c;
  }
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-top: 12px;
  margin-left: auto;
  transform: scaleX(-1);
  transition: opacity 0.25s ease;
}

.btn:hover {
  opacity: 0.8;
}

.highlights-desc {
  font-family: var(--font-family);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  text-align: center;
  color: #565404;
  margin-top: 100px;
}

@media screen and (min-width: 1436px) {
  .slider-cover-flex {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 84px;
    position: relative;
    z-index: 3;
  }

  .btn {
    margin: 0;
  }

  .highlights-swiper {
    margin: 0;
  }

  .highlights-desc {
    text-align: end;
  }
}

/* .testimonials-list */

#testimonials {
  padding-top: 170px;
}

.testimonials-list {
  display: flex;
  flex-direction: column;
  gap: 12px;

  li {
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    background: #fff;
  }

  img {
    width: 70px;
    margin-bottom: 16px;
    flex-shrink: 0;
  }

  h5 {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 24px;
    color: #565404;
    margin-bottom: 8px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    color: #50f;
    margin-bottom: 14px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.02em;
    color: #eeb22c;
  }
}

@media screen and (min-width: 768px) {
  .testimonials-list {
    flex-direction: row;
    flex-wrap: wrap;

    li {
      width: calc((100% - 16px) / 2);
    }
  }
}

@media screen and (min-width: 1436px) {
  #testimonials {
    background-image: url(../img/Vector.png), url(../img/Vector.png);
    background-position: top right, left center;
    background-repeat: no-repeat;
  }

  .testimonials-list {
    gap: 21px;

    li {
      width: calc((100% - 21px) / 2);
      padding: 73px 50px;
      display: flex;
      align-items: flex-start;
      gap: 16px;
    }
  }
}

/* about */

.about-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

@media screen and (min-width: 1436px) {
  .about-container {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 188px;
  }
}

/* our-vibe */

#our-vibe {
  background-image: url(../img/vibe.png);
  background-position: center;
  background-size: cover;
}

.vibe-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 178%;
  color: #191d25;
}

/* footer */

.footer {
  padding: 33px 0;
  position: relative;
  z-index: 3;
}

.footer-text {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  color: #565404;
  margin-bottom: 24px;

  a {
    text-transform: lowercase;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    color: #50f;
    text-decoration-skip-ink: none;
  }

  a:hover {
    text-decoration: underline;
  }
}

.social-link {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;

  img {
    width: 47px;
  }

  a {
    transition: transform 0.3s ease;
  }

  a:hover {
    transform: scale(1.2);
  }
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;

  font-family: var(--font-family);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  text-decoration-skip-ink: none;
  color: #50f;

  a:hover {
    text-decoration: underline;
  }
}

.footer-rights {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  color: #565404;

  span {
    font-weight: 700;
    text-transform: uppercase;
  }
}

@media screen and (min-width: 1436px) {
  .footer {
    padding: 60px 0;
  }

  .footer-text {
    text-align: end;
  }

  .social-link {
    justify-content: flex-end;
  }

  .footer-list {
    flex-direction: row;
    justify-content: flex-end;
    gap: 44px;
  }

  .footer-rights {
    text-align: end;
  }
}

/* loader */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(94, 95, 147, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #ccc;
  border-top-color: #eeb22c;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* scroll */

#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 20px;
  border: 1px solid #eeb22c;
  color: #eeb22c;
  background-color: #fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  z-index: 7;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.scroll-svg {
  fill: none;
  stroke: #eeb22c;
}

#scrollTopBtn.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ********************* */

.hidden {
  display: none;
}

.menu-transform {
  transform: translateY(0);
}

.click {
  transform: rotate(180deg);
  background-color: #191d25;
}

.popup-click {
  transform: translateY(130%) translateX(-50%);
}

.overflow {
  overflow: hidden;
}
