.language-switch {
  display: inline-flex;
  flex: none;
  padding: 2px;
  background: #f3f6f8;
  border: 1px solid #dce4e9;
  border-radius: 8px;
}

.language-switch button {
  display: grid;
  min-width: 36px;
  height: 30px;
  padding: 0 6px;
  place-items: center;
  color: #71818d;
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 700;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}

.language-switch button:hover {
  color: #10263b;
}

.language-switch button.active {
  color: #fff;
  background: #c9252d;
  box-shadow: 0 3px 8px rgba(201, 37, 45, .18);
}

@media (max-width: 720px) {
  .language-switch {
    padding: 1px;
  }

  .language-switch button {
    min-width: 31px;
    height: 28px;
    padding: 0 3px;
    font-size: 8px;
  }
}
