/* CSS for Weather Forecast page */

body {
  font-family: Arial, sans-serif;
  background-color: #f2f2f2;
  margin: 0;
}

h1 {
  font-size: 3rem;
  text-align: center;
  margin: 2rem 0;
  color: #00539f;
  text-shadow: 1px 1px #fff;
}

form {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

label {
  font-size: 1.5rem;
  color: #555;
  margin-right: 1rem;
}

input[type="text"] {
  padding: 0.5rem;
  font-size: 1.5rem;
  border-radius: 5px;
  border: none;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.2s ease-in-out;
}

input[type="text"]:focus {
  outline: none;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
}

button {
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  border: none;
  background-color: #00539f;
  color: #fff;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

button:hover {
  background-color: #003366;
}

#forecast {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  margin: 2rem 0;
}

.day {
  background-color: #fff;
  margin: 1rem;
  padding: 1.5rem;
  border-radius: 5px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease-in-out;
}

.day:hover {
  transform: translateY(-5px);
}

.date {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00539f;
  text-align: center;
  margin-bottom: 1rem;
}

.weather-icon img {
  width: 100px;
  height: 100px;
  margin: 0 auto;
  display: block;
}

.temp {
  font-size: 1.5rem;
  color: #555;
  text-align: center;
  margin-top: 1rem;
}

.description {
  font-size: 1.2rem;
  color: #888;
  text-align: center;
  margin-top: 1rem;
}
