85 lines
1.2 KiB
CSS
85 lines
1.2 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: Arial, sans-serif;
|
|
}
|
|
|
|
.navbar {
|
|
background-color: #333;
|
|
color: #fff;
|
|
/*padding: 1rem;*/
|
|
position: relative;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.navbar-container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.logo {
|
|
width: 4%;
|
|
height: 4%;
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.nav-links {
|
|
list-style: none;
|
|
display: flex;
|
|
gap: 1.5rem;
|
|
margin: 1rem;
|
|
}
|
|
|
|
.nav-links a {
|
|
color: #fff;
|
|
text-decoration: none;
|
|
font-size: 1.3rem;
|
|
}
|
|
|
|
.nav-toggle {
|
|
display: none;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.nav-links {
|
|
display: none;
|
|
flex-direction: column;
|
|
gap: 0;
|
|
position: absolute;
|
|
background-color: #333;
|
|
width: 100%;
|
|
top: 100%;
|
|
left: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.nav-links.active {
|
|
display: flex;
|
|
}
|
|
|
|
.nav-toggle {
|
|
display: flex;
|
|
}
|
|
|
|
.nav-links li {
|
|
text-align: center;
|
|
padding: 1rem 0;
|
|
}
|
|
|
|
.nav-links a {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 1rem 0;
|
|
}
|
|
}
|