/* style.css */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  color: white;
  transition: background 0.5s ease;
  background-size: cover;
  background-position: center;
  text-align: center;
}

.weather-app {
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem 3rem;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

h1 {
  margin-bottom: 0.5rem;
}

#temperature {
  font-size: 3rem;
  margin: 1rem 0;
}

#toggle {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 0.5rem;
  background-color: #00aaff;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

#toggle:hover {
  background-color: #0088cc;
}

@media (max-width: 600px) {
  .weather-app {
    width: 85%;
    padding: 1.5rem;
  }
  #temperature {
    font-size: 2.2rem;
  }
}
