.anchor-container {
  border: 1px solid var(--color-border-2);
  background-color: white;
  border-radius: 100px;
  padding: 4px;
  max-width: var(--max-width);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16px;
  overflow-x: auto;
  z-index: 100;
  width: fit-content;
}

.anchor-container .anchor {
  padding: 4px 12px;
  cursor: pointer;
  border-radius: 100px;
  font-weight: 500;
  white-space: nowrap;
}

.anchor-container .anchor:hover {
  background-color: var(--color-bg-2);
  color: var(--blue);
}

.anchor-container .anchor:active {
  background-color: var(--color-bg-4);
  color: var(--blue);
}

.anchor-container .anchor.active {
  background-color: var(--blue);
  color: white;
}

@media (max-width: 1024px) {
  .anchor-container {
    bottom: 8px;
    max-width: calc(100% - 32px);
  }
}

@media (max-width: 542px) {
  .anchor-container {
    justify-content: flex-start;
  }
}
