@import url(https://fonts.googleapis.com/css?family=Roboto:100,100italic,300,300italic,regular,italic,500,500italic,700,700italic,900,900italic);

body {
  font-family: "Roboto", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  background-color: #f0f0f0;
}

.container {
  text-align: center;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  min-width: 70%;
  margin-top: 20px;
}

button {
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  background-color: #28a745;
  color: white;
  cursor: pointer;
  margin-top: 20px;
}

button:hover {
  background-color: #218838;
}

#status {
  margin-top: 15px;
  font-weight: bold;
}

ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}
#locationList {
  max-height: 400px;
  overflow-y: scroll;
}

li {
  margin: 5px 0;
}
#map {
  height: 600px;
  max-height: 50vh;
  width: 100%;
}

nav.nav {
  width: 320px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateX(-320px);
  transition: transform 350ms ease-in-out;
  top: 0;
  left: 0;
  position: fixed;
  min-height: 100vh;
  z-index: 1000;
  max-height: 100vh;
  overflow-y: hidden;
}

span.toggle {
  position: absolute;
  top: 5px;
  right: 5px;
}
#menu-toggle {
  display: none;
}

#menu-toggle ~ span {
  display: inline-block;
  width: 24px;
  cursor: pointer;
  background: #fff;
}

#menu-toggle:checked ~ span {
  font-weight: bold;
}

nav.nav:has(#menu-toggle:checked) {
  transform: translateX(0);
  overflow-y: scroll;
}

#previousRoutes h3 {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 12px;
}

#previousRoutes h3::before {
  display: inline-block;
  content: "•";
  font-size: 16px;
  color: black;
  padding-right: 6px;
}
