body, ol, li {
  margin: 0;
  padding: 0;
}

body {
  background-color: black;
  font-family: monospace;
  font-size: 24px;
}

body, a, a:visited {
  color: white;
}

#loading {
  top: 0;
  background-color: black;
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

article .text {
  width: 60%;
  margin: 2em auto;
  text-align: center;
}

.x {
  color: red;
}

#maps {
  list-style: none;
}

#maps li {
  width: 25vw;
  height: 25vh;

  float: left;
  display: inline-block;
  position: relative;
  margin: 0;
  overflow: hidden;
}

#maps li .image-container {
  width: 100%;
  height: 100%;
  position: absolute;
  pointer-events: none;
}

#maps li .image {
  width: 100%;
  height: 100%;
  position: absolute;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;

  transition: left 250ms;
  transition-timing-function: linear;

  left: -100%;
}

#maps li .title-container {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1em;
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#maps li .title {
  /*text-shadow: 0 0 5px white;*/

  display: none;
  text-align: center;
  font-size: 66.66%;
}

#maps li:hover .title {
  display: block;
}

#sort-links {
  display: inline;
}

#sort-links li {
  display: inline;
}

#sort-links li::after {
  content: ', ';
}

#sort-links li:nth-last-child(2):after {
  content: ' or ';
}

#sort-links li:last-child:after {
  content: '';
}

#maps li a {
  top: 0;
  width: 100%;
  height: 100%;
  position: absolute;
}

#maps li svg path {
  fill: none;
  stroke-width: 1;
  stroke-linejoin: round;
  stroke-linecap: round;
}

#maps li .title {
  background-color: rgba(0, 0, 0, 0.2);
  color: white;
  text-shadow: black 1px 0px 1px, black -1px 0px 1px, black 0px 1px 1px, black 0px -1px 1px;
  padding: 0.5em;
  /*display: inline-block;*/
}
/*
#maps li:nth-child(odd) .title {
  color: black;
  text-shadow: white 1px 0px 1px, white -1px 0px 1px, white 0px 1px 1px, white 0px -1px 1px;
}*/

#maps li[data-color="1"] {
  /*background-color: #0000B2;*/
  /*background-color: #B23A1A;*/
  background-color: white;
}

#maps li[data-color="1"] svg path {
  /*stroke: #FFE25E;*/
  /*stroke: #FE5325;*/
  stroke: black;
}

#maps li[data-color="0"] {
  /*background-color: #FFE25E;*/
  /*background-color: #FE5325;*/
  background-color: black;
}

#maps li[data-color="0"] svg path {
  /*stroke: #0000B2;*/
  /*stroke: #B23A1A;*/
  stroke: white;
}

.error line {
  stroke: red;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
