2021-05-25 21:40:27 +00:00
|
|
|
.navbar {
|
2021-06-07 03:03:18 +00:00
|
|
|
background-color: var(--primary);
|
2021-05-25 21:40:27 +00:00
|
|
|
height: 80px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
font-size: 1.2rem;
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
z-index: 999;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-container {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
height: 80px;
|
|
|
|
max-width: 1500px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-logo {
|
2021-06-07 03:03:18 +00:00
|
|
|
color: var(--secondary);
|
2021-05-25 21:40:27 +00:00
|
|
|
justify-self: start;
|
|
|
|
margin-left: 20px;
|
|
|
|
cursor: pointer;
|
|
|
|
text-decoration: none;
|
|
|
|
font-size: 2rem;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-menu {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(4, auto);
|
|
|
|
grid-gap: 10px;
|
|
|
|
list-style: none;
|
|
|
|
text-align: center;
|
|
|
|
width: 60vw;
|
|
|
|
justify-content: end;
|
|
|
|
margin-right: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-item {
|
|
|
|
height: 80px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-links {
|
2021-06-07 03:03:18 +00:00
|
|
|
color: var(--secondary);
|
2021-05-25 21:40:27 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
text-decoration: none;
|
|
|
|
padding: 0.5rem 1rem;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-links:hover {
|
2021-06-23 01:16:09 +00:00
|
|
|
border-bottom: 4px dotted var(--secondary);
|
2021-05-25 21:40:27 +00:00
|
|
|
transition: all 0.2s ease-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-links-mobile {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-icon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 960px) {
|
|
|
|
.NavbarItems {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-menu {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
width: 100%;
|
|
|
|
height: 90vh;
|
|
|
|
position: absolute;
|
|
|
|
top: 80px;
|
|
|
|
left: -100%;
|
|
|
|
opacity: 1;
|
|
|
|
transition: all 0.5s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-menu.active {
|
2021-06-07 03:03:18 +00:00
|
|
|
background: var(--primary);
|
2021-05-25 21:40:27 +00:00
|
|
|
left: 0;
|
|
|
|
opacity: 1;
|
|
|
|
transition: all 0.5s ease;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-links {
|
|
|
|
text-align: center;
|
|
|
|
padding: 2rem;
|
|
|
|
width: 100%;
|
|
|
|
display: table;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-links:hover {
|
2021-06-07 03:03:18 +00:00
|
|
|
background-color: var(--secondary);
|
2021-06-23 01:16:09 +00:00
|
|
|
color: var(--primary);
|
2021-05-25 21:40:27 +00:00
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-logo {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
transform: translate(25%, 50%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-icon {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
transform: translate(-100%, 60%);
|
|
|
|
font-size: 1.8rem;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-times {
|
2021-06-07 03:03:18 +00:00
|
|
|
color: var(--secondary);
|
2021-05-25 21:40:27 +00:00
|
|
|
font-size: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-links-mobile {
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
|
|
|
margin: 2rem auto;
|
|
|
|
border-radius: 4px;
|
|
|
|
width: 80%;
|
|
|
|
text-decoration: none;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
background-color: transparent;
|
2021-06-07 03:03:18 +00:00
|
|
|
color: var(--primary);
|
2021-05-25 21:40:27 +00:00
|
|
|
padding: 14px 20px;
|
2021-06-21 02:55:31 +00:00
|
|
|
border: 1px solid var(--primary);
|
2021-05-25 21:40:27 +00:00
|
|
|
transition: all 0.3s ease-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-links-mobile:hover {
|
2021-06-07 03:03:18 +00:00
|
|
|
background: var(--primary);
|
|
|
|
color: var(--secondary);
|
2021-05-25 21:40:27 +00:00
|
|
|
transition: 250ms;
|
|
|
|
}
|
|
|
|
}
|