.main-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9;
  padding: 16px 0;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.55);
}

.page-nav {
  display: none;
}

.page-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.page-nav-link {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  color: #080302;
  padding: 8px;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.page-nav-link:hover {
  border-color: #080302;
}

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.menu-svg {
  fill: none;
  stroke: #2b2a32;
}

#built-link {
  display: none;
}

@media screen and (min-width: 1436px) {
  .main-section {
    padding: 28px 0;
  }

  .header-container {
    position: relative;
  }

  .page-nav {
    display: block;
  }

  .menu-btn {
    display: none;
  }

  #built-link {
    display: block;
  }
}

/* modal  */

.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 174px 0;

  z-index: 8;
  backdrop-filter: blur(4px);
  background: #d5d7f0;
  transform: translateX(100%);
  transition: transform 1s ease;
}

.menu-container {
  padding-left: 60px;
}

.menu-nav-list {
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
}

/* popup */

.page-popup {
  position: fixed;
  z-index: 10;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid #2b2a32;
  border-radius: 20px;
  padding: 20px;
  transition: transform 0.4s ease;
  box-shadow: 0 14px 42px 0 rgba(8, 15, 52, 0.06);
  background: #d5d7f0;
}

.popup-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 187%;
  color: #2b2a32;
  margin-bottom: 37px;

  a {
    text-decoration: underline;
    text-decoration-skip-ink: none;
  }
}

.popup-btn {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 112%;
  color: #2b2a32;
  display: block;
  text-align: center;
  border: 1px solid #2b2a32;
  border-radius: 56px;
  padding: 18px 26px;
  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: #2b2a32;
  color: #d5d7f0;
}

.popup-wrap {
  display: flex;
  justify-content: center;
  gap: 18px;
}

@media screen and (min-width: 1436px) {
  .page-popup {
    padding: 52px 138px;
  }

  .popup-text {
    margin: 0;
    font-size: 20px;
  }

  .popup-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
  }

  .popup-wrap {
    flex-shrink: 0;
  }
}

/* hero  */

.dashboard {
  padding-top: 121px;
  padding-bottom: 122px;
  background: url(../img/home-image.png), linear-gradient(180deg, #9989d9 0%);
  background-size: cover;
}

.page-hero-title {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 32px;
  line-height: 133%;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  text-shadow: 2px 1px 1px #2b2a32;
  margin-bottom: 22px;
}

.page-hero-text {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 24px;
  line-height: 133%;
  text-align: center;
  color: #fff;
  margin-bottom: 22px;
}

.page-hero-description {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  line-height: 144%;
  text-align: center;
  color: #fff;
  margin-bottom: 42px;
}

.page-hero-link {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  text-align: center;
  display: block;
  width: 248px;
  margin: 0 auto;
  border: 2px solid #fff;
  border-radius: 22px;
  padding: 22px;

  background: linear-gradient(90deg, #603ded 0%, #9989d9 100%);
  transition: box-shadow 0.3s ease;
}

.page-hero-link:hover {
  box-shadow: 0 0 1px 0 #fff, 0 0 1px 0 #fff, 0 0 5px 0 #fff, 0 0 9px 0 #fff,
    0 0 16px 0 #fff, 0 0 28px 0 #fff;
}

@media screen and (min-width: 1436px) {
  .dashboard {
    padding-top: 232px;
    padding-bottom: 232px;
  }

  .page-hero-title {
    font-size: 48px;
  }

  .page-hero-text {
    font-size: 28px;
    max-width: 1050px;
    margin: 0 auto;
    margin-bottom: 22px;
  }

  .page-hero-description {
    font-size: 18px;
    max-width: 1050px;
    margin: 0 auto;
    margin-bottom: 42px;
  }
}

/* solutions */

.solutions-slide {
  border-radius: 22px;
  padding: 18px;
  backdrop-filter: blur(32px);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.25) 0%,
    #603ded 100%
  );

  p {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    margin-top: 22px;
    margin-bottom: 8px;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    color: #fff;
  }
}

.swiper-btn {
  width: 80px;
  transition: opacity 0.25s ease;
}

.swiper-btn:hover {
  opacity: 0.8;
}

.btn-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 32px;
}

.solutions-left {
  transform: scaleX(-1);
}

@media screen and (min-width: 1436px) {
  .solutions-swiper {
    width: 940px;
  }
}

/* designed-list */

#designed {
  background: linear-gradient(360deg, #2b2a32 0%, #0f0b2f 100%);
}
.designed-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.designed-item-title {
  margin-top: 16px;
  margin-bottom: 4px;
  padding-top: 22px;
  border-top: 2px solid #fff;

  font-family: var(--second-family);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
}

.designed-item-text {
  display: block;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  text-align: center;
  color: #fff;
}

@media screen and (min-width: 768px) {
  .designed-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .designed-item {
    width: calc((100% - 22px) / 2);
  }
}

@media screen and (min-width: 1436px) {
  .designed-list {
    width: 840px;
    margin: 0 auto;
    gap: 40px;
  }

  .designed-item {
    width: calc((100% - 40px) / 2);
  }
}

/* studio */

#studio {
  background: linear-gradient(180deg, #2b2a32 0%, #0d082e 100%);
  padding-bottom: 289px;
  background-image: url(../img/studio.png);
  background-position: bottom right;
  background-size: 500px;
  background-repeat: no-repeat;
}

.studio-text {
  max-width: 623px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 144%;
  color: #fff;
  margin-bottom: 40px;
}

.studio-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 606px;
  max-width: 100%;

  li {
    padding-top: 22px;
    border-top: 2px solid #fff;

    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
  }
}

@media screen and (min-width: 1436px) {
  #studio {
    padding-bottom: 100px;
    background-size: auto;
  }
}

/* form */

#form {
  background: url(../img/form.png),
    linear-gradient(180deg, #2b2a32 0%, #0d082e 100%);
  background-repeat: no-repeat;
  background-size: contain, cover;
  background-position: bottom, center;
  padding-bottom: 127px;
}

.form-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 144%;
  color: #fff;
  margin-bottom: 32px;
}

.form-title {
  border-radius: 12px;
  padding: 18px 32px;
  background: #9989d9;
  max-width: 276px;
  margin: 0 auto;

  p {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 16px;
    text-transform: uppercase;
    color: #1c1930;
    margin-bottom: 6px;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    color: #1c1930;
  }
}

@media screen and (min-width: 1436px) {
  #form {
    padding-bottom: 293px;
  }

  .form-text {
    margin-bottom: 50px;
  }

  .form-title {
    max-width: 424px;
  }
}

/* built */

#built {
  padding-bottom: 490px;
  background-image: url(../img/mask-mobile.png);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
}

.built-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 144%;
  color: #fff;
  margin-bottom: 32px;
}

.built-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

@media screen and (min-width: 1436px) {
  #built {
    background-size: contain;
    background-image: url(../img/mask-desctop.png);
    background-position: right;
    padding-bottom: 82px;
    padding-top: 82px;
  }
  .built-container {
    display: flex;
    align-items: center;
    gap: 134px;
  }

  .built-text {
    max-width: 553px;
  }

  .built-list {
    align-items: flex-start;
  }
}

/* contact  */

#contact {
  background: linear-gradient(180deg, #2b2a32 0%);
}

.contact-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 144%;
  color: #fff;
  margin-bottom: 12px;
}

.contact-mail {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;

  img {
    width: 20px;
    flex-shrink: 0;
  }

  a {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 144%;
    text-decoration-skip-ink: none;
    color: #fff;
  }

  a:hover {
    text-decoration: underline;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 500px;
  flex-shrink: 0;
  max-width: 100%;
  input,
  textarea {
    border: none;
    border-bottom: 1px solid #fff;
    padding: 0px 18px 22px 18px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 186%;
    color: #fff;
    resize: none;
    background: none;
    outline: none;
    width: 100%;
  }
}

.input-group input::placeholder,
.input-group textarea::placeholder {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 186%;
  color: #fff;
}

.submit-btn {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 22px;
  padding: 22px;
  display: block;
  margin: 0 auto;
  text-align: center;
  width: 133px;
  background: linear-gradient(90deg, #603ded 0%, #9989d9 100%);
  transition: box-shadow 0.3s ease;
}

.submit-btn:hover {
  box-shadow: 0 0 1px 0 #fff, 0 0 1px 0 #fff, 0 0 5px 0 #fff, 0 0 9px 0 #fff,
    0 0 16px 0 #fff, 0 0 28px 0 #fff;
  background: linear-gradient(90deg, #603ded 0%, #9989d9 100%);
}

@media screen and (min-width: 1436px) {
  .contact-container {
    display: flex;
    align-items: center;
    gap: 187px;
    flex-direction: row-reverse;
  }
}

/* footer */

.footer {
  padding: 42px 0;
  background: #0f0b2f;
}

.footer-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  color: #fff;
  margin-bottom: 12px;
}

.footer-mail-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 25px;
}

.linkedin {
  display: block;
  width: 25px;
  transition: transform 0.3s ease;
}
.linkedin:hover {
  transform: scale(1.2);
}

.footer-list {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 18px;

  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  color: #fff;

  a:hover {
    text-decoration: underline;
  }
}

@media screen and (min-width: 1436px) {
  .footer {
    padding: 70px 0;
  }

  .footer-list {
    flex-direction: row;
    justify-content: center;
    gap: 22px;
  }
}

/* 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: #9989d9;
  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 #9989d9;
  background-color: #fff;
  color: #9989d9;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  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;
}

#scrollTopBtn.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ********************* */

.hidden {
  display: none;
}

.menu-transform {
  transform: translateX(0);
}

.click {
  transform: rotate(135deg);
}

.popup-click {
  transform: translateY(130%) translateX(-50%);
}

.overflow {
  overflow: hidden;
}
