@import url("https://fonts.googleapis.com/css2?family=Gloock&display=swap");

@font-face {
  font-family: "Neue Montreal";
  src: url("https://cdn.prod.website-files.com/63dcb6e1a80e9454b630f4c4/649dc29d04a5c2f38d17b0eb_PPNeueMontreal-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neue Montreal";
  src: url("https://cdn.prod.website-files.com/63dcb6e1a80e9454b630f4c4/649dc29276d96805fd7a9242_PPNeueMontreal-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}


.section-nav {
  z-index: 10;
  background:
    linear-gradient(to bottom, rgba(16,16,16,0.9), rgba(16,16,16,0));
  height: 125px;
  padding-top: 0;
  padding-left: 48px;
  padding-right: 48px;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.nav-left-wrapper {
    grid-column-gap: 16px;
}

.nav-bar {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-pill-wrapper {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  padding: 8px;
  border-radius: 999px;
  background: linear-gradient(to bottom, #404040, #171717);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.6),
    0 2px 8px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 2px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}



.nav-pill-wrapper::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 999px;
  background: linear-gradient(to bottom, #262626, #0a0a0a);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.8),
    inset 0 -1px 2px rgba(255, 255, 255, 0.05);
}

.nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0;
}

.nav a {
  position: relative;
  z-index: 3;
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  color: #d4d4d4;
  text-decoration: none;
  font-family: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.nav a.active {
  color: #171717;
}

.bubble {
  position: absolute;
  top: 8px;
  height: calc(100% - 16px);
  border-radius: 999px;
  pointer-events: none;
  transition:
    none;
}

.bubble.hover {
  z-index: 1;
  background: linear-gradient(to bottom, rgba(255,255,255,0.10), rgba(255,255,255,0.05));
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  opacity: 1;
}

.bubble.active {
  z-index: 2;
  background: linear-gradient(to bottom, #e8e8e8, #bfbfbf 55%, #9f9f9f);
  box-shadow:
    0 2px 8px rgba(0,0,0,0.4),
    0 1px 2px rgba(0,0,0,0.3),
    inset 0 2px 0 rgba(255,255,255,0.5),
    inset 0 -2px 0 rgba(255,255,255,0.25),
    inset 0 -8px 16px rgba(255,255,255,0.18),
    inset 0 0 0 1px rgba(255,255,255,0.35),
    inset 0 1px 4px rgba(0,0,0,0.1);
}

@media (max-width: 767px) {
  .section-nav {
    height: 132px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-bar {
    align-items: flex-start;
    padding-top: 18px;
  }

  .nav-pill-wrapper {
    top: auto;
    bottom: 16px;
    width: min(377px, 100%);
    padding: 7px;
  }

  .nav a {
    min-width: 0;
    padding: 12px clamp(10px, 3.6vw, 22px);
    font-size: 14px;
  }

  .bubble {
    top: 7px;
    height: calc(100% - 14px);
  }
}

@media (max-width: 360px) {
  .text-logo {
    font-size: 18px;
    line-height: 18px;
  }

  .text-underlogo {
    font-size: 11px;
  }

  .nav a {
    padding-left: 9px;
    padding-right: 9px;
    font-size: 13px;
  }
}
