/* Background styling */
body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #74ebd5, #acb6e5);
  height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Weather card */
.container {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
  width: 350px;
  transition: all 0.3s ease;
}

.container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

h2 {
  margin-bottom: 20px;
  color: #000000;
  letter-spacing: 1px;
}

/* Search box */
.search-box {
  display: flex;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 5px;
}

input {
  border: none;
  padding: 10px;
  border-radius: 8px;
  flex: 1;
  outline: none;
  font-size: 16px;
  background: transparent;
  color: #fff;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

button {
  background-color: #00ffb3;
  border: none;
  border-radius: 8px;
  padding: 10px 15px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s;
}

button:hover {
  background-color: #00e0a3;
  transform: scale(1.05);
}

/* Weather result */
.result-box {
  margin-top: 25px;
  color: #000000;
  font-size: 17px;
}

.result-box h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.result-box p {
  margin: 5px 0;
}

/* Footer */
footer {
  position: absolute;
  bottom: 10px;
  text-align: center;
  color: #fff;
  font-size: 14px;
  opacity: 0.8;
}

footer span {
  color: #00ffb3;
  font-weight: bold;
}
