body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(-45deg, #ff9a9e, #fad0c4, #fbc2eb, #a1c4fd);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  color: #222;
}

@keyframes gradient {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}
header {
  width: 100%;
  max-width: 600px;
  margin-top: 40px;
  text-align: center;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  margin: 0;
  color: #fff;
  text-shadow: 1px 2px 8px rgba(0,0,0,0.3);
}

h2 {
  font-size: 18px;
  font-weight: 400;
  margin-top: 8px;
  color: rgba(255,255,255,0.85);
}
.search-form {
  display: flex;
  justify-content: center;
  margin-top: 25px;
  gap: 10px;
}

.search-form-input {
  flex: 1;
  padding: 12px 18px;
  border-radius: 50px;
  border: 2px solid #fff;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
}

.search-form-input:focus {
  border-color: #ff6700;
  box-shadow: 0 4px 12px rgba(255,103,0,0.3);
}

.search-form-button {
  background: #ff6700;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.search-form-button:hover {
  background: #ff8c00;
  transform: scale(1.05);
}
.weather-app {
  background: rgba(255,255,255,0.95);
  max-width: 600px;
  margin: 40px auto;
  padding: 30px;
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.weather-app-city {
  font-size: 36px;
  font-weight: 700;
  margin: 0;
  color: #ff6700;
  text-align: center;
}

.weather-app-details {
  font-size: 16px;
  color: rgba(0,0,0,0.6);
  text-align: center;
  line-height: 1.5;
}

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

.weather-app-temperature-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.weather-app-temperature {
  font-size: 80px;
  font-weight: 700;
  color: #ff6700;
  line-height: 1;
}

.weather-app-unit {
  font-size: 28px;
  color: #ff6700;
  margin-top: 12px;
}
.weather-forecast {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 15px 0;
  scroll-behavior: smooth;
}

.weather-forecast::-webkit-scrollbar {
  height: 8px;
}

.weather-forecast::-webkit-scrollbar-thumb {
  background: rgba(255,140,0,0.7);
  border-radius: 10px;
}

.weather-forecast::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.05);
  border-radius: 10px;
}

.weather-forecast-day {
  flex: 0 0 120px;
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  border-radius: 25px;
  padding: 15px 10px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
}

.weather-forecast-day::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 25px;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.weather-forecast-day:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.weather-forecast-day:hover::before {
  opacity: 1;
}

.weather-forecast-date {
  font-weight: 600;
  color: #ff8c00;
  margin-bottom: 10px;
  font-size: 18px;
}

.weather-forecast-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

.weather-forecast-temperatures {
  display: flex;
  justify-content: center;
  gap: 5px;
  font-weight: bold;
  color: #ff6700;
  font-size: 16px;
}

.weather-forecast-temperature {
  display: inline-block;
  min-width: 30px;
}
footer {
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: rgba(25,2,0.8);
  margin-top: auto;
}
