@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html, body {
  scroll-behavior: smooth;
}
.container {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  background-color: #000;
  color: #fff;
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
nav {
  position: fixed;
  width: fit-content;
  inset-inline: 0px;
  margin: auto;
  margin-top: 30px;
  padding: 0 30px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    0 4px 16px rgba(0, 0, 0, 0.05);

  &:before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: url(#wave-distort);
  }
}

nav > ul {   
  position: relative;
  list-style: none;
  display: flex;
  justify-content: center;
  height: 55px;
  isolation: isolate;
  padding: 0 15px;
}
nav > ul::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  transform: translateX(var(--translate-x, 0)) translateY(var(--translate-y, 0)) rotate(var(--rotate-x, 0deg));
  transition: none;
  opacity: 0;
  z-index: -1;
  box-shadow: 
    0 4px 16px rgba(255, 255, 255, 0.4),
    0 2px 8px rgba(255, 255, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.6);
}
nav > ul li,
nav > ul li a {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
}
nav > ul li a {
  padding-inline: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
nav > ul li a:hover {
  color: #000000;
  transform: translateY(-2px);
}
nav > ul li a:focus {
  outline: none;
}
nav > ul li a.active {
  color: #000000;
  transform: translateY(-2px);
}
nav > ul.show-indicator::after {
  opacity: 1;
}
nav > ul li a:active {
  transform: translateY(-2px);
}
