
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #74ebd5, #acb6e5);
  color: #333;
}


.weatherForm {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.25);
  padding: 30px 40px;
  border-radius: 25px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  backdrop-filter: blur(15px);
}

.cityInput {
  padding: 12px 20px;
  border-radius: 12px;
  border: 2px solid #888;
  outline: none;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 20px;
  width: 250px;
  transition: all 0.3s ease;
}

.cityInput:focus {
  border-color: #4facfe;
  box-shadow: 0 0 12px rgba(79, 172, 254, 0.6);
}


.weatherForm button {
  padding: 12px 25px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 25px;
}

.weatherForm button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}


.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.9);
  border-radius: 25px;
  padding: 25px 35px;
  text-align: center;
  width: 280px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}


.cityDisplay {
  margin: 5px 0;
  font-size: 1.8rem;
  font-weight: bold;
}

.tempDisplay {
  margin: 5px 0;
  font-size: 2.5rem;
  font-weight: bold;
}

.humidityDisplay,
.descDisplay {
  margin: 3px 0;
  font-size: 1rem;
  font-weight: 500;
}


.weatherEmoji {
  font-size: 3rem;
  margin: 10px 0;
  transition: transform 0.3s ease;
}

.weatherEmoji:hover {
  transform: scale(1.3) rotate(10deg);
}


.errorDisplay {
  color: #e74c3c;
  font-size: 0.95rem;
  margin-top: 8px;
  font-weight: bold;
  display: block; 
}

