body {
  padding: 2em;
  font-family: "Andika", sans-serif;
  background-color: #2d2d30;
  color: #eee;
  margin: 0;
}
.container {
  max-width: 600px;
  margin: 0 auto;
}
h1 {
  margin: 0.4em 0 0 0;
  font-size: 3em;
  line-height: 1.2;
}
.cy-name {
  margin: 0;
  font-size: 2em;
}
#location {
  margin: 0.4em 0 1em 0;
  font-weight: normal;
  font-size: small;
}
.field {
  margin: 0.5em 0;
}
.flex-container {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
}
input {
  width: 100%;
  padding: 0.5em;
}
#suggestions {
  position: absolute;
  top: 100%; /* Just below the input field */
  left: 0;
  width: 100%;
  background: white;
  border-top: none;
  z-index: 1001; /* Ensure it's on top of other content */
  max-height: 300px;
  overflow-y: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 0;
  margin: 1em 0;
}
li {
  padding: 0.5em;
  background: #171e24;
  margin-bottom: 0.2em;
  cursor: pointer;
}
li:hover {
  background: #1c2a35;
}
td {
  border: 0px solid black;
  padding: 10px;
}
#map {
  width: 100%;
  height: 300px;
  margin: 1em 0;
}
#dem-buttons {
  display: flex;
  justify-content: center;
}
.dem-btn {
  margin: 5px;
  padding: 6px 12px;
  background-color: #eee;
  border: none;
  cursor: pointer;
  font-weight: bold;
}
.dem-btn:hover {
  background-color: #ccc;
}
.dem-btn.active {
  background-color: #007bff; /* Bootstrap blue */
  color: white;
  border: 1px solid #0056b3;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.extra-info {
  padding: 1.5em;
}

@media (max-width: 600px) {
  h1 {
    font-size: 2em;
  }
  .cy-name {
    font-size: 1.5em;
  }
  #location {
    font-size: 0.9em;
  }
  #map {
    height: 200px;
  }
  input {
    font-size: 1em;
  }
  .dem-btn {
    padding: 8px;
    font-size: 0.9em;
  }
  .flex-container {
    flex-direction: column;
    align-items: stretch;
  }
}
