#top-bar {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 9998;


  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);

  border-bottom: 1px solid rgba(255, 255, 255, 0.12);

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);

  transition: all 0.4s ease, transform 0.4s ease;

  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}


#top-bar.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


#top-bar.scrolled {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(22px) saturate(200%);
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}


#changing-text {
  color: #000;
  font-size: 14px;
  white-space: nowrap; 
}

#changing-text.fade {
  opacity: 0;
  transition: opacity 0.15s ease;
}