.main-section {
  position: fixed;
  z-index: 9;
  width: 100%;
  padding: 12px 24px;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  font-family: var(--third-family);
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0.04em;
  color: var(--white);

  span {
    color: var(--accent);
  }
}

.page-nav {
  display: none;
}

.page-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.page-nav-link {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 16px;
  text-align: center;
  color: var(--white);
  padding-bottom: 8px;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease, opscity 0.3s ease;
}

.page-nav-link:hover {
  border-color: var(--accent);
}

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border-radius: 4px;
  border: 1px solid var(--accent);
}

.menu-open-svg {
  stroke: #efefef;
}

.menu-close-svg {
  stroke: #efefef;
}

@media screen and (min-width: 1422px) {
  .main-section {
    padding: 28px 80px;
  }

  .header-logo {
    font-size: 24px;
  }

  .page-nav {
    display: block;
  }

  .page-nav-link {
    opacity: 0.7;
  }

  .page-nav-link:hover {
    opacity: 1;
    border-color: var(--accent);
  }

  .menu-btn {
    display: none;
  }
}

/* modal  */

.menu {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  z-index: 8;
  width: 100%;
  padding: 40px 20px;
  padding-top: 100px;
  transform: translateX(100%);
  transition: transform 1s ease;
  background: var(--dark);
}

.menu-nav-list {
  flex-direction: column;
}

/* popup */

.page-popup {
  position: fixed;
  z-index: 10;
  width: 96%;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.4s ease;
  padding: 40px;
  background: var(--dark);
}

.popup-text {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 14px;
  line-height: 130%;
  text-align: center;
  color: var(--light);
  margin-bottom: 32px;
}

.popup-btn {
  border-radius: 2px;
  padding: 10px;

  font-family: var(--font-family);
  font-weight: 200;
  font-size: 14px;
  text-align: center;
  color: var(--light);
  text-transform: uppercase;
  text-decoration: underline;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  background: var(--light);
  color: var(--dark);
}

.popup-wrap {
  display: flex;
  justify-content: center;
  gap: 20px;
}

@media screen and (min-width: 1422px) {
  .page-popup {
    padding: 40px;
  }

  .popup-wrap {
    flex-direction: row;
    gap: 80px;
  }
}

/* hero  */

.dashboard {
  background: linear-gradient(180deg, #727272 0%, #1a1a1a 80%);
  padding-top: 88px;
}

.hero-title {
  font-family: var(--third-family);
  font-weight: 600;
  font-size: 70px;
  line-height: 130%;
  background: linear-gradient(90deg, #efefef 0%, rgba(183, 183, 183, 0.3) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.page-hero-text {
  font-family: var(--second-family);
  font-weight: 300;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: -0.04em;
  color: var(--white);
}

.hero-wrap {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
}

.line {
  width: 100%;
  margin-bottom: 24px;
}

.hero-sub-title {
  font-family: var(--third-family);
  font-weight: 600;
  font-size: 32px;
  line-height: 130%;
  letter-spacing: 0.04em;
  color: var(--white);
}

@media screen and (min-width: 1422px) {
  .dashboard {
    padding-top: 158px;
  }

  .hero-title {
    font-size: 100px;
    margin: 0;
    flex-shrink: 0;
  }

  .hero-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 200px;
  }

  .hero-wrap {
    margin: 0;
    transform: translateY(100px);
  }

  .line {
    margin-bottom: 100px;
  }

  .hero-sub-title {
    font-size: 40px;
  }
}

/* about  */

.about-text {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 16px;
  line-height: 140%;
  color: var(--light);
  margin-bottom: 40px;
}

.about-sub-title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 130%;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 27px;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 16px;

  li {
    display: flex;
    align-items: center;
    gap: 12px;

    font-family: var(--font-family);
    font-weight: 300;
    font-size: 14px;
    line-height: 130%;
    color: var(--light);
  }
}

.list-svg {
  fill: none;
  stroke: #b54211;
  transform: rotate(90deg);
}

.about-description {
  font-family: var(--font-family);
  font-weight: 200;
  font-size: 22px;
  line-height: 120%;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-align: right;
  background: linear-gradient(270deg, #b7b7b7 0%, #363636 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 48px 0;
}

@media screen and (min-width: 1422px) {
  #about {
    position: relative;
  }

  .about-wrap {
    max-width: 50%;
  }

  .about-text {
    margin-bottom: 80px;
    max-width: 50%;
  }

  .about-sub-title {
    font-size: 24px;
  }

  .about-description {
    font-size: 32px;
    max-width: 519px;
    position: absolute;
    top: 454px;
    right: 80px;
  }
}

/* projects */

.projects-text {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 14px;
  line-height: 130%;
  color: var(--light);
  margin-bottom: 55px;
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 48px;

  li {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 14px;
    line-height: 130%;
    color: var(--light);
  }

  p {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 14px;
    line-height: 130%;
    color: var(--light);
  }

  img {
    margin: 0 auto;
    margin-bottom: 24px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
  }

  img:hover {
    filter: grayscale(0%);
  }

  h4 {
    font-family: var(--font-family);
    font-weight: 100;
    font-size: 44px;
    line-height: 130%;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 18px;
  }
}

@media screen and (min-width: 1422px) {
  .projects-list {
    gap: 100px;
  }

  .projects-list li {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 24px;

    ul {
      li {
        display: block;
      }
    }
  }
}

/* design */

.design-text {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 14px;
  line-height: 140%;
  color: var(--light);
  margin-bottom: 48px;
}

.design-sub-title {
  font-family: var(--font-family);
  font-weight: 100;
  font-size: 20px;
  line-height: 140%;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--light);
  margin-top: 48px;

  span {
    background: linear-gradient(90deg, #efefef 0%, #b54211 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

@media screen and (min-width: 1422px) {
  .design-text {
    font-size: 16px;
    max-width: 50%;
  }

  .design-wrap {
    display: flex;
    align-items: center;

    .line {
      width: 50%;
      flex-shrink: 0;
      margin: 0;
    }
  }
}

/* team */

.team-list {
  display: flex;
  flex-direction: column;
  align-items: center;

  li {
    width: 420px;
    max-width: 100%;
    position: relative;
    cursor: pointer;
  }

  img {
    transition: filter 0.3s ease;
  }

  div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    padding: 24px;
    padding-top: 58px;
    width: 260px;
    height: 260px;
    background: var(--dark);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
  }

  h4 {
    font-family: var(--font-family);
    font-weight: 200;
    font-size: 32px;
    line-height: 130%;
    letter-spacing: -0.04em;
    color: var(--white);
    margin-bottom: 16px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 16px;
    line-height: 130%;
    color: var(--light);
    margin-bottom: 16px;
  }
  span {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 12px;
    line-height: 130%;
    color: var(--white);
  }

  li:hover {
    div {
      opacity: 1;
    }

    img {
      filter: grayscale(100%);
    }
  }
}

@media screen and (min-width: 1422px) {
  .team-list {
    align-items: normal;
    justify-content: center;
    width: 1260px;
    margin: 0 auto;
    max-width: 100%;
    flex-direction: row;
    flex-wrap: wrap;

    li {
      width: calc(100% / 3);
    }
  }
}

/* stack */

.stack-list {
  display: flex;
  flex-direction: column;
  gap: 40px;

  div {
    border: 1px solid var(--medium);
    border-radius: 4px;
    padding: 41px 21px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 200;
    font-size: 44px;
    line-height: 130%;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 24px;
  }
}

@media screen and (min-width: 1422px) {
  #stack {
    padding-bottom: 282px;
  }
  .stack-list {
    flex-direction: row;
    gap: 52px;

    div {
      width: calc((100% - 104px) / 3);
    }
  }

  .stack2 {
    transform: translateY(110px);
  }

  .stack3 {
    transform: translateY(220px);
  }
}

/* signal */

.signal-text {
  font-family: var(--font-family);
  font-weight: 200;
  font-size: 19px;
  line-height: 130%;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #b7b7b7 0%, #585858 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 48px;
}

.signal-list-title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 130%;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}

.signal-sub-title {
  font-family: var(--third-family);
  font-weight: 600;
  font-size: 44px;
  line-height: 130%;
  letter-spacing: 0.12em;
  color: var(--light);
  opacity: 0.4;
  margin: 48px 0;
}

.signal-footer {
  font-family: var(--second-family);
  font-weight: 400;
  color: var(--white);
  font-size: 14px;
  line-height: 150%;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 48px;
}

@media screen and (min-width: 1422px) {
  .signal-wrapper1 {
    display: flex;
    align-items: flex-end;
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: 80px;
    margin-bottom: 100px;
  }
  .signal-sub-title {
    margin: 0;
    font-size: 54px;
  }

  .signal-list {
    flex-direction: row;
    justify-content: space-between;
  }

  .signal-footer {
    margin-top: 80px;
    text-align: end;
  }
}

/* contact  */

.contact-text {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 14px;
  line-height: 130%;
  color: var(--white);
  margin-bottom: 40px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;

  li {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  a {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 12px;
    line-height: 130%;
    color: var(--white);
  }

  a:hover {
    text-decoration: underline;
  }
}
@media screen and (min-width: 1422px) {
  .contact-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 133px;
  }

  .contact-list {
    flex-direction: row;
    gap: 44px;
    flex-shrink: 0;

    a {
      font-size: 14px;
    }
  }

  .contact-text {
    font-size: 16px;
  }
}

/* footer */

.footer {
  padding: 40px 10px;
}

.footer-soc-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 43px;

  a {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    color: var(--light);
  }

  a:hover {
    text-decoration: underline;
  }
}

.footer-link {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  text-decoration-skip-ink: none;
  color: var(--light);
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

.footer-text {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--light);
}

@media screen and (min-width: 1439px) {
  .footer {
    padding: 40px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
  }

  .footer-list {
    flex-direction: row;
    margin: 0;
  }

  .footer-text {
    margin: 0;
  }

  .footer-soc-link {
    margin: 0;
  }
}

/* ********************* */

.hidden {
  display: none;
}

.menu-transform {
  transform: translateY(0);
}

.click {
  transform: rotate(180deg);
}

.popup-click {
  transform: translateY(130%) translateX(-50%);
}

.overflow {
  overflow: hidden;
}
