.main-section {
  position: fixed;
  z-index: 9;
  width: 100%;
  padding: 12px 24px;
  background: var(--steel-gray);
}

.page-nav {
  display: none;
}

.page-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.page-nav-link {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  text-align: center;
  color: var(--interface);
  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(--teal);
}

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border-radius: 4px;
  border: 1px solid var(--teal);
  margin-left: auto;
}

.menu-open-svg {
  stroke: #fafafa;
}

.menu-close-svg {
  stroke: #fafafa;
}

@media screen and (min-width: 1422px) {
  .main-section {
    padding: 28px 80px;
  }

  .page-nav {
    display: block;
  }

  .page-nav-list {
    gap: 40px;
  }

  .page-nav-link {
    font-size: 12px;
    opacity: 0.8;
  }

  .page-nav-link:hover {
    opacity: 1;
  }

  .menu-btn {
    display: none;
  }
}

/* modal  */

.menu {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  z-index: 8;
  width: 100%;
  padding: 80px 20px;
  transform: translateX(100%);
  transition: transform 1s ease;
  background: var(--steel-gray);
}

.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(--graphite);
}

.popup-text {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 14px;
  line-height: 130%;
  text-align: center;
  color: var(--interface);
  margin-bottom: 32px;
}

.popup-btn {
  border-radius: 4px;
  padding: 10px;

  font-family: var(--font-family);
  font-weight: 300;
  font-size: 14px;
  text-align: center;
  color: var(--interface);
  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(--steel-gray);
  color: var(--teal);
}

.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: 70px;
  }
}

/* contact */

.contact-text {
  border-radius: 4px;
  padding: 24px;
  background: linear-gradient(
    90deg,
    rgba(250, 250, 250, 0.8) 0%,
    rgba(51, 56, 66, 0.8) 100%
  );

  font-family: var(--second-family);
  font-weight: 400;
  font-size: 15px;
  text-transform: uppercase;
  color: var(--steel-gray);
  margin-bottom: 40px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-left: 18px;

  li {
    display: flex;
    align-items: center;
    gap: 16px;

    font-family: var(--font-family);
    font-weight: 300;
    font-size: 16px;
    letter-spacing: 0.08em;
    color: var(--interface);
  }

  a:hover {
    text-decoration: underline;
  }
}

@media screen and (min-width: 1422px) {
  .contact-wrap {
    display: flex;
    align-items: center;
  }

  .contact-text {
    max-width: 60%;
    margin: 0;
  }

  .contact-list {
    flex-direction: row;
    justify-content: center;
    gap: 80px;
    margin-top: 80px;
  }
}

/* hero  */

.dashboard {
  padding-top: 68px;
  background-image: url(../img/lines.png);
  background-position: bottom;
  background-size: contain;
  background-repeat: no-repeat;
}

.hero-title {
  font-family: var(--second-family);
  font-weight: 300;
  font-size: 14px;
  line-height: 150%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: right;
  color: var(--teal);
  opacity: 0.8;
  margin-bottom: 24px;
  max-width: 70%;
  margin-left: auto;
}

.hero-sub-title {
  font-family: var(--third-family);
  font-weight: 500;
  font-size: 44px;
  line-height: 120%;
  text-transform: uppercase;
  color: var(--interface);
  opacity: 0.8;
  margin-bottom: 24px;
}

.page-hero-text {
  font-family: var(--second-family);
  font-weight: 100;
  font-size: 12px;
  line-height: 150%;
  letter-spacing: -0.01em;
  text-align: right;
  color: var(--interface);
  margin-bottom: 24px;

  span {
    font-weight: 700;
    color: var(--teal);
  }
}

.cube {
  width: 180px;
  margin: 0 auto;
}

@media screen and (min-width: 1422px) {
  .dashboard {
    padding-top: 96px;
    padding-bottom: 126px;
    position: relative;
  }

  .hero-title {
    font-size: 24px;
    margin-bottom: 80px;
  }

  .hero-sub-title {
    font-size: 72px;
    margin-bottom: 80px;
    max-width: 60%;
    margin-left: auto;
    text-align: end;
  }

  .page-hero-text {
    font-size: 14px;
    max-width: 40%;
    margin-left: auto;
  }

  .cube {
    width: auto;
    margin: 0;
    position: absolute;
    bottom: 80px;
    left: 175px;
  }
}

/* who  */

.cube-wrap {
  border: 1px solid var(--graphite);
  border-radius: 4px;
  padding: 24px 8px;
  margin-bottom: 40px;
}

.cube-title {
  font-family: var(--second-family);
  font-weight: 200;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 32px;
}
.cube-list {
  display: flex;
  flex-direction: column;
  gap: 25px;

  div {
    border: 1px solid var(--teal);
    width: 8px;
    height: 8px;
    box-shadow: 0 0 4px rgba(42, 230, 203, 0.5);
  }

  li {
    display: flex;
    align-items: center;
    gap: 16px;

    font-family: var(--font-family);
    font-weight: 300;
    font-size: 12px;
    color: var(--interface);
    opacity: 0.8;
  }
}

.who-sub {
  font-family: var(--third-family);
  font-weight: 300;
  font-size: 24px;
  line-height: 150%;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(270deg, #333842 0%, #fafafa 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.project-wrap {
  margin-top: 40px;
  background: linear-gradient(
    90deg,
    rgba(250, 250, 250, 0.8) 0%,
    rgba(28, 31, 36, 0.8) 100%
  );
}

.project-list {
  div {
    border: 1px solid var(--steel-gray);
    box-shadow: 0 0 4px rgba(42, 230, 203, 0.5);
  }

  li {
    color: var(--graphite);
  }
}

@media screen and (min-width: 1422px) {
  .who-wrap {
    display: flex;
    align-items: flex-start;
    gap: 80px;

    .sub-title {
      margin: 0;
      width: calc((100% - 160px) / 3);
    }
  }

  .cube-wrap {
    width: calc((100% - 160px) / 3);
    margin: 0;
  }

  .who-sub {
    width: calc((100% - 160px) / 3);
    margin: 0;
  }

  .project-wrap {
    width: 100%;
    margin-top: 80px;
    padding: 24px;
  }

  .project-list {
    width: 100%;
    flex-direction: row;
  }
}

/* cases */

#cases {
  position: relative;
  overflow: hidden;
}

.shape {
  max-width: max-content;
  margin-left: auto;
  margin-bottom: 40px;
}

.cases-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 0 31px;

  div {
    border-radius: 4px;
    padding: 24px;
    background: var(--graphite);
  }

  p {
    font-family: var(--second-family);
    font-weight: 200;
    font-size: 16px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 32px;
  }

  ul {
    padding-left: 25px;
    list-style: disc;
    display: flex;
    flex-direction: column;
    gap: 25px;

    font-family: var(--font-family);
    font-weight: 300;
    font-size: 12px;
    color: var(--interface);
    opacity: 0.8;
  }
}

@media screen and (min-width: 1422px) {
  .cases-wrap {
    display: flex;
    margin-bottom: 80px;
  }

  .cases-list {
    flex-direction: row;
    padding: 0;

    div {
      width: calc((100% - 144px) / 4);
    }
  }
}

/* features */

.cube_small {
  margin: 0 auto;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;

  div {
    padding: 32px;
    border: 1px solid var(--teal);
    border-top: none;
  }

  h4 {
    font-family: var(--second-family);
    font-weight: 200;
    font-size: 16px;
    text-transform: uppercase;
    color: var(--teal);
    text-align: center;
    margin-bottom: 32px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 14px;
    color: var(--interface);
    margin-top: 20px;
  }

  span {
    font-weight: 100;
  }

  ul {
    padding-left: 20px;
    list-style: disc;
  }
}

@media screen and (min-width: 1422px) {
  .features-wrap {
    display: flex;
    align-items: center;
  }

  .cube_small {
    margin-top: 36px;
  }

  .features-list {
    flex-direction: row;
    gap: 0;
    div {
      padding-top: 0;
    }
  }
}

/* methodology */

.methodology-list {
  border-radius: 4px;
  padding: 24px 16px;
  background: var(--graphite);
  margin-bottom: 48px;

  p {
    font-family: var(--second-family);
    font-weight: 200;
    font-size: 16px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 32px;
  }

  ul {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-left: 25px;
    list-style: disc;
  }
}

.methodology-text {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 14px;
  line-height: 149%;
  color: var(--interface);
}

@media screen and (min-width: 1422px) {
  .methodology-wrappper {
    display: flex;
    gap: 48px;
    align-items: flex-start;

    .sub-title {
      width: calc((100% - 24px) / 2);
    }
  }

  .methodology-list {
    width: calc((100% - 24px) / 2);
    padding: 24px 40px;
  }

  .methodology-text {
    font-size: 16px;
  }
}

/* team */

.team-text {
  div {
    padding: 8px;
    border-radius: 70px 0 0 70px;
    border: 1px solid var(--teal);
    border-right: none;
  }

  p {
    padding: 19px 38px;
  }
}

.team-list {
  display: flex;
  flex-direction: column;
  gap: 40px;

  li {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  img {
    width: 120px;
  }

  h4 {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 24px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 12px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    color: var(--interface);
    margin-bottom: 12px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 200;
    font-size: 14px;
    color: var(--interface);
  }
}

@media screen and (min-width: 1422px) {
  .team-wrap {
    display: flex;
    align-items: center;
    gap: 24px;

    .team-text {
      max-width: 50%;
      margin: 0;
      position: static;
      top: auto;
      right: auto;
    }

    .sub-title {
      max-width: 50%;
      margin: 0;
    }
  }

  .team-list {
    flex-direction: row;
    margin-top: 80px;

    li {
      width: calc((100% - 160px) / 5);
      flex-direction: column;
      align-items: flex-start;
      gap: 24px;
    }

    img {
      width: auto;
      margin: 0;
    }
  }
}

/* technology */

.technology-list {
  li {
    font-size: 16px;
  }
}

.technology-text {
  font-family: var(--second-family);
  font-weight: 200;
  font-size: 16px;
  line-height: 160%;
  color: var(--interface);
}

@media screen and (min-width: 1422px) {
  .technology-wrapper {
    display: flex;
  }

  .technology-wrap {
    padding: 24px 80px;
    flex-shrink: 0;
    width: auto;
    margin: 0;
  }

  .technology-list {
    li {
      font-size: 20px;
    }
  }

  .technology-text {
    max-width: 30%;
    transform: translateY(-40px);
  }
}

/* collaborations */

.collaborations-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding-left: 63px;
  position: relative;
  padding-top: 48px;

  li {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 14px;
    color: var(--interface);
  }
}

.pointers {
  position: absolute;
  left: 0;
  bottom: 8px;
  height: 100%;
}
@media screen and (min-width: 1422px) {
  .collaborations-wrap {
    display: flex;
    align-items: flex-start;
    gap: 118px;

    .text {
      position: static;
      top: auto;
      right: auto;
      max-width: 100%;
      margin: 0;
      text-align: start;
      margin-bottom: 20px;
    }

    .sub-title {
      max-width: 30%;
    }
  }

  .collaborations-list {
    li {
      font-size: 20px;
    }
  }
}

/* footer */

.footer {
  padding: 40px 10px;
}

.link-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 43px;
}

.footer-soc-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;

  font-family: var(--font-family);
  font-weight: 300;
  font-size: 14px;
  color: var(--interface);

  a:hover {
    text-decoration: underline;
  }
}

.footer-link {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 14px;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: var(--interface);
}

.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;
  color: var(--interface);
  text-align: center;
}

@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;
  }

  .link-wrapper {
    margin: 0;
  }
}

/* ********************* */

.hidden {
  display: none;
}

.menu-transform {
  transform: translateY(0);
}

.click {
  transform: rotate(180deg);
}

.popup-click {
  transform: translateY(130%) translateX(-50%);
}

.overflow {
  overflow: hidden;
}
