:root {
  --tab-color: #191919;
  --white-color: #fff;
}

li {
  display: inline-block;
}

.nav {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--tab-color);
  width: 90%;
  max-width: 900px;
  height: 5rem;
  border-radius: 2rem;
  padding: 0 2rem;
  box-shadow: 0 0.5em 2em rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(50px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  /* overflow: hidden; */
  overflow: visible;
}

.nav__links {
  width: 100%;
  display: flex;
  justify-content: space-between;
  position: relative;
}

.nav__link {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.bx{
  font-weight: 200 !important;  /* Makes icons thinner */
}
.nav__link a {
  color: var(--white-color);
  font-size: 2.5rem;
  opacity: 0.7;
  transition: 0.3s;
  font-weight: 300;  /* Makes icons thinner */
}

/* .nav__link.active a {
  opacity: 1;
  text-shadow: 0 0 15px currentColor, 0 0 30px currentColor,
    0 0 45px currentColor, 0 0 60px currentColor;
} */

/* .nav__link.active a {
  opacity: 1;
  color: inherit;
  filter: drop-shadow(0 0 8px currentColor) 
          drop-shadow(0 0 16px currentColor)
          drop-shadow(0 0 24px currentColor);
} */
.nav__link.active a {
  opacity: 1;
  color: inherit;
  filter: drop-shadow(0 0 6px currentColor) 
          drop-shadow(0 0 12px currentColor);
}
.nav__light {
  position: absolute;
  /* top: 0; */
  top: -6px;
  left: 0;
  /* width: 3rem; */
   width: 4rem;

  /* height: 0.3rem; */
  height: 0.3rem;
  border-radius: 2px;
  transition: 0.3s ease;
  transform: translateX(-50%);
}

.nav__light::before {
  content: "";
  /* width: 4rem; */
   width: 5rem;
  /* height: 5rem; */
  height: 5rem;
  position: absolute;
  top: 0.3rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.3) -50%,
    rgba(255, 255, 255, 0) 90%
  );
  clip-path: polygon(30% 0, 70% 0, 100% 100%, 0% 100%);
}

@media (max-width: 480px) {
  .nav {
    width: 95%;
    /* height: 4.5rem; */
    height: 3.8rem;
    padding: 0 1rem;
  }

  .nav__link a {
    font-size: 1.5rem;
  }
/* Add this if using Lucide icons */
  .nav__link svg {
    width: 20px;
    height: 20px;
  }
  .nav__light {
    width: 2.5rem;
      top: -10px;
 
     /* width: 3.5rem; */
    height: 0.25rem;
    /* height: 0.3rem; */
  }

  .nav__light::before {
    width: 3.5rem;
     /* width: 4.5rem; */
    /* height: 4rem; */
    height: 3.8rem;
  }
}