/*
  The thin studio bar on a game's own page: the way back to the studio (docs: research/design/handoff/web/README.md).
  The page itself keeps the game's look (site.css); only this bar is in the studio's look, so this file holds just
  the bar and its one font, JetBrains Mono (OFL 1.1, trimmed to Latin and Greek).
*/

@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrainsmono/JetBrainsMono-latin-greek.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

.studio-bar {
  background: #faf7f0;
  border-bottom: 1px solid #b8985a;
  color: #14110e;
  font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.studio-bar .bar-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: 68rem;
  min-height: 52px;
  margin-inline: auto;
  padding-inline: 1rem;
}
.studio-bar a {
  text-decoration: none;
}
.studio-bar .back {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 52px;
  color: #14110e;
}
.studio-bar .back:hover {
  color: #26346b;
}
.studio-bar .back img {
  width: 34px;
  height: 34px;
  flex: none;
}
.studio-bar .arrow {
  display: inline-block;
  flex: none;
  width: 18px;
  height: 18px;
  border-left: 2.4px solid currentColor;
  border-bottom: 2.4px solid currentColor;
  transform: rotate(45deg) scale(0.62);
  margin-right: -0.2rem;
}
.studio-bar .langs {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #6a645a;
}
.studio-bar .langs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 52px;
  color: #26346b;
  text-decoration: underline;
}
.studio-bar .langs [aria-current="true"] {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  color: #14110e;
}
@media (max-width: 40rem) {
  .studio-bar .back .label {
    letter-spacing: 0.02em;
  }
}
