html.vm-i18n-pending body {
  opacity: 0;
}

html.vm-i18n-visible body {
  opacity: 1;
  transition: opacity 140ms ease;
}

.vm-lang-item {
  margin-left: .4rem;
}

.vm-lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.vm-lang-switcher::before {
  content: "\f0ac";
  padding: 0 3px 0 5px;
  color: #65efe4;
  font-family: "Font Awesome 5 Free";
  font-size: .72rem;
  font-weight: 900;
}

.vm-lang-switcher button {
  min-width: 27px;
  height: 26px;
  padding: 0 5px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, .82);
  font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 26px;
  letter-spacing: 0;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.vm-lang-switcher button:hover,
.vm-lang-switcher button:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .14);
  outline: none;
  transform: translateY(-1px);
}

.vm-lang-switcher button.is-active {
  color: #032629;
  background: #65efe4;
  box-shadow: 0 3px 10px rgba(29, 224, 210, .25);
}

.vm-standalone-lang {
  position: fixed;
  z-index: 1100;
  top: 14px;
  right: 16px;
}

.vm-standalone-lang .vm-lang-switcher {
  border-color: rgba(255, 255, 255, .3);
  background: #073437;
  box-shadow: 0 8px 24px rgba(2, 38, 41, .22);
}

@media (max-width: 1199.98px) and (min-width: 992px) {
  .main-header .navbar-nav .nav-item.px-2 {
    padding-right: .25rem !important;
    padding-left: .25rem !important;
  }

  .main-header .navbar-nav .nav-link {
    font-size: .79rem;
  }
}

@media (max-width: 991.98px) {
  .vm-lang-item {
    width: 100%;
    margin: .7rem 0 .2rem;
    padding: .65rem 0 .2rem;
    border-top: 1px solid rgba(255, 255, 255, .14);
  }

  .vm-lang-switcher {
    width: 100%;
    max-width: 220px;
    justify-content: space-between;
    padding: 5px;
  }

  .vm-lang-switcher button {
    flex: 1 1 0;
    height: 32px;
    line-height: 32px;
    font-size: 1.08rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.vm-i18n-visible body,
  .vm-lang-switcher button {
    transition: none;
  }
}
