@font-face {
  font-family: defaultFont;
  src: url(./font.woff2);
}

body {
  overflow: hidden;
  font-family: defaultFont;
}

.loading-screen {
  /* Make it fit the whole screen */
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 100000;
  background-color: white;
  /* Center text */
  display: flex;
  justify-content: center;
  align-items: center;
}

.overlay {
  /* Position these in front of the map */
  z-index: 10000;
  position: absolute;
  /* Space for margin around them */
  margin-top: 10px;
  width: 94%;
  max-width: 400px;
  /* Centered */
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;
}

.top {
  /* The two items in the top bar should take up equal space */
  display: flex;
  flex-direction: column;
  /* Opaque background */
  background-color: white;
  border-radius: 50px;
}

.top .expanded {
  /* Set an absolute height */
  height: 200px;
}

.top > * {
  /* Grow each the same size */
  flex-grow: 1;
  /* Center text inside them */
  display: flex;
  /* Make the font readable */
  font-size: 20px;
  padding: 10px 30px;
}

.counters > span {
  /* Horizontally distribute */
  flex-grow: 1;
}

.instructions {
  /* Move text to the bottom of the instruction box */
  align-items: end;
  /* Center text */
  justify-content: center;
}

.minimizer {
  /* Align horizontally center */
  display: flex;
  flex-direction: column;
  /* Move it up a little */
  margin-top: -10px;
  color: gray;
}

.minimized {
  visibility: hidden;
}

.tiny {
  /* Weird hack, why is this needed? */
  font-size: 13px;
  margin-top: 0;
}

.input-box {
  /* Move it under the instructions and counter */
  top: 165px;
  /* Fix the height */
  height: 50px;
  /* Text shouldn't go all the way to the edges */
  padding: 10px 30px;
  /* Round corners */
  border-radius: 50px;
  /* Override `input` CSS defaults */
  font-size: 20px;
  font-family: defaultFont;
}

#map {
  height: 100%;
}

.guessed {
  opacity: 100%;
}

.label {
  font-size: 15;
  font-family: defaultFont;
}

#hwy85 {
  color: orange;
}

#hwy280 {
  color: red;
}

#hwy101 {
  color: blue;
}

#hwy92 {
  color: green;
}
