html {
  overflow-x: hidden;
  overflow-y: hidden;
  font-family: "Alef", sans-serif;
}

html, body, #app, #sidebar {
  height: 100%;
}

#p5_loading {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  height: 380px;
  margin: -190px 0 0 -175px;
}

#loading_title {
  font-size: 25px;
  margin-bottom: 10px;
}

#star {
  -webkit-animation:spin 4s linear infinite;
  -moz-animation:spin 4s linear infinite;
  animation:spin 4s linear infinite;
}
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

#loading {
  margin-top: 10px;
}

#title_container {
  border-bottom: 2px solid darkgrey;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

#title {
  margin: 0 0 5px;
}

#subtitle {
  font-size: 20px;
}

#city_name_header, #result_header {
  margin: 0;
  padding-top: 10px;
  padding-bottom: 10px;
}

#sidebar {
  box-sizing: border-box;
  border-left: 2px solid darkgray;
  width: 300px;
  background-color: ghostwhite;
  float: right;
  overflow-y: scroll;
  overflow-x: hidden;
  user-select: none;
  word-wrap: break-word;
}

#city_name_container {
  padding-right: 10px;
  padding-left: 10px
}

#city_name {
  font-size: 50px;
  margin-bottom: 10px;
}

#app {
  width: 100%;
  overflow: hidden;
  display: none;
}

#result_container {
  display: none;
  margin-top: 5px;
  border-top: 2px solid darkgray;
  padding-right: 10px;
  padding-left: 10px
}

#distance {
  font-size: 35px;
  text-decoration: underline;
}

#message {
  margin-top: 10px;
  margin-bottom: 10px;
}

#next {
  width: 100%;
  height: 50px;
  margin-top: 10px;
  margin-bottom: 10px;
  background-color: gray;
  color: lightgray;
  font-weight: 900;
  font-size: 25px;
  border: 2px solid black;
  border-radius: 7px;
  cursor: pointer;
}

#next:hover {
  background-color: dimgray;
  color: lightgray;
}

#next:active {
  background-color: lightgray;
  color: gray;
}

#next:focus {
  outline-offset: 1px;
  outline: darkgrey dashed 2px;
}

.center {
  display: block;
  width: 100%;
  text-align: center;
}