:root {
  --accent-color: #ff8811;
  --accent-text: #fff;
  --text-color: black;
  --background-color: white;
  --card-color: white;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent-color: #ff8811;
    --accent-text: #fff;
    --text-color: white;
    --background-color: #121212;
    --card-color: #1d1d1d;
  }
}
html,
body {
  background-color: var(--background-color);
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
  font-family: "Noto Sans", sans-serif;
  font-size: small;
}
p {
  color: var(--text-color);
  margin: 0;
}
a {
  text-decoration: none;
  color: inherit;
} /* Globally */
div {
  color: var(--text-color);
}

/* Each state */

a:visited {
  text-decoration: none;
  color: inherit;
}
a:hover {
  text-decoration: none;
  color: inherit;
}
a:focus {
  text-decoration: none;
  color: inherit;
}
a:hover,
a:active {
  text-decoration: none;
  color: inherit;
}
#page-container {
  max-width: 99.75rem;
  margin: 0 auto;
  position: relative;
  min-height: 100%;
}
#content-wrap {
  padding-bottom: 4rem; /* Footer height */
}
#footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 4rem; /* Footer height */
}
#routelist {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.routecontainer {
  height: 4rem;
  width: auto;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 10px;
  display: flex;
  overflow: hidden;
  background-color: var(--card-color);
  align-items: center;
  padding: 0.5rem 1rem;
  gap: 10px;
}
/* .routecode {
  width: 5.5rem;
  background-color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: x-large;
  color: var(--accent-text);
  border-radius: 15px 0px 0px 15px;
  font-family: "Sarabun", serif;
  font-weight: 800;
  font-style: normal;
} */
/* .routedetail {
  color: #000;
  height: 100%;
  width: 100%;
  background-color: black;
  padding: 0rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
} */

footer {
  text-align: center;
}

.fa-github {
  color: var(--text-color);
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: var(--background-color);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  max-height: 80%;
  border-radius: 15px;
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.route-pill {
  width: 2em;
  padding: 0px 3px;
  text-align: center;
  font-family: "Sora", sans-serif;
  /* font-weight: 600; */
  font-style: normal;
}

.menu-pill {
  font-size: 2rem;
}

.trunk-pill {
  border-radius: 0.1em;
  font-weight: 800;
}

.feeder-pill {
  border-radius: 1em;
  font-weight: 700;
}

.route-name {
  flex-grow: 2;
  font-size: large;
  font-weight: 700;
}

.route-counter {
  text-align: right;
}
