* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  line-height: 1.5;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

header {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: #010d2bdd;
  color: white;
  padding: 0.5rem;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  z-index: 1;

  input {
    border: none;
    padding: 0.2rem;
    font-size: 1rem;
    border-radius: 0.2rem;
  }

  .flex {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
}

footer {
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.25rem;
  font-size: 0.6rem;
  z-index: 1;
  text-shadow: 0 0 5px white;

  a {
    color: inherit;
  }
}

main {
  background: #4da6e6;
  min-height: 100vh;
  min-height: 100dvh;
}

h1 {
  font-size: 1rem;
  font-weight: normal;
}

#info-button {
  width: 2em;
  height: 2em;
  border-radius: 1em;
  border: none;
  cursor: pointer;
}

dialog {
  border: none;
  border-radius: 0.5rem;
  padding: 1rem;
  z-index: 1;
  margin: auto;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
}

#info-dialog-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  border: none;
  background: none;
  font-size: 1.5rem;
  cursor: pointer;
}

th,
td {
  text-align: left;
  padding: 0 0.2em;
}

main .mapboxgl-ctrl-scale {
  background-color: #ffffff80;
}
