.navbar { background-color: #2196F3; padding: 10px 20px; display: flex; justify-content: center; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .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; } @media (max-width: 768px) { .navbar { flex-direction: column; align-items: center; } .navbar-list { flex-direction: column; } .navbar-item { margin: 10px 0; } }