HEX
Server: Apache/2
System: Linux cp07.iserverteam.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: fliyingp (1085)
PHP: 7.4.33
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/fliyingp/domains/fliyingpigeon.hk/public_html/wp-content/themes/ocean-theme/header.scss
.header__upper.opened .container {
	max-width: 100%;
	padding-left: 48px;
	padding-right: 48px;
}
.header {
  background: #001c36;
  position: relative;
  position: sticky;
  top: -130%;
  z-index: 999;
  opacity: 0;
  transform: translateY(-20px);
  transition: 0.3s ease;

  &.visible {
    top: 0;
    opacity: 1;
    transform: translateY(0);
  }

  #exitBtn {
    svg {
      width: 16px;
      height: 16px;
    }
  }

  &__upper {
    background: #001c36;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    height: fit-content;
    z-index: 2;
    transform: translateY(-130%);
    transition: 0.3s ease;

    &.opened {
      max-width: 100vw;
      transform: translateY(0);
      max-height: 100vh;
      overflow: scroll;
    }
  }

  &__upper-head-left {
    display: flex;
    align-items: center;
    gap: 64px;
	  width: calc(20% - 48px);
  }

  &__upper-lang {
    font-family: Geist;
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0%;
    color: #00284e;

    &.current {
      color: #fff;
    }
  }

  &__upper-exit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 18px;
    border: 1px solid #90a4aea6;
    border-radius: 30px;
  }

  &__upper-lang-list {
    display: flex;
    align-items: center;
    gap: 32px;

    .header-lang-list-item {
      font-family: Geist;
      font-weight: 400;
      font-size: 14px;
      line-height: 130%;
      letter-spacing: 0%;
      color: #00284e;
      text-decoration: none;
      text-transform: lowercase;

      &.active {
        color: #fff;
      }
    }
  }

  &__upper-head {
    display: flex;
    flex-flow: row;
    align-items: center;
    gap: 64px;
    margin-bottom: 80px;

    svg {
      width: 100%;
      height: auto;
    }
  }

  &__upper-body {
    display: flex;
    flex-flow: row;
  }

  &__upper-menu {
    width: 20%;
    padding-right: 32px;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    padding-bottom: 80px;
  }

  &__upper-menu-link {
    display: flex;
    flex-flow: row;
    gap: 8px;
    font-family: Geist;
    font-weight: 300;
    font-size: 28px;
    line-height: 110.00000000000001%;
    letter-spacing: 0px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    align-items: center;
  }

  &__upper-menu-list {
    display: flex;
    flex-flow: column;
    gap: 14px;
  }

  &__upper-services,
  &__upper-projects {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    width: 30%;
    padding: 0 48px 80px 32px;
    border-left: 1px solid #ffffff1f;
  }

  &__upper-projects {
    border-right: 1px solid #ffffff1f;
  }

  &__upper-contacts {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    width: 20%;
    padding-left: 32px;
    gap: 104px;
    padding-bottom: 80px;
  }

  &__upper-social {
    display: flex;
    gap: 8px;
    img {
      width: 40px;
      height: 40px;
    }
  }

  &__upper-contacts-top {
    display: flex;
    flex-flow: column;
    gap: 28px;
  }

  &__upper-phone {
    font-family: Geist;
    font-weight: 300;
    font-size: 28px;
    line-height: 110.00000000000001%;
    letter-spacing: 0px;
    text-align: left;
    color: #f0f2f5;
    text-decoration: none;
  }

  &__upper-consult-btn {
    display: flex;
    gap: 8px;
    align-items: center;
    font-family: Geist;
    font-weight: 500;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0px;
    text-align: center;
    width: fit-content;
    color: #fff;
    border: 1px solid #90a4aea6;
    border-radius: 30px;
    padding: 10px 22px;
    cursor: pointer;
  }

  &__upper-contacts-link {
    display: flex;
    flex-flow: row;
    gap: 8px;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    font-family: Geist;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: 0.5px;
    text-align: left;
  }

  &__upper-contacts-bottom {
    display: flex;
    flex-flow: column;
    gap: 8px;
  }

  &__upper-service-link {
    font-family: Geist;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0px;
    color: #94a9b5;
    text-decoration: none;
  }

  &__upper-services-list {
    display: flex;
    flex-flow: column;
    gap: 8px;
  }

  &__upper-projects-list {
    display: flex;
    flex-flow: column;
    gap: 8px;
  }

  & > .container {
    display: flex;
    justify-content: space-between;
    // gap: 150px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  &__right {
    display: flex;
    align-items: center;
    gap: 36px;
  }

  &__menu-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: Geist;
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0%;
    color: #94a9b5;
    cursor: pointer;
  }

  &__left {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  &__consultation {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 22px;
    font-family: Geist;
    font-weight: 500;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0px;
    text-align: center;
    color: #fff;
    cursor: pointer;
    border: 1px solid#90a4aea6;
    border-radius: 30px;
  }

  &__lang-current {
    padding-left: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-family: Geist;
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0%;
    color: #fff;
    cursor: pointer;
    position: relative;
    text-transform: lowercase;
  }

  &__lang-list {
    position: absolute;
    top: 0;
    transform: translateY(50%);
    padding: 8px;
    border-radius: 4px;
    background: #94a9b5;
    display: flex;
    flex-flow: column;
    gap: 8px;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;

    &.opened {
      opacity: 1;
      pointer-events: all;
    }

    .header-lang-list-item {
      font-family: Geist;
      font-weight: 400;
      font-size: 14px;
      line-height: 130%;
      letter-spacing: 0%;
      text-decoration: none;
      color: #001c36;
    }
  }

  &__phone {
    display: flex;
    gap: 4px;
    align-items: center;
    font-family: Geist;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: -0.4%;
    color: #fff;
    text-decoration: none;
    text-wrap: nowrap;
  }

  &__center {
    display: flex;
    align-items: center;
    ul {
      display: flex;
      align-items: center;
      gap: 32px;
      list-style: none;

      li {
        text-wrap: nowrap;
        a {
          text-decoration: none;
          font-family: Geist;
          font-weight: 400;
          font-size: 14px;
          line-height: 130%;
          letter-spacing: 0%;
          color: #f0f2f5;
        }
      }
    }
  }
}

.consult-popup {
  width: 100%;
  height: 100%;
  max-width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  overflow: hidden;

  &.opened {
    pointer-events: all;
    opacity: 1;
    .consult-popup__overlay {
      background: #00000079;
      backdrop-filter: blur(5px);
      pointer-events: all;
      transition: 0.3s ease;
    }

    .consult-popup__content {
      transform: translateX(0);
      transition: 0.3s ease;
    }
  }

  &__overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;

    background: transparent;
    backdrop-filter: blur(0);
    pointer-events: none;
    transition: 0.3s ease;
  }

  &__content {
    padding: 64px;
    width: 50%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    background: #f0f2f5;
    transform: translateX(150%);
    transition: 0.3s ease;
  }

  &__title {
    font-family: Geist;
    font-weight: 400;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: -2.8%;
    color: #001c36;
    margin-bottom: 36px;

    strong {
      font-weight: 400;
      color: #94a9b5;
    }
  }

  &__exit {
    padding: 7px 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid#94a9b5;
    border-radius: 30px;
    width: fit-content;
    justify-self: flex-end;
    cursor: pointer;
  }
}

@media (max-width: 1024px) {
  .header {
    &__center {
      display: none;
    }

    &__consultation {
      display: none;
    }

    &__upper-head {
      flex-flow: column;
      gap: 14px;
      margin-bottom: 48px;
    }

    &__upper-head-left {
      width: 100%;
      justify-content: space-between;
      padding: 18px 0;
    }

    &__upper-body {
      flex-flow: column;
      gap: 36px;
    }

    &__upper-menu {
      width: 100%;
      flex-flow: row;
      padding: 0;
    }

    &__upper-social {
      flex-flow: column;
    }

    &__upper-menu-list {
      gap: 20px;
    }

    &__upper-services,
    &__upper-projects {
      width: 100%;
      border-left: none;
      border-right: 0;
      border-top: 1px solid #ffffff1f;
      padding: 0;
      gap: 48px;
      padding-top: 12px;

      &:last-child {
        border: none;
      }
    }

    &__upper-contacts {
      border-top: 1px solid #ffffff1f;
      width: 100%;
      padding: 0;
      padding-top: 12px;
      gap: 48px;
    }

    .container {
      padding-bottom: 64px;
    }
  }

  .consult-popup {
    &__content {
      width: 100%;
      height: 100%;
      padding: 32px;
      right: 0;
      top: 0;
    }
  }
}