#nav {
|
|
max-height: 5vh;
|
|
}
|
|
|
|
.header {
|
|
position: relative;
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
background-color: transparent;
|
|
}
|
|
|
|
.logo a {
|
|
display: block;
|
|
position: sticky;
|
|
z-index: 2;
|
|
}
|
|
|
|
.logo a img {
|
|
display: block;
|
|
height: 15vh;
|
|
padding-top: 2vh;
|
|
padding-left: 2vw;
|
|
}
|
|
|
|
.navigation {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding-right: 5vw;
|
|
}
|
|
|
|
.navigation input:checked ~ .menu {
|
|
right: 0;
|
|
z-index: 150;
|
|
}
|
|
|
|
.menu {
|
|
display: flex;
|
|
justify-content: start;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
position: fixed;
|
|
top: 0;
|
|
right: -90vw;
|
|
background: #fff;
|
|
opacity: 90%;
|
|
width: 70vw;
|
|
height: 100%;
|
|
padding-top: 11vh;
|
|
z-index: 1;
|
|
transition: .5s;
|
|
margin: 0;
|
|
padding-right: 5vw;
|
|
font-family: 'IBMPlexMono', sans-serif;
|
|
|
|
}
|
|
|
|
.menu li {
|
|
list-style-type: none;
|
|
width: 100%;
|
|
}
|
|
|
|
.menu li a {
|
|
color: #000;
|
|
text-decoration: none;
|
|
display: block;
|
|
padding: 1.3vh 0 2vh 0;
|
|
line-height: 1;
|
|
font-size: 2.35vh;
|
|
text-align: right;
|
|
box-shadow: 0 .5vw 0 -0.35vw #D8D8D8;
|
|
text-transform: uppercase;
|
|
transition: .3s;
|
|
font-family: 'IBMPlexMono', sans-serif;
|
|
}
|
|
|
|
|
|
.hamburger {
|
|
position: relative;
|
|
width: 5vw;
|
|
height: .5vh;
|
|
background: #000;
|
|
cursor: pointer;
|
|
z-index: 2;
|
|
transition: .3s;
|
|
}
|
|
|
|
.hamburger:before,
|
|
.hamburger:after {
|
|
content: "";
|
|
position: absolute;
|
|
height: 4px;
|
|
right: 0;
|
|
background: #000;
|
|
transition: .3s;
|
|
}
|
|
|
|
.hamburger:before {
|
|
top: -1vh;
|
|
width: 5vw;
|
|
}
|
|
|
|
.hamburger:after {
|
|
top: 1vh;
|
|
width: 5vw;
|
|
}
|
|
|
|
.toggle_menu {
|
|
position: absolute;
|
|
width: 3.5vw;
|
|
height: 5.5vh;
|
|
z-index: 3;
|
|
cursor: pointer;
|
|
opacity: 0;
|
|
top: unset;
|
|
left: unset;
|
|
z-index: 200;
|
|
}
|
|
|
|
.navigation input:checked ~ .hamburger {
|
|
background: transparent;
|
|
z-index: 199;
|
|
}
|
|
|
|
.navigation input:checked ~ .hamburger::before {
|
|
top: 0;
|
|
transform: rotate(-45deg);
|
|
width: 5vw;
|
|
background-image: linear-gradient(to bottom right, #fdfd96, #b0afd0, hsl(286,100%,91%));
|
|
}
|
|
|
|
.navigation input:checked ~ .hamburger::after {
|
|
top: 0;
|
|
transform: rotate(45deg);
|
|
width: 5vw;
|
|
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.menu {
|
|
width: unset;
|
|
}
|
|
|
|
.menu li a {
|
|
font-size: 4vh;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
|
|
.navigation input:checked ~ .menu {
|
|
right: 0;
|
|
top: 5vh;
|
|
}
|
|
|
|
.navigation {
|
|
top: 5vh;
|
|
}
|
|
}
|
|
|
|
/* /1* @media (min-width: 1024px) { *1/ */
|
|
|
|
/* /1* .header { *1/ */
|
|
/* /1* position: relative; *1/ */
|
|
/* width: 100%; */
|
|
/* display: flex; */
|
|
/* justify-content: flex-start; */
|
|
/* align-items: center; */
|
|
|
|
/* } */
|
|
|
|
/* .hamburger, */
|
|
/* .toggle_menu { */
|
|
/* display: none; */
|
|
/* } */
|
|
|
|
/* .menu { */
|
|
/* justify-content: center; */
|
|
/* flex-direction: row; */
|
|
/* position: sticky; */
|
|
/* z-index: 1; */
|
|
/* transition: .5s; */
|
|
/* padding: 0; */
|
|
/* width: unset; */
|
|
/* margin-left: 10vw; */
|
|
/* } */
|
|
|
|
/* .menu li { */
|
|
/* width: unset; */
|
|
/* } */
|
|
|
|
/* .menu li a { */
|
|
/* color: #000; */
|
|
/* text-decoration: none; */
|
|
/* display: block; */
|
|
/* padding: 2vh 1.5vw 1.5vh; */
|
|
/* line-height: 1; */
|
|
/* transition: .3s; */
|
|
/* box-shadow: none; */
|
|
/* } */
|
|
|
|
/* .menu li a:hover { */
|
|
/* box-shadow: 0 .5vw 0 -0.35vw #000; */
|
|
/* } */
|
|
|
|
/* .navigation { */
|
|
/* display: flex; */
|
|
/* justify-content: space-between; */
|
|
/* align-items: center; */
|
|
/* padding: 0; */
|
|
/* } */
|
|
|
|
/* } */
|