
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  margin-top: 50px;
  background-color: #1e1e2f;
  color: #ffffff;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #ffcc00;
}

input {
  padding: 12px;
  font-size: 16px;
  width: 240px;
  border: none;
  border-radius: 5px;
  background-color: #2e2e3e;
  color: white;
  outline: none;
}

input::placeholder {
  color: #ccc;
}

button {
  padding: 12px 18px;
  font-size: 16px;
  cursor: pointer;
  margin-left: 10px;
  border: none;
  border-radius: 5px;
  background-color: #ffcc00;
  color: #1e1e2f;
  font-weight: bold;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #ffaa00;
}

#weatherDisplay {
  margin-top: 30px;
  padding: 25px;
  display: inline-block;
  border-radius: 12px;
  background-color: #2a2a3d;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  min-width: 300px;
  max-width: 400px;
  color: #e0e0e0;
  transition: 0.3s;
}

#weatherDisplay h2 {
  color: #ffcc00;
  margin-bottom: 15px;
}

#weatherDisplay p {
  margin: 8px 0;
  font-size: 1rem;
}

#searchSection {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

#weatherDisplay {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s forwards ease-out;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.weather-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 10px;
}

