@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500&family=Open+Sans:wght@300;600&display=swap");
html {
  font-size: 14px;
  background-image: url(assets/square_bg.png);
  background-repeat: repeat;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Open Sans", sans-serif;
}
body {
  font-size: 13px;
  font-family: sans-serif;
  overflow: hidden;
}
h2,
h1 {
  font-family: montserrat, sans-serif;
}
h1 {
  margin-bottom: 0.5em;
  font-size: 1.5rem;
}
h2 {
  margin-bottom: 0.5em;
  font-size: 1rem;
}
a {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
  pointer-events: auto;
}
a:hover {
  opacity: 0.8;
}
canvas {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}
#tools.hidden {
  display: none;
}
#tools {
  position: absolute;
  left: 1em;
  top: 1em;
  z-index: 10;
  width: 480px;
  max-width: calc(100vw - 2em);
  max-height: calc(100vh - 2em);
  overflow-y: auto;
  overscroll-behavior: contain;
}
map-browser {
  display: block;
  width: 100%;
  aspect-ratio: 1;
}
.gui-map-row {
  display: block;
}
.gui-row > .gui-control.gui-btn-group {
  flex: 0 0 calc(100% - var(--gui-label-width));
}
.gui-source-row {
  align-items: start;
}
.gui-source-row .gui-label {
  flex: 0 0 auto;
}
.gui-source-row .gui-monitor {
  flex: 1 1 auto;
  text-align: right;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
x-button {
  text-shadow: none;
}
x-button svg {
  fill: #3c3c3d;
}
x-button:hover svg {
  fill: white;
}
