body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #dbeafe;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  text-align: center;
  background-color: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 400px;
}

h1 {
  margin-bottom: 20px;
  font-size: 28px;
}

.search-box {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

input[type="text"] {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  flex: 1;
  background-color: #f1f5f9;
  outline: none;
}

button {
  padding: 10px 15px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #0056b3;
}

.weather-box {
  position: relative;
  padding: 20px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  min-height: 150px;
  color: white;
}

.weather-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
  border-radius: 10px;
}

.weather-box * {
  position: relative;
  z-index: 1;
}

.weather-box p {
  font-size: 18px;
  margin: 10px 0;
}
