@media (prefers-color-scheme: light) {
  body > header,
  body > footer {
    text-shadow:
      0 0 1px rgba(255,255,255,.5),
      0 0 10px rgba(255,255,255,1);
  }
}

@media (prefers-color-scheme: dark) {
  body > header,
  body > footer {
    color: rgba(255,255,255,.9);
    text-shadow:
      0 0 1px rgba(0,0,0,.5),
      0 0 4px rgba(0,0,0,1);
  }
}

/* -- Header ---------------------------------------------------------------- */
body > header {
  left: 0;
  padding: var(--grid-1);
  position: fixed;
  top: 0;
  z-index: 1;
}

.back {
  align-items: center;
  color: inherit;
  display: flex;
  text-decoration: none;
}

/* -- Footer ---------------------------------------------------------------- */
body > footer {
  bottom: 0;
  font-size: 0.7rem;
  left: 0;
  line-height: 1rem;
  padding: 0 0 var(--grid-2);
  pointer-events: none;
  position: fixed;
  right: 0;
  text-align: center;
}

@media (max-width: 700px) {
  body > footer {
    padding-bottom: var(--grid-4);
  }
}

body > footer p {
  margin: 0;
}

/* -- Main ------------------------------------------------------------------ */
body > main {
  bottom: 0;
  left: 0;
  max-width: none;
  padding: 0;
  position: fixed;
  right: 0;
  top: 0;
}

#map {
  height: 100%;
  width: 100%;
}

#map .callout  {
  align-items: center;
  display: flex;
  height: 250px;
  overflow-y: scroll;
  overscroll-behavior: contain;
  text-align: left;
  width: 300px
}

#map .callout dl {
  width: 100%;
}
