144 lines
2.9 KiB
SCSS
144 lines
2.9 KiB
SCSS
.header {
|
|
position: sticky;
|
|
top: -30px;
|
|
z-index: 11;
|
|
width: 100%;
|
|
backdrop-filter: blur(100px);
|
|
@mixin responsive-l {
|
|
top: 0;
|
|
}
|
|
&__wrapper {
|
|
padding: 40px 20px 10px;
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
@mixin responsive-l {
|
|
padding: 10px 20px;
|
|
}
|
|
}
|
|
|
|
&__logo {
|
|
position: relative;
|
|
width: 220px;
|
|
height: 43px;
|
|
margin-right: auto;
|
|
|
|
&.m--menu {
|
|
display: none;
|
|
margin-bottom: var(--space-between-block);
|
|
@mixin responsive-l {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
&:hover {
|
|
cursor: url("./assets/img/icon/cursor.svg"), auto;
|
|
}
|
|
}
|
|
|
|
&__menu {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 50px;
|
|
transition: transform .3s ease;
|
|
@mixin responsive-xl {
|
|
gap: 20px;
|
|
}
|
|
@mixin responsive-l {
|
|
position: fixed;
|
|
flex-direction: column;
|
|
align-items: start;
|
|
top: 0;
|
|
left: 0;
|
|
width: 320px;
|
|
bottom: 0;
|
|
min-height: calc(100vh + 30px);
|
|
transform: translateX(-100%);
|
|
background: var(--color-black);
|
|
padding: 40px 20px 0;
|
|
z-index: 10;
|
|
&.m--active {
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
|
|
|
|
&-item {
|
|
}
|
|
|
|
&-link {
|
|
text-transform: uppercase;
|
|
|
|
&.is-subactive {
|
|
color: transparent;
|
|
-webkit-background-clip: text;
|
|
background-image: var(--linear-gradient);
|
|
}
|
|
}
|
|
}
|
|
|
|
&__btn {
|
|
@mixin responsive-l {
|
|
margin-top: auto;
|
|
margin-bottom: 60px;
|
|
}
|
|
}
|
|
|
|
&__burger {
|
|
width: 38px;
|
|
height: 24px;
|
|
position: relative;
|
|
display: none;
|
|
&:hover {
|
|
cursor: url("./assets/img/icon/cursor.svg"), auto;
|
|
}
|
|
&.m--menu{
|
|
position: absolute;
|
|
right: 15px;
|
|
top: 15px;
|
|
}
|
|
&.m--active {
|
|
span {
|
|
display: none;
|
|
}
|
|
|
|
&:after {
|
|
transform: rotate(45deg);
|
|
bottom: 10px;
|
|
}
|
|
|
|
&:before {
|
|
transform: rotate(-45deg);
|
|
top: 10px;
|
|
}
|
|
}
|
|
|
|
@mixin responsive-l {
|
|
display: block;
|
|
}
|
|
|
|
&:after, &:before, span {
|
|
content: '';
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 4px;
|
|
background: var(--color-white);
|
|
border-radius: 20px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
&:before {
|
|
top: 0;
|
|
}
|
|
|
|
span {
|
|
top: 10px;
|
|
}
|
|
|
|
&:after {
|
|
bottom: 0;
|
|
}
|
|
}
|
|
|
|
}
|