/* The one element of the page that Scalar does not draw: the link to the other language. */
.language {
  position: absolute;
  top: 16px;
  right: 24px;
  z-index: 10;
  padding: 6px 12px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: Canvas;
  color: CanvasText;
  font: 500 13px/1.4 system-ui, sans-serif;
  text-decoration: none;
}

/* Below this width Scalar draws a top bar, which would cover the link. */
@media (max-width: 1000px) {
  .language {
    top: 60px;
  }
}

.language:focus-visible {
  outline: 2px solid Highlight;
  outline-offset: 2px;
}
