/* header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9;
  backdrop-filter: blur(4px);
  padding: 14px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  width: 126px;
}

.navigation {
  display: none;
}

.modal-button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.svg {
  fill: none;
  stroke: #fff;
  transition: stroke 0.3s ease;
}

.navigation-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.navigation-item {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.navigation-item:hover,
.navigation-item:focus {
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: #20f5f7;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, #4b0082, transparent 60%),
    radial-gradient(circle at 80% 50%, #00008b, transparent 60%),
    linear-gradient(135deg, #0a0020, #0a0430, #050018);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 16px;
  padding-top: 200px;
  transform: translateY(-100%);
  transition: transform 1s ease;
  z-index: 8;
}

.modal-navigation-list {
  flex-direction: column;
}

.modal-click {
  transform: translateY(0);
}

@media screen and (min-width: 1437px) {
  .header {
    padding: 27px 0;
  }

  .header-logo {
    width: 208px;
  }

  .navigation {
    display: block;
  }

  .open-modal {
    display: none;
  }
}

/* home */

#home {
  padding-top: 88px;
  padding-bottom: 106px;
  background-image: url(../images/mob.png);
  background-size: cover;
  background-position: center;
}

.home-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 24px;
  line-height: 120%;
  font-variant: all-small-caps;
  text-align: center;
  color: #fff;
  margin-bottom: 38px;
}

.home-text {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 20px;
  line-height: 120%;
  text-align: center;
  color: #fff;
  margin-bottom: 88px;
}

.home-desc {
  margin-bottom: 88px;

  h4 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 22px;
    line-height: 120%;
    text-align: center;
    color: #fff;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    text-align: center;
    color: #fff;
  }
}

.home-link {
  font-family: var(--third-family);
  font-weight: 700;
  font-size: 18px;
  line-height: 133%;
  color: #fff;
  display: block;
  margin: 0 auto;
  text-align: center;
  width: 341px;
  max-width: 1005px;
  border: 3px solid #04b4db;
  border-radius: 20px;
  padding: 16px 32px;
  box-shadow: -5px 5px 10px 0 rgba(170, 241, 255, 0.2);
  background: rgba(4, 180, 219, 0.16);
  transition: border-color 0.3s ease;
}

.home-link:hover {
  border-color: rgb(178, 55, 147);
}

@media screen and (min-width: 1437px) {
  #home {
    padding-top: 180px;
    padding-bottom: 104px;
    background-image: url(../images/puls.png);
  }

  .home-content {
    width: 628px;
    margin: 0 auto;
  }

  .home-title {
    font-size: 42px;
    margin-bottom: 38px;
  }

  .home-text {
    font-size: 32px;
    margin-bottom: 64px;
  }

  .home-desc {
    margin-bottom: 54px;

    h4 {
      font-size: 46px;
    }

    p {
      font-size: 32px;
    }
  }

  .home-link {
    width: 411px;
  }
}

/* data */

.data-list {
  display: flex;
  flex-direction: column;
  gap: 16px;

  li {
    border: 1px solid #fff;
    border-radius: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.1);
  }

  p {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    color: #fff;
    margin-bottom: 16px;
  }

  img {
    width: 100px;
    margin: 0 auto;
    margin-bottom: 16px;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    text-align: center;
    color: #fff;
  }
}

@media screen and (min-width: 768px) {
  .data-list {
    flex-direction: row;
    flex-wrap: wrap;

    li {
      width: calc((100% - 16px) / 2);
    }
  }
}

@media screen and (min-width: 1437px) {
  .data-list {
    gap: 24px;

    li {
      width: calc((100% - 72px) / 4);
    }

    p {
      font-size: 28px;
    }

    img {
      width: 160px;
    }

    span {
      font-size: 22px;
    }
  }
}

/* pulse */

#pulse {
  background-image: url(../images/vawe.png);
  background-position: center;
  background-size: cover;
}

.table {
  margin: 0 auto;
}

/* when */

.when-list {
  display: flex;
  flex-direction: column;
  gap: 16px;

  li {
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 24px;
    box-shadow: -4px 4px 4px 0 rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: flex-start;
    gap: 24px;
  }

  img {
    width: 64px;
    flex-shrink: 0;
  }

  p {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 22px;
    color: #fff;
    margin-bottom: 4px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    color: #fff;
  }
}

@media screen and (min-width: 768px) {
  .when-list {
    flex-direction: row;
    flex-wrap: wrap;

    li {
      width: calc((100% - 16px) / 2);
    }
  }
}

@media screen and (min-width: 1437px) {
  .when-list {
    width: 846px;
    margin: 0 auto;
    gap: 24px;

    li {
      width: calc((100% - 24px) / 2);
    }

    p {
      font-size: 24px;
    }

    span {
      font-size: 22px;
    }
  }
}

/* trusted */

#trusted {
  background-image: url(../images/vawe.png);
  background-position: center;
  background-size: cover;
}

.trusted-list {
  display: flex;
  flex-direction: column;
  gap: 24px;

  div {
    border: 1px solid #fff;
    border-radius: 8px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.2);
  }

  img {
    width: 34px;
    margin: 0 auto;
    margin-bottom: 24px;
  }

  p {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 18px;
    line-height: 167%;
    text-align: center;
    color: #fff;
    margin-bottom: 24px;
  }

  span {
    display: block;
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0.08em;
    color: #ffb5e0;
    text-align: end;
  }
}

@media screen and (min-width: 768px) {
  .trusted-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;

    div {
      width: calc((100% - 24px) / 2);
    }
  }
}

@media screen and (min-width: 1437px) {
  .trusted-list {
    width: 1062px;
    margin: 0 auto;
  }
}

/* thinking */

#thinking {
  background-image: url(../images/blog.jpg);
  background-position: center;
  background-size: cover;
}

.thinking-list {
  display: flex;
  flex-direction: column;
  gap: 24px;

  li {
    border: 1px solid #fff;
    border-radius: 12px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.5);
  }

  img {
    width: 100%;
    margin-bottom: 19px;
  }

  p {
    border-radius: 12px;
    border: 1px solid #fff;
    box-shadow: -4px 4px 4px 0 rgba(0, 0, 0, 0.25);
    background: #050a3a;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    line-height: 144%;
    text-align: center;
    color: #fff;
    padding: 17px;
  }
}

.desc-img {
  display: none;
}

@media screen and (min-width: 768px) {
  .thinking-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;

    li {
      width: calc((100% - 24px) / 2);
    }
  }
}

@media screen and (min-width: 1437px) {
  .desc-img {
    display: block;
  }

  .mob-img {
    display: none;
  }

  .thinking-list {
    gap: 102px;
    width: 921px;
    margin: 0 auto;

    li {
      width: calc((100% - 204px) / 3);
      padding: 16px;
    }

    img {
      margin: 0 auto;
      width: auto;
      margin-bottom: 16px;
    }
  }
}

/* contact */

#contact {
  background: radial-gradient(circle at 20% 50%, #4b0082, transparent 60%),
    radial-gradient(circle at 80% 50%, #00008b, transparent 60%),
    linear-gradient(135deg, #0a0020, #0a0430, #050018);
  background-repeat: no-repeat;
  background-size: cover;
}

.contact-link {
  display: block;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 20px;
  text-align: center;
  color: #fff;
  margin-bottom: 24px;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #04b4db;
  text-decoration: underline;
}

@media screen and (min-width: 1437px) {
  .contact-link {
    font-size: 24px;
  }
}

/* footer */

.footer {
  padding-top: 45px;
  padding-bottom: 16px;
  background-image: url(../images/blog.jpg);
  background-position: center;
  background-size: cover;
}

.footer-mail {
  display: block;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  color: #fff;
  margin-bottom: 54px;
}

.footer-mail:hover {
  color: #04b4db;
  text-decoration: underline;
}

.footer-list {
  display: flex;
  gap: 16px;
  flex-direction: column;
  align-items: center;
  margin-bottom: 54px;

  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  color: #fff;

  a {
    transition: color 0.3s ease;
  }

  a:hover {
    color: #2a9fd6;
    text-decoration: underline;
  }
}

.footer-description {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  color: #fff;
}

@media screen and (min-width: 1437px) {
  .footer {
    padding: 60px 0;
  }

  .footer-container {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
  }

  .footer-mail {
    margin: 0;
  }

  .footer-list {
    flex-direction: row;
    gap: 32px;
    margin: 0;
  }

  .footer-description {
    font-size: 16px;
  }
}

/* cookie popup */

.popup {
  position: fixed;
  z-index: 10;
  width: 100%;
  bottom: 0;
  left: 0;
  padding: 55px 30px;
  background: radial-gradient(circle at 20% 50%, #4b0082, transparent 60%),
    radial-gradient(circle at 80% 50%, #00008b, transparent 60%),
    linear-gradient(135deg, #0a0020, #0a0430, #050018);
  transition: transform 0.5s ease;
}

.popup-text {
  font-family: var(--font3);
  font-weight: 400;
  font-size: 16px;
  text-align: center;
  color: #fff;
  margin-bottom: 56px;
}

.popup-btn {
  border: 3px solid #04b4db;
  border-radius: 20px;
  padding: 16px;
  box-shadow: -5px 5px 10px 0 rgba(170, 241, 255, 0.2);
  background: rgba(4, 180, 219, 0.16);
  width: 302px;
  max-width: 100%;

  font-family: var(--third-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  color: #fff;

  transition: color 0.3s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  box-shadow: -5px 5px 10px 0 rgba(255, 255, 255, 0.2);
  background: #048eb3;
}

.popup-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.popup-click {
  transform: translateY(100%);
}

@media screen and (min-width: 1437px) {
  .popup-text {
    font-size: 18px;
    margin-bottom: 38px;
  }

  .popup-btn {
    font-size: 16px;
  }

  .popup-wrap {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
  }
}
