html {
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

body {
  background: #111;
  color: #ffcc00;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  margin: 0;
  display: flex;
  flex-flow: column;
}

button {
  background: none;
  border: none;
  font: inherit;
  padding: 0;
  color: inherit;
  cursor: pointer;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: solid 1px currentColor;
}

.menu {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  padding: 1rem 1rem 0;
  position: sticky;
  top: 0;
  background: #111;
}
.menu > * {
  margin-bottom: 1rem;
}

#region {
  margin-right: 2rem;
}

#level {
  justify-self: flex-end;
}
#level > [aria-checked=true] {
  position: relative;
}
#level > [aria-checked=true] + [aria-checked=true]::before {
  content: "+";
  position: absolute;
  left: -0.7em;
}

.switches {
  display: flex;
  cursor: pointer;
}
.switches > * {
  white-space: nowrap;
}
.switches > * + * {
  margin-left: 0.75rem;
}

[aria-checked=false] {
  color: #8e7b57;
}

[aria-checked=true] {
  text-decoration: underline dotted currentColor;
  text-decoration-thickness: 1px;
}

.clock {
  font-size: 11vw;
  text-align: center;
  grid-column: span 2;
  line-height: 1;
  margin-top: 2rem;
}

.desc {
  font-size: 5vw;
  text-align: center;
  grid-column: span 2;
  line-height: 1;
}

#music {
  position: fixed;
  bottom: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}
#music svg {
  fill: currentColor;
  height: 4rem;
}
#music div {
  color: #8e7b57;
  font-size: 0.5rem;
  margin-left: -1rem;
}
#music[aria-checked=false] div {
  display: none;
}
#music[aria-checked=false] .on {
  display: none;
}
#music[aria-checked=true] .off {
  display: none;
}