/* Background */
body {
  margin: 0;
  height: 100vh;
  font-family: "Poppins", sans-serif;
  background: url("./images.jpg") 
              no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #333;
}

/* Container */
.container {
  background: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  width: 320px;
}

/* Heading */
h1 {
  margin-bottom: 15px;
  color: #0066cc;
}

/* Input box */
.input-box {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}

.input-box input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}

.input-box button {
  background-color: #0066cc;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.input-box button:hover {
  background-color: #0052a3;
}

/* Weather card */
.weather-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  animation: fadeIn 0.6s ease;
}

.weather-card h2 {
  margin-bottom: 8px;
  color: #333;
}

.weather-card p {
  margin: 5px 0;
  font-size: 18px;
}

.hidden {
  display: none;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
