Full code snippets:
`
.navbar {
position: relative;
width: 600px;
height: 80px;
background: rgba(255, 255, 255, 0.1);
border-radius: 20px;
display: flex;
justify-content: space-evenly;
align-items: center;
backdrop-filter: blur(15px);
border: 1px solid rgba(255, 255, 255, 0.2);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
overflow: visible;
}
.navbar ul {
display: flex;
width: 100%;
padding: 0 20px;
position: relative;
z-index: 5;
}
.navbar ul li {
position: relative;
list-style: none;
width: 70px;
height: 70px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
margin-left:30px;
transition: transform 0.5s ease-in-out;
}
.navbar ul li a {
position: relative;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
width: 100%;
text-align: center;
font-weight: 500;
color: white;
text-decoration: none;
}
.navbar ul li a .icon {
position: relative;
font-size: 24px;
transition: 0.5s;
}
.navbar ul li:hover a .icon {
transform: translateY(-5px);
color: #00ffff;
text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
}
.navbar ul l.active a .text {
position: absolute;
opacity: 0;
font-size: 12px;
transition: 0.5s;
transform: translateY(15px);
}
.navbar ul li:hover a .text,
.navbar ul li.active a .text {
opacity: 1;
}
/* Glowing Indicator */
.indicator {
position: absolute;
width: 80px;
height: 80px;
background: red;
border-radius: 50%;
transition: 0.5s ease-in-out;
z-index: 1;
top: -50px; /* Positioned above navbar */
left: 50%;
transform: translateX(-50%) scale(0);
}
/* Active Effect */
.navbar ul li.active .icon {
color: white;
transform: translateY(-30px) scale(1.2);
text-shadow: 0 0 10px rgb(210, 202, 202), 0 0 20px rgba(255, 255, 255, 0.8);
}
.navbar ul li.active {
transform: translateY(-15px);
z-index: 10;
}
.navbar ul li.active a {
position: relative;
z-index: 15;
}
</style>