body {
  color: #f0f0f0;
  background: black;
  font-family: Arial, sans-serif;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
  transition: background-image 0.5s ease;
}

.home #homeButton,
.useMap #useMapButton,
.recentSearches #recentSearchesButton,
.about #aboutButton {
  background: #404040;
}

.useMap .search-container, .recentSearches .search-container {
  display: none;
}

#appTitle {
    margin-bottom: 30px;
}

#navbar {
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(171, 203, 222, 0.05) 100%
  );
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
  padding: 10px;
  border-radius: 8px;
}

#navbar button, .cta button {
  cursor: pointer;
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(171, 203, 222, 0.05) 100%
  );
  border: none;
  border-radius: 5px;
  padding: 5px;
  color: #f0f0f0;
  font-size: 14px;
}

.cta button {
  margin-bottom: 20px;
}

#navbar button:active {
  background: gray;
}

.container, .design1 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 30px;
  box-shadow: rgba(200, 200, 200, 0.3) 0px 1px 2px 0px,
    rgba(200, 200, 200, 0.15) 0px 1px 3px 1px;
  border-radius: 8px;
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(171, 203, 222, 0.05) 100%
  );
  position: relative;
  overflow: hidden;
}

.design1 {
  margin: 20px auto;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.search-container {
  display: flex;
  gap: 10px;
  justify-content: center;
  position: relative;
}

input {
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(171, 203, 222, 0.05) 100%
  );
  padding: 12px;
  width: 300px;
  border-radius: 6px;
  font-size: 16px;
  color: #c0c0c0;
  border: none;
}

input:focus {
  outline: none;
}

#getWeather {
  padding: 12px 24px;
  background: #007bff;
  color: #f0f0f0;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease;
}

#getWeather:hover {
  background: #0056b3;
}

#map {
  margin: 30px 0;
  border-radius: 8px;
}

#weather-info {
  background-image: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(171, 203, 222, 0.05) 100%
  );
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 30px 0;
  padding: 20px;
  border-radius: 8px;
}

.recentSearches .main .search-item {
  text-align: center;
  font-weight: bold;
  margin: 20px;
}

#weather-info h2,
#weather-info h3,
#weather-info p {
  margin: 0 10px;
  color: #f0f0f0;
}

#air-quality {
  background-image: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(171, 203, 222, 0.05) 100%
  );
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  margin: 30px 0;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

#air-quality-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

#air-quality-index {
  font-size: 24px;
  font-weight: bold;
  margin: 10px 0;
  color: #f0f0f0;
}

#air-quality-description {
  background-color: #f0f0f0;
  color: #333;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 14px;
}

.good {
  background-color: #4caf50;
}

.fair {
  background-color: #ffc107;
}

.moderate {
  background-color: #ff9800;
}

.poor {
  background-color: #e53935;
}

.very-poor {
  background-color: #b71c1c;
}

.forecast-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px 0;
}

.forecast-card {
  background-image: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(171, 203, 222, 0.05) 100%
  );
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.forecast-card:hover {
  transform: translateY(-5px);
}

.forecast-card h4 {
  margin: 0 0 10px 0;
  color: #c0c0c0;
}

.weather-icon {
  width: 50px;
  height: 50px;
  margin: 10px 0;
}

.forecast-container {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.forecast-container::-webkit-scrollbar {
  display: none;
}

.suggestions {
  background: linear-gradient(rgba(1, 1, 1, 1) 100%, rgba(1, 1, 1, 1) 100%);
  position: absolute;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  max-height: 200px;
  overflow-y: auto;
  z-index: 1;
  width: 300px;
  top: 50px;
  left: 0;
  display: none;
}

.suggestions div {
  padding: 10px;
  cursor: pointer;
  color: #c0c0c0;
}

.suggestions div:hover {
  background-image: linear-gradient(
    0deg,
    rgba(105, 105, 105, 0.5) 100%,
    rgba(105, 105, 105, 0.5) 100%
  );
}
