
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #0e0e10;
  color: #f1f1f1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

#weather-container {
  background: #1a1a1d;
  padding: 35px 30px;
  border-radius: 20px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
  text-align: center;
  transition: 0.3s ease-in-out;
}

#weather-container:hover {
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.25);
}

#weather-container h2 {
  font-size: 30px;
  color: #00e5ff;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

input[type="text"] {
  width: 100%;
  padding: 14px 18px;
  background: #2a2a2d;
  border: 1px solid #333;
  border-radius: 10px;
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 15px;
  outline: none;
  transition: border 0.3s;
}

input[type="text"]:focus {
  border-color: #00e5ff;
}

button {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: none;
  background: #00e5ff;
  color: #000;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-weight: 500;
  margin-bottom: 20px;
}

button:hover {
  background: #00cde0;
}

#weather-icon {
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin: 20px auto;
  display: none;
}

#temp-div {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #ffffff;
}



#hourly-forecast {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  padding: 15px 10px;
  background-color: rgba(255, 255, 255, 0.05); /* light transparent bg */
  border-radius: 10px;
  margin-top: 20px;
  scrollbar-width: thin;
  scrollbar-color: #888 transparent;
}

#hourly-forecast::-webkit-scrollbar {
  height: 8px;
}

#hourly-forecast::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

#hourly-forecast::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.hour {
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.15); /* semi-transparent */
  color: #fff;
  padding: 10px;
  border-radius: 10px;
  min-width: 120px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  font-family: 'Poppins', sans-serif;
}

