Styling our Weather App using CSS

Styling our Weather App

Open src/App.css and replace it with the following styles:

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #000;
  color: #fff;
  text-align: center;
}

.App {
  padding: 2rem;
}

input {
  padding: 10px;
  font-size: 1rem;
  margin-right: 10px;
  border-radius: 5px;
  border: none;
}

button {
  padding: 10px 20px;
  font-size: 1rem;
  background-color: #00aaff;
  border: none;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
}

button:hover {
  background-color: #008fcc;
}

.error {
  color: red;
  margin-top: 1rem;
}

footer {
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #aaa;
}

footer a {
  color: #00ccff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.time-display {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: #ccc;
}

You’ve added a dark, clean theme with floating icons and animations.