body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #a1c4fd, #c2e9fb);
  color: #333;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  transition: background 1s ease;
}

.container {
  text-align: center;
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  width: 90%;
  max-width: 500px;
}

h1 {
  color: #0066cc;
  margin-bottom: 20px;
}

.search-box {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

select {
  padding: 10px;
  font-size: 16px;
  border-radius: 30px;
  border: 1px solid #ccc;
  outline: none;
  width: 70%;
  cursor: pointer;
}

button {
  padding: 10px 15px;
  border: none;
  background-color: #0066cc;
  color: white;
  font-size: 16px;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

button:hover {
  background-color: #004c99;
  transform: scale(1.05);
}

.weather-box {
  background: rgba(255,255,255,0.95);
  border-radius: 15px;
  padding: 20px;
  display: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  text-align: center;
  max-height: 70vh; /* limit height */
  overflow-y: auto; /* scrollable */
}

.hourly-forecast {
  display: flex; /* horizontal scroll */
  gap: 10px;
  margin-top: 20px;
  overflow-x: auto; /* scroll horizontally */
  padding-bottom: 10px;
}

.hour-box {
  min-width: 120px; /* fixed width */
  background: #f0f8ff;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  font-size: 14px;
  text-align: center;
  flex-shrink: 0; /* prevent shrinking */
}


.hourly-forecast {
  scroll-behavior: smooth;
}


.container {
  margin-top: 20px;
}

