/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Center everything neatly on the page */
body {
  background: linear-gradient(to bottom right, #4facfe, #00f2fe);
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #222;
  padding: 20px;
}

/* Page heading */
h1 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

/* Weather form styling */
form {
  background: rgba(255, 255, 255, 0.15);
  padding: 20px 25px;
  border-radius: 15px;
  display: flex;
  gap: 10px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

label {
  color: #011730;
  font-weight: 500;
  font-size: larger;
}

input[type="text"] {
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  outline: none;
  width: 180px;
  font-size: 1rem;
}

button {
  background-color: #0078ff;
  color: white;
  border: none;
  padding: 9px 15px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #005fcc;
}

/* Weather info box */
#weatherInfo {
  margin-top: 25px;
  background: rgba(255, 255, 255, 0.9);
  padding: 20px 25px;
  border-radius: 15px;
  width: 280px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#weatherInfo h2 {
  color: #0078ff;
  margin-bottom: 10px;
}

#weatherInfo p {
  font-size: 1rem;
  margin-bottom: 6px;
}
