* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Noto Sans", sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #eee;
  color: #666;
  background-image: url("../img/arches.png");
  line-height: 1.2;
}

#logo {
  margin-bottom: 1.25ex;
  color: #f7247b;
}

.emoji img {
  display: inline-block;
  height: 28px;
  vertical-align: middle;
  margin-top: -2px;
}
.emoji img:nth-child(1) {
  margin-left: -1px;
}
.emoji img:nth-child(2) {
  margin-left: -6px;
}
.emoji img:nth-child(3) {
  margin-left: -7px;
}
.emoji img:nth-child(4) {
  margin-left: -9px;
}

.slogan {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #777;
  letter-spacing: 0.015rem;
  margin-left: 2px;
}

#app {
  width: 100%;
  max-width: 425px;
  background: #fff;
  padding: 15px 24px 24px 24px;
  border-radius: 10px;
  box-shadow: 0px 0px 4px 2px rgba(0, 0, 0, 0.085);
  border: 1px solid #ccc;
}

.categories h2 {
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 400;
}

#stop-selector {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

#stop-id {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  background: #f2f2f2;
  border-radius: 5px;
  color: #444;
}

.btn {
  padding: 10px;
  border: none;
  background: #f95599;
  color: #fff;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}
.btn:hover {
  background: #ba386d;
}

#arrivals-container {
  position: relative;
  margin-top: 20px;
}

#bus-arrivals {
  max-height: 300px;
  overflow-y: auto;
  border-top: 1px solid #ccc;
  padding-top: 5px;
  scrollbar-width: none;
}

.arrival {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.loading {
  text-align: center;
  font-weight: bold;
  padding: 10px;
}

#category-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  text-align: center;
}

.cat-btn {
  display: block;
  padding: 15px;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
}

#filter-buttons {
  margin-top: 15px;
  margin-bottom: -10px;
}
#filter-buttons button {
  outline: none;
  border: none;
  cursor: pointer;
  background-color: rgba(247, 36, 123, 0.5);
  margin-right: 5px;
  padding: 2px 10px 2px 10px;
  border-radius: 3px;
  color: #000;
  margin-top: 5px;
}
#filter-buttons button:last-of-type {
  margin-right: 0;
}
#filter-buttons button.active {
  background-color: rgba(247, 36, 123, 0.9);
  color: #fff;
}

.footer {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 20px;
}
.footer a {
  text-decoration: none;
  color: #444;
  border-bottom: 1px solid #bbb;
}
.footer .left {
  text-align: left;
  color: #f7247b;
  font-weight: 700;
}
.footer .right {
  text-align: right;
}

.info {
  position: absolute;
  bottom: 10px;
  right: 15px;
}

.info a {
  text-decoration: none;
  color: #ba386d;
}

.hidden {
  display: none;
}

.loading-dots {
  display: inline-block;
  font-size: 24px; /* Adjust the size as needed */
}
.loading-dots span {
  opacity: 0;
  animation: blink 1.4s infinite;
}
.loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes blink {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
