blob: e28724fac4e1a4da3d8a3930d71cc940178f0f58 (
plain) (
tree)
|
|
.navbar {
background-color: #2196F3;
padding: 10px 20px;
display: flex;
justify-content: center;
align-items: center;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
position: relative;
}
.navbar-container {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
max-width: 1200px;
}
.menu-icon {
color: white;
font-size: 2rem;
cursor: pointer;
width: 35px; /* Adjust the width */
height: 35px; /* Make it equal to width for a square */
display: none; /* Hidden by default */
justify-content: center;
align-items: center;
}
.navbar-list {
list-style: none;
display: flex;
margin: 0;
padding: 0;
}
.navbar-item {
margin: 0 15px;
}
.navbar-item a {
color: white;
text-decoration: none;
font-weight: 500;
transition: color 0.3s ease;
}
.navbar-item a:hover {
color: #FFEB3B;
}
.mfp-hide {
display: none;
}
@media (max-width: 768px) {
.menu-icon {
display: flex; /* Show menu icon on mobile screens */
}
.navbar-list {
display: none; /* Hide regular menu list on mobile screens */
}
.navbar-list-popup {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: #2196F3;
width: 100%;
height: 100vh;
}
.navbar-item {
margin: 10px 0;
}
}
|