File: /home/fliyingp/domains/fliyingpigeon.hk/public_html/wp-content/themes/ocean-theme/header.css
.header {
background: #A0A09F;
/* position: relative; */
position: sticky;
top: -130%;
z-index: 999;
opacity: 0;
transform: translateY(-20px);
transition: 0.7s ease;
border-bottom: 1px solid var(--Line-dark-mode, #FFFFFF1F);
}
.header.visible {
top: 0;
opacity: 1;
transform: translateY(0);
}
.header #exitBtn svg {
width: 16px;
height: 16px;
}
.header__upper {
background: #001c36;
position: fixed; /* краще для модальних/хедерів */
top: 0;
left: 0;
width: 100%;
max-width: 100vw;
height: 100vh;
z-index: 2;
transform: translateY(-250%);
transition: transform 0.7s ease, opacity 0.7s ease;
opacity: 0;
pointer-events: none;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
.header__upper-content {
display: flex;
flex-flow: column;
justify-content: space-between;
height: 100%;
}
.header__upper.opened .container {
max-width: 100%;
padding-left: 48px;
padding-right: 48px;
}
@media (max-width: 1024px) {
.header__upper-content {
height: fit-content;
padding-bottom: 24px;
}
}
.header__upper.opened {
transform: translateY(0);
opacity: 1;
pointer-events: auto;
z-index: 999;
}
.header__upper-head-left {
display: flex;
align-items: center;
gap: 64px;
width: calc(20% - 48px);
}
.header__upper-lang {
font-family: Geist;
font-weight: 400;
font-size: 14px;
line-height: 130%;
letter-spacing: 0%;
color: #00284e;
}
.header__upper-lang.current {
color: #fff;
}
.header__upper-exit-btn {
display: flex;
align-items: center;
justify-content: center;
padding: 7px 18px;
border: 1px solid rgba(144, 164, 174, 0.6509803922);
border-radius: 30px;
transition: 0.3s ease;
}
.header__upper-exit-btn svg path {
transition: 0.3s ease;
}
.header__upper-exit-btn:hover {
background: #fff;
}
.header__upper-exit-btn:hover svg path {
fill: rgb(0, 28, 54);
}
.header__upper-lang-list {
display: flex;
align-items: center;
gap: 32px;
}
.header__upper-lang-list .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;
}
.header__upper-lang-list .header-lang-list-item.active {
color: #fff;
}
.header__upper-head {
display: flex;
flex-flow: row;
align-items: center;
gap: 64px;
margin-bottom: 80px;
}
.header__upper-head svg {
width: 100%;
height: auto;
}
.header__upper-body {
display: flex;
flex-flow: row;
}
.header__upper-menu {
width: 20%;
padding-right: 32px;
display: flex;
flex-flow: column;
justify-content: space-between;
padding-bottom: 80px;
}
.header__upper-menu-link {
display: flex;
flex-flow: row;
gap: 8px;
font-family: Geist;
font-weight: 300;
font-size: 28px;
line-height: 110%;
letter-spacing: 0px;
text-align: center;
color: #fff;
text-decoration: none;
align-items: center;
}
.header__upper-menu-link,
.header__upper-phone,
.header__upper-service-link,
.header__upper-contacts-link,
.advantages__button p,
.done-projects__button p,
.consultation__phone,
.consultation__messengers-list a,
.consultation__footer p,
.footer__contacts-link,
.footer__body-middle-list a,
.footer__body-right .footer__contacts-link,
.footer__phone,
.our-certificates__button p,
.about__sub-link,
.consultation__contact-link,
.header__center ul li a{
position: relative; /* Щоб псевдоелемент був відносно посилання */
transition: color 0.3s ease;
width: fit-content;
}
.header__upper-menu-link p::after,
.consultation__contact-link::after,
.about__sub-link::after,
.header__upper-phone::after,
.header__upper-service-link::after,
.header__upper-contacts-link p::after,
.advantages__button p::after,
.done-projects__button p::after,
.our-certificates__button p::after,
.consultation__phone::after,
.consultation__messengers-list a::after,
.consultation__footer p::after,
.footer__contacts-link::after,
.footer__body-middle-list a::after,
.footer__body-right .footer__contacts-link p::after,
.footer__phone::after,
.header__center ul li a::after{
content: "";
position: absolute;
bottom: -4px;
left: 0;
height: 2px; /* товщина підкреслення */
width: 0; /* старт з 0 */
background-color: currentColor; /* використовує колір тексту */
transition: width 0.3s ease;
}
.header__upper-menu-link:hover p::after,
.consultation__contact-link:hover::after,
.header__upper-phone:hover::after,
.header__upper-service-link:hover::after,
.header__upper-contacts-link:hover p::after,
.advantages__button:hover p::after,
.done-projects__button:hover p::after,
.our-certificates__button:hover p::after,
.consultation__phone:hover::after,
.consultation__messengers-list a:hover::after,
.consultation__footer:hover p::after,
.footer__contacts-link:hover::after,
.footer__body-middle-list a:hover::after,
.footer__body-right .footer__contacts-link:hover::after,
.footer__phone:hover::after,
.about__sub-link:hover::after,
.header__center ul li a:hover::after{
width: 100%; /* заповнює всю ширину */
}
.consultation__footer img, .our-certificates__button img, .done-projects__button img, .advantages__button img {
transition: 0.3s ease;
}
.consultation__footer:hover img, .done-projects__button:hover img, .advantages__button:hover img, .our-certificates__button:hover img {
filter: blur(1px);
}
.header__upper-menu-list {
display: flex;
flex-flow: column;
gap: 14px;
}
.header__upper-services, .header__upper-projects {
display: flex;
flex-flow: column;
justify-content: space-between;
width: 30%;
padding: 0 48px 80px 32px;
border-left: 1px solid rgba(255, 255, 255, 0.1215686275);
}
.header__upper-projects {
border-right: 1px solid rgba(255, 255, 255, 0.1215686275);
}
.header__upper-contacts {
display: flex;
flex-flow: column;
justify-content: space-between;
width: 20%;
padding-left: 32px;
gap: 104px;
padding-bottom: 80px;
}
.header__upper-social {
display: flex;
gap: 8px;
}
.header__upper-social img {
width: 40px;
height: 40px;
}
.header__upper-contacts-top {
display: flex;
flex-flow: column;
gap: 28px;
}
.header__upper-phone {
font-family: Geist;
font-weight: 300;
font-size: 28px;
line-height: 110%;
letter-spacing: 0px;
text-align: left;
color: #f0f2f5;
text-decoration: none;
}
.header__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: -moz-fit-content;
width: fit-content;
color: #fff;
border: 1px solid rgba(144, 164, 174, 0.6509803922);
border-radius: 30px;
padding: 10px 22px;
cursor: pointer;
background: transparent;
transition: 0.3s ease;
}
.header__upper-consult-btn svg path {
transition: 0.3s ease;
}
.header__upper-consult-btn:hover {
background: #fff;
color: #001c36;
}
.header__upper-consult-btn:hover svg path {
fill: #001c36;
}
.header__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;
}
.header__upper-contacts-bottom {
display: flex;
flex-flow: column;
gap: 8px;
}
.header__upper-service-link {
font-family: Geist;
font-weight: 400;
font-size: 16px;
line-height: 130%;
letter-spacing: 0px;
color: #94a9b5;
text-decoration: none;
}
.header__upper-services-list {
display: flex;
flex-flow: column;
gap: 8px;
}
.header__upper-projects-list {
display: flex;
flex-flow: column;
gap: 8px;
}
.header > .container {
display: flex;
justify-content: space-between;
padding-top: 12px;
padding-bottom: 12px;
}
.header__right {
display: flex;
align-items: center;
gap: 36px;
}
.header__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;
}
.header__left {
display: flex;
align-items: center;
gap: 20px;
}
.header__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 #fff;
border-radius: 30px;
transition: 0.3s ease;
background: transparent;
}
.header__consultation svg path{
transition: 0.3s ease;
}
.header__consultation:hover {
background: #678A2B;
border-color: #678A2B;
}
.header__consultation:hover svg path{
fill: #001c36;
}
.header__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;
}
.header__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;
}
.header__lang-list.opened {
opacity: 1;
pointer-events: all;
}
.header__lang-list .header-lang-list-item {
font-family: Geist;
font-weight: 400;
font-size: 14px;
line-height: 130%;
letter-spacing: 0%;
text-decoration: none;
color: #001c36;
}
.header__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;
}
.header__center {
display: flex;
align-items: center;
}
.header__center ul {
display: flex;
align-items: center;
gap: 32px;
list-style: none;
}
.header__center ul li {
text-wrap: nowrap;
}
.header__center ul li 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;
}
.consult-popup.opened {
pointer-events: all;
opacity: 1;
}
.consult-popup.opened .consult-popup__overlay {
background: rgba(0, 0, 0, 0.4745098039);
-webkit-backdrop-filter: blur(5px);
backdrop-filter: blur(5px);
pointer-events: all;
transition: 0.3s ease;
}
.consult-popup.opened .consult-popup__content {
transform: translateX(0);
transition: 0.3s ease;
}
.consult-popup__overlay {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
background: transparent;
-webkit-backdrop-filter: blur(0);
backdrop-filter: blur(0);
pointer-events: none;
transition: 0.3s ease;
}
.consult-popup__content {
padding: 64px;
width: 50%;
height: 100%;
position: absolute;
right: 0;
top: 0;
background: #f0f2f5;
transform: translateX(150%);
transition: 0.3s ease;
}
.consult-popup__title {
font-family: Geist;
font-weight: 400;
font-size: 32px;
line-height: 100%;
letter-spacing: -2.8%;
color: #001c36;
margin-bottom: 36px;
}
.consult-popup__title strong {
font-weight: 400;
color: #94a9b5;
}
.consult-popup__exit {
padding: 7px 18px;
display: flex;
justify-content: center;
align-items: center;
border: 1px solid #94a9b5;
border-radius: 30px;
width: -moz-fit-content;
width: fit-content;
justify-self: flex-end;
cursor: pointer;
}
@media (max-width: 1400px) {
.header__upper.opened .container {
padding-left: 16px;
padding-right: 16px;
}
@media (max-width: 1024px) {
.header__center {
display: none;
}
.header__consultation {
display: none;
}
.header__upper {
padding-bottom: 24px;
}
.header__upper-head {
flex-flow: column;
gap: 14px;
margin-bottom: 48px;
}
.header__upper-head-left {
width: 100%;
justify-content: space-between;
padding: 18px 0;
}
.header__upper-body {
flex-flow: column;
gap: 36px;
}
.header__upper-menu {
width: 100%;
flex-flow: row;
padding: 0;
}
.header__upper-social {
flex-flow: column;
}
.header__upper-menu-list {
gap: 20px;
}
.header__upper-services, .header__upper-projects {
width: 100%;
border-left: none;
border-right: 0;
border-top: 1px solid rgba(255, 255, 255, 0.1215686275);
padding: 0;
gap: 48px;
padding-top: 12px;
}
.header__upper-services:last-child, .header__upper-projects:last-child {
border: none;
}
.header__upper-contacts {
border-top: 1px solid rgba(255, 255, 255, 0.1215686275);
width: 100%;
padding: 0;
padding-top: 12px;
gap: 48px;
}
.header .container {
/* padding-bottom: 64px; */
}
.consult-popup__content {
width: 100%;
height: 100%;
padding: 32px;
right: 0;
top: 0;
}
}/*# sourceMappingURL=header.css.map */