.navbar {
  position: fixed;
  top: 50%;
  left: 2rem;
  transform: translateY(-50%);
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  background: transparent;
  filter: drop-shadow(0 0 26px rgba(0, 0, 0, 1))
          drop-shadow(0 0 26px rgba(0, 0, 0, 1))
          drop-shadow(0 0 26px rgba(0, 0, 0, 1))
          drop-shadow(0 0 26px rgba(0, 0, 0, 1))
          drop-shadow(0 0 26px rgba(0, 0, 0, 1));
  border: none;
  pointer-events: all;
  cursor: pointer;
  z-index: 500;
  width: auto;
}

.navbar-logo {
  display: none;
}

.navbar-menu {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  cursor: pointer;
  pointer-events: all;
}

.navbar-link {
  background: none;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem;
  cursor: pointer !important; 
  pointer-events: all;
  text-shadow: 
    2px 2px 8px rgba(0, 0, 0, 0.8);
}

.navbar-link:hover,
.navbar-link.active {
  color: #ffffff;
}

.navbar-link:not(:hover):not(.active) {
  will-change: auto;
}

@media (max-width: 768px) {
  .navbar {
    display: flex;
    bottom: auto;
    top: 18%;
    left: 1rem;
    transform: none;
    flex-direction: column;
    width: auto;
    z-index: 500;
  }

  .navbar-menu {
    flex-direction: column;
    gap: 2rem;
  }

  .navbar-link {
    font-size: 1rem;
    padding: 0.5rem 0.8rem;
  }
}

@media (max-width: 300px) {
  .navbar {
    display: none;
  }
}