body {
  font-family: Arial, sans-serif;
  background-color: #f0f4f8;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding-top: 50px;
}

.weather-app {
  background-color: white;
  width: 350px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.search-box {
  margin-bottom: 20px;
}

#cityInput {
  width: 65%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

#searchBtn {
  padding: 10px 14px;
  border: none;
  border-radius: 6px;
  background-color: #4caf50;
  color: white;
  cursor: pointer;
}

#searchBtn:hover {
  background-color: #45a049;
}

#weatherResult {
  margin-top: 20px;
}

#weatherResult {
  margin-top: 20px;
  padding: 15px;
  background-color: #f7f9fb;
  border-radius: 10px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}
.weather-icon {
  font-size: 48px;
  margin-bottom: 10px;
}

.weather-app h1 {
  margin-bottom: 20px;
}

.search-box {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

#cityInput {
  flex: 1;
}

#searchBtn {
  white-space: nowrap;
}
#weatherResult h2 {
  margin: 10px 0;
}
#weatherResult p {
  margin: 5px 0;
  color: #555;
}
.weather-icon {
  text-align: center;
}
#searchBtn {
  transition: background-color 0.2s ease;
}