.header {
background: #eff0ff;
position: sticky;
top: 0;
z-index: 9999;
}
.header-wrapper {
padding: 30px 0 25px;
display: flex;
align-items: center;
gap: 30px;
justify-content: space-between;
}
@media screen and (max-width: 1200px) {
.header-wrapper{
padding: 16px 0 16px;
}
}
@media screen and (max-width: 960px) {
.header-wrapper {
padding: 16px 0 16px;
}
}
@media screen and (max-width: 768px) {
.header-wrapper {
padding: 16px 0 16px;
}
}
@media screen and (max-width: 1200px) {
.header_logo {
width: 102px;
height: 17px
}
}
.header_left {
display: flex;
align-items: center;
gap: 30px;
}
.header_right {
display: flex;
align-items: center;
gap: 18px;
}
.links {
display: flex;
gap: 18px;
}
@media screen and (max-width: 960px) {
.links_center {
display: none;
}
}
.links_right {
display: flex;
gap: 10px;
align-items: center;
}
@media screen and (max-width: 768px) {
.links_right, .link_btn {
display: none;
}
}
.menu_bnts {
display: none;
}
@media screen and (max-width: 960px) {
.menu_bnts {
display: flex;
flex-direction: column;
gap: 5px;
}
}
.link_btn_light {
background-color: var(--violet_light2);
font-size: 15px;
padding: 9px 20px;
color: var(--green_dark);
}
.link_btn {
background-color: var(--violet_dark);
font-size: 15px;
padding: 9px 20px;
transition: all ease .3s;
}
.link_btn:hover {
background-color: var(--green);
}
@media screen and (max-width: 960px) {
.link_btn, .link_btn_light {
font-size: 12px;
}
.menu_bnts .link_btn, .menu_bnts .link_btn_light {
width: auto;
display: block;
}
} .menu-btn {
width: 30px;
height: 30px;
position: relative;
z-index: 3;
overflow: hidden;
cursor: pointer;
}
@media screen and (min-width: 960px) {
.menu-btn {
display: none;
}
}
.menu-btn span {
width: 25px;
height: 2px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: var(--green);
border-radius: 3px;
transition: all 0.5s;
}
.menu-btn span:nth-of-type(2) {
top: calc(50% - 7px);
}
.menu-btn span:nth-of-type(3) {
top: calc(50% + 7px);
} .menu-btn.active span:nth-of-type(1) {
display: none;
}
.menu-btn.active span:nth-of-type(2) {
top: 50%;
transform: translate(-50%, 0%) rotate(45deg);
}
.menu-btn.active span:nth-of-type(3) {
top: 50%;
transform: translate(-50%, 0%) rotate(-45deg);
}
.menu {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
background: #ffffff;
transform: translateX(-100%);
transition: transform 0.5s;
z-index: 2;
}
.menu_content {
height: 100%;
height: -moz-available;
height: -webkit-fill-available;
height: fill-available;
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 30px 60px;
}
@media screen and (max-width: 768px) {
.menu_content {
padding: 16px 20px;
}
}
.menu.active {
transform: translateX(0);
}
@media screen and (min-width: 960px) {
.menu {
display: none;
}
}
.menu_links {
display: flex;
flex-direction: column;
gap: 8px;
}
.menu_links a {
font-size: 15px;
}
@media screen and (max-width: 768px) {
.menu_links a {
font-size: 12px;
}
}