/* header */

.header {
  position: fixed;
  top: 8px;
  left: 0;
  width: 100%;
  padding: 22px 0;
  box-shadow: 4px 4px 42px var(--cddb00);
  background: #060606;
  z-index: 9;
}

.navigation {
  display: none;
}

.open-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.close-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.svg {
  fill: #fff;
  stroke: #fff;
}

.navigation-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.navigation-item {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  line-height: 150%;
  color: #fff;
  transition: color 0.3s ease;
}

.navigation-item:hover {
  color: var(--cddb00);
}

.modal {
  position: fixed;
  top: 96px;
  left: 50%;
  z-index: 8;
  padding: 28px;
  padding-left: 80px;
  box-shadow: 4px 4px 42px var(--cddb00);
  background: #060606;
  transform: translateY(-150%) translateX(-50%);
  transition: transform 1s ease;
  z-index: 8;
}

.modal-navigation-list {
  flex-direction: column;
  align-items: flex-start;
}

.modal-click {
  transform: translateY(0) translateX(-50%);
}

@media screen and (min-width: 1439px) {
  .header {
    top: 20px;
    padding: 28px 0;
  }

  .navigation {
    display: block;
  }

  .open-modal {
    display: none;
  }
}

/* home */

#home {
  background-image: url(../images/paint.png), url(../images/nome.png);
  background-position: center;
  background-size: auto, cover;
  background-repeat: no-repeat;
  padding-top: 124px;
  padding-bottom: 402px;

  position: relative;
  overflow: hidden;
}

.home-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 48px;
  line-height: 117%;
  text-align: center;
  color: var(--00d8bf);
  text-shadow: 3px 5px 4px #00737e;
  margin-bottom: 32px;
}
.home-description {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 24px;
  line-height: 133%;
  text-align: center;
  color: #fff;
  margin-bottom: 16px;
}

.home-text {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 18px;
  line-height: 156%;
  text-align: center;
  color: #fff;
  margin-bottom: 32px;
}

.home-link {
  display: block;
  width: 335px;
  max-width: 100%;
  padding: 7px;
  text-align: center;
  border: 2px solid #cddb00;

  margin: 0 auto;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 18px;
    line-height: 156%;
    color: #fff;
    padding: 14px;
    background-color: #060606;
    box-shadow: 4px 4px 42px var(--cddb00);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }
}

.home-link:hover {
  border-color: #00d8bf;
  p {
    box-shadow: 4px 4px 42px var(--00d8bf);
  }
}

.hero-image {
  position: absolute;
  bottom: -81px;
  left: 50%;
  width: 465px;
  max-width: max-content;
  transform: translateX(-45%);
}

@media screen and (min-width: 1439px) {
  #home {
    padding-top: 100px;
    padding-right: 100px;
    padding-bottom: 0;
  }

  .home-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
    padding-left: 0;
  }

  .hero-image {
    position: static;
    bottom: auto;
    left: auto;
    max-width: 100%;
    width: 700px;
    flex-shrink: 0;
    transform: translateX(0);
  }

  .home-title {
    font-size: 68px;
    text-align: start;
  }

  .home-description {
    font-size: 28px;
    text-align: start;
  }

  .home-text {
    font-size: 20px;
    text-align: start;
  }

  .home-link {
    width: 466px;
    margin: 0;
    p {
      font-size: 24px;
      padding: 28px;
    }
  }
}

/* codex */

#codex {
  background-image: url(../images/cloud.png);
  background-position: top center;
  background-repeat: no-repeat;
  padding-bottom: 0;
}

.codex-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.codex-item {
  display: flex;
  align-items: center;
  gap: 19px;

  p {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 16px;
    line-height: 150%;
    color: #fff;
  }

  span {
    font-weight: 700;
  }
}

.codex-image {
  width: 375px;
  margin: 0 auto;
  margin-top: 20px;
}

@media screen and (min-width: 1439px) {
  #codex {
    background-position: top left;
  }
  .codex-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding-right: 0;

    .main-title,
    .main-description {
      text-align: start;
    }
  }

  .codex-image {
    width: 750px;
    margin: 0;
    flex-shrink: 0;
  }

  .codex-item {
    p {
      font-size: 18px;
    }
  }
}

/* interface */

.main-banner {
  margin: 0 auto;
  width: 100%;
  margin-bottom: 36px;
}

.interface-text {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  color: #fff;
  margin-bottom: 28px;
}

.interface-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.interface-item {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  color: #fff;
}

@media screen and (min-width: 1439px) {
  .interface-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px 108px;
  }

  .interface-text {
    font-size: 18px;
    line-height: 156%;
    text-align: center;
    margin-bottom: 36px;
  }

  .interface-item {
    width: calc((100% - 108px) / 2);
    font-size: 18px;
  }
}

/* strategic */

#strategic {
  padding-bottom: 0;
  background-image: url(../images/cloud.png);
  background-position: top 300px center;
  background-repeat: no-repeat;
}

.sub-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 18px;
  line-height: 156%;
  text-align: center;
  color: var(--00d8bf);
  margin-bottom: 36px;
}

.strategic-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.strategic-item {
  border-radius: 20px;
  padding: 24px;
  width: 335px;
  max-width: 100%;
  min-height: 343px;
  backdrop-filter: blur(10px);
  background: linear-gradient(
    180deg,
    rgba(30, 8, 121, 0.5) 0%,
    rgba(78, 0, 76, 0.5) 100%
  );

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    color: #fff;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #fff;
  }
}

.main-image {
  margin: 0 auto;
  margin-bottom: 16px;
}

.diagramm {
  margin: 0 auto;
  width: 100%;
  margin-bottom: 16px;
}

.strategic-image {
  width: 375px;
  margin: 0 auto;
  margin-top: 28px;
}

@media screen and (min-width: 1439px) {
  #strategic {
    background-position: top 200px right;
  }
  .title-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;

    .main-title,
    .main-description {
      text-align: start;
      margin: 0;
    }
  }

  .sub-title {
    font-size: 24px;
    text-align: start;
    margin-bottom: 40px;
  }

  .strategic-list {
    width: 736px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 44px;
    flex-shrink: 0;
  }

  .strategic-item {
    width: calc((100% - 44px) / 2);
  }

  .strategic-wrapper {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
    justify-content: center;
    padding-left: 0;
    padding-right: 88px;
  }

  .strategic-image {
    width: 704px;
    margin: 0;
  }
}

/* terminal */

.terminal-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.terminal-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 23px;

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    text-align: center;
    color: var(--cddb00);
  }
}

.terminal-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 33px;

  img {
    width: 48px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    line-height: 140%;
    text-align: center;
    color: #fff;
  }
}

@media screen and (min-width: 1439px) {
  .terminal-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 88px 108px;
  }

  .terminal-item {
    width: calc((100% - 108px) / 2);
    gap: 36px;

    p {
      font-size: 24px;
    }
  }

  .item2 {
    transform: translateY(88px);
  }

  .terminal-wrapper {
    margin-top: 124px;
    gap: 48px;

    img {
      width: auto;
    }

    p {
      font-size: 28px;
    }
  }
}

/* features */

#features {
  padding-bottom: 0;
  background: linear-gradient(180deg, #060606 0%, #00051f 100%);
}

/* gallery */

.gallery-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  position: relative;
}

.group1 {
  position: absolute;
  top: 0;
  right: 0;
  transform: translateX(50%) translateY(-50%) scaleX(-1);
  width: 60px;
}

.group2 {
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translateX(-50%) translateY(50%);
  width: 60px;
}

@media screen and (min-width: 1439px) {
  .gallery-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 52px;
    justify-content: center;

    li {
      width: calc((100% - 52px) / 2);
    }
  }

  .group1 {
    top: 0;
    right: 0;
    transform: translateX(50%) translateY(-50%) scaleX(-1);
    width: auto;
  }

  .group2 {
    bottom: 0;
    left: 0;
    width: auto;
  }
}

/* footer */

.footer {
  padding: 40px 10px;
  background: #020c38;
}

.footer-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
  gap: 2px;
}

.footer-link {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 15px;
  line-height: 150%;
  text-align: center;
  color: #fff;
}

.footer-description {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 10px;
  line-height: 160%;
  color: #fff;
  text-align: center;
}

@media screen and (min-width: 1439px) {
  .footer {
    padding: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 290px;
  }

  .footer-list {
    margin: 0;
  }

  .footer-link {
    font-size: 16px;
  }
}

/* cookie popup */

.popup {
  position: fixed;
  z-index: 10;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  padding: 32px;

  border: 1px solid #d9dbe9;
  border-radius: 20px;
  box-shadow: 0 14px 42px rgba(8, 15, 52, 0.06);
  background: linear-gradient(180deg, #060606 0%, #00051f 100%);

  transition: transform 0.5s ease;
}

.popup-close {
  position: absolute;
  top: 24px;
  right: 24px;
}

.popup-svg {
  stroke: #cddb00;
  transition: stroke 0.3s ease;
}
.popup-svg:hover {
  stroke: #170f49;
}

.popup-image {
  margin: 0 auto;
  margin-bottom: 11px;
}

.popup-text {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #fff;
  margin-bottom: 32px;
}

.popup-link {
  color: var(--00d8bf);
  transition: color 0.3s ease;
}

.popup-link:hover {
  color: var(--cddb00);
}

.popup-btn {
  border: 1px solid var(--cddb00);
  border-radius: 56px;
  padding: 18px 28px;

  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  color: var(--cddb00);

  display: flex;
  align-items: center;
  justify-content: center;
  width: 196px;
  gap: 6px;

  box-shadow: 0 4px 8px 0 rgba(74, 58, 255, 0.08);
  background: linear-gradient(180deg, #060606 0%, #00051f 100%);
  transition: color 0.3s ease, background-color 0.2s ease;

  svg {
    fill: var(--cddb00);
    transition: fill 0.3s ease;
  }
}

.popup-btn:hover {
  color: #060606;
  background: #000;
  box-shadow: 0 3px 12px 0 rgba(74, 58, 255, 0.18);
  background: var(--00d8bf);
  border-color: var(--00d8bf);

  svg {
    fill: #060606;
  }
}

.popup-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}

.popup-click {
  transform: translateY(120%) translateX(-50%);
}

@media screen and (min-width: 1439px) {
  .popup {
    padding: 40px;
    padding-right: 84px;
    display: flex;
    align-items: center;
  }
  .popup-image {
    margin: 0;
    margin-right: 16px;
  }

  .popup-text {
    font-size: 18px;
    margin: 0;
    text-align: start;
  }
  .popup-wrap {
    flex-direction: row;
    gap: 24px;
    margin-left: 120px;
  }
}
