*, *:after, *:before {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: rgb(0,34,108);
  /*background: rgb(200,200,200);*/
  font-size: .75rem;
  /*display: flex;*/
  /*flex-direction: column;*/
  /*max-height: 100vh;*/

  font-family: "Input Sans Cond Med", system-ui, sans-serif;
  font-display: swap;

}
header {
  color: #ddd;
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
  margin-top: 2rem;
}
h1, h2 {
  font-weight: normal;
  font-style: normal;
}
h1 {
  text-transform: uppercase;
  letter-spacing: .1rem;
  margin-bottom: .5rem
}
h2 {
  letter-spacing: -.05rem;
  margin: 0;
}
aside {
  position: fixed;
  bottom: 1rem;
  left: 0;
  right: 0;
}
main {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: -1;
  padding-bottom: 5rem;
  min-height: calc(100vh - 120px);
  min-height: -webkit-fill-available;
}
main canvas {
  max-width: 95vw;
  max-height: calc(100vh - 10rem);
  width: auto !important;
  height: auto !important;
}
.Location {
  margin: 0 auto;
  max-width: 24rem;
  background: rgba(25,25,25,.25);
  box-shadow: 0 2px 5px rgba(0,0,0,.25);
  /*text-align: right;*/
  padding: .25rem 1rem;
}
.GeolocationForm {
  clear: both;
  display: flex;
  margin: .5rem auto;
  padding-bottom: .25rem;
}
.GeolocationForm button,
.GeolocationForm input {
  height: 2rem;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  padding: .25rem;
  border: .5px solid rgba(0,0,0,.5);
  border-radius: 0;
  font-family: "Input Sans Cond Med", system-ui, sans-serif;
}
.GeolocationForm input {
  min-width: 5rem;
  margin-right: .25rem;
}
.GeolocationForm button {
  position: relative;
  box-shadow: 2px 2px 0 rgba(0,0,0,.05);
  background: linear-gradient(rgb(233,233,233), rgb(200,200,200));
}
.GeolocationForm button:active {
  top: 1px;
  left: 1px;
  box-shadow: 1px 1px 0 rgba(0,0,0,.25);
  background: linear-gradient(rgb(233,233,233), rgb(175,175,175));
  color: inherit;
}
button.GeolocationButton {
  position: relative;
  padding-right: .75rem;
  margin-right: 1rem;
}
button.GeocoderButton {
  width: 2rem;
}
.MessageBox {
  color: #bbb;
}

.FormHiderLabel {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  color: rgba(255,255,255,.25);
  font-weight: 600;
  -webkit-user-select: none;
  user-select: none;
  padding: .5rem 0;
}
.FormHider {
  display: none;
}
.FormHider:checked ~ .GeolocationForm {
  display: none;
}
.FormHider:checked,
.FormHider:checked ~ * {
  opacity: .75;
}
.FormHider + label:after {
  content: "▼";
}
.FormHider:checked + label:after {
  content: "📍";
}
.FormHider:checked + label {
  margin: -.25rem -1rem;
  padding: .75rem 1rem;
}

@media only screen and (max-width: 50rem) {
  .GeolocationForm {
    margin: 0;
  }
}