.lang-switcher {
  /* Only define variables NOT available globally */
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

/* Container */
.lang-switcher ul {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

/* Links */
.lang-switcher a {
  display: block;
  padding: 8px 19px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
}

/* Hover for inactive items: white text */
.lang-switcher a:not(.active):hover {
  background: var(--light-bg-color);
}

/* Active language: black text */
.lang-switcher a.active {
  background-color: var(--text-color);
  color: #000; /* black text for active item */
}

