/* Base Styles */
body {
  font-family: "Lato", sans-serif;
  transition: all 0.5s ease;
  min-height: 100vh;
  margin: 0;
  background-size: cover;
  background-position: center;
}

/* Background Themes */
body.day {
  background-color: #f0f2f5;
  color: #333;
}

body.night {
  background-color: #0a1128;
  color: #f5f5f5;
}

body.rainy {
  background-image: url("https://assets.codepen.io/13471/rain-animation.gif");
}

body.snowy {
  background-image: url("https://assets.codepen.io/13471/snow-animation.gif");
}

body.windy {
  background-image: url("https://assets.codepen.io/13471/wind-animation.gif");
}

body.sunny {
  background: linear-gradient(135deg, #ffc371, #ff5f6d);
}

body.cloudy {
  background: linear-gradient(135deg, #bdc3c7, #2c3e50);
}

/* App Container */
.weather-app {
  background: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 45px auto;
  padding: 30px;
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.15);
  border-radius: 16px;
  transition: all 0.3s ease;
}

body.night .weather-app {
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
}

/* Existing Styles (Keep these from your original CSS) */
header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0 0 30px 0;
}

.search-form-input {
  background-color: rgba(249, 247, 254, 0.8);
  border: none;
  border-radius: 6px;
  width: 80%;
  padding: 15px 20px;
  font-size: 16px;
}

.search-form-button {
  background-color: #885df1;
  padding: 15px 30px;
  border: none;
  border-radius: 6px;
  color: white;
  margin-left: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-form-button:hover {
  background-color: #6a4ac9;
}

.weather-app-data {
  display: flex;
  justify-content: space-between;
}

.weather-app-city {
  margin: 0;
  font-size: 38px;
  line-height: 48px;
}

.weather-app-details {
  font-size: 16px;
  line-height: 24px;
  color: rgba(39, 33, 66, 0.6);
  font-weight: 500;
}

body.night .weather-app-details {
  color: rgba(255, 255, 255, 0.7);
}

.weather-app-details strong {
  color: #f65282;
}

.weather-app-temp-container {
  display: flex;
}

.weather-app-temp {
  font-size: 88px;
  font-weight: bold;
  margin-left: 10px;
}

.weather-app-icon {
  width: 64px;
  height: 64px;
  margin-top: 22px;
}

.weather-app-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.weather-app-unit {
  margin-top: 16px;
  font-size: 28px;
}

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 30px 0 0 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

body.day footer {
  color: rgba(0, 0, 0, 0.6);
}

a {
  color: #b399f8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
