
.menu-overlay ::selection {
  background: white;
  color: black;
}

.menu-overlay ::-moz-selection {
  background: white;
  color: black;
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}


nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  color: var(--light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  mix-blend-mode: difference;
  z-index: 201;
  text-transform: uppercase;
}

.nav-name {
  font-family: "sohne-medium";
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: 0.05em;
  color: white;
  padding: 1rem;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.nav-name.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

nav p {
  font-family: "sohne-medium";
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: 0.05em;
  padding: 1rem;
  cursor: pointer;

}



.menu-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none; /* off until active */
  overflow: hidden;
  z-index: 200;
}

.menu-circle {
  position: absolute;
  top: 0;
  right: 0;
  width: 250vmax;
  height: 250vmax;
  border-radius: 50%;
  background-color: #000;
  transform: translate(50%, -50%) scale(0);
  transform-origin: center center;
  will-change: transform;
  z-index: 1;
}

.menu-content {
  position: absolute;
  inset: 0;
  background-color: #000;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  text-transform: uppercase;
  font-family: sohne-bold;
  letter-spacing: -0.02em;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  color: #fff;
  font-size: 1.5rem;
  font-family: "sohne-medium";
  text-transform: uppercase;
  letter-spacing: -0.02em;
  overflow: hidden;
}

.loading-text {
  position: relative;
  z-index: 2;
}

.loading-circle {
  position: absolute;
  width: 200vmax; /* start huge */
  height: 200vmax;
  border-radius: 50%;
  background-color: #000;
  z-index: 1;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
}

.loading-counter {
  margin-left: 0.5rem;
}
