* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: #e6f2f7;
  font-family: "Poppins", "Segoe UI", sans-serif;
}
h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0b3d91;
  letter-spacing: 1px;
  margin-left: 25px;
  margin-top: 10px;
}
h2,
h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e2a33;
}
h3 {
  font-size: 70px !important;
}
p {
  font-size: 1rem;
  font-weight: 400;
  color: #333;
  margin: 5px 0;
}
.todays-weather {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 555px;
  margin: 20px auto;
}
.search-weather {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}
.search-weather input {
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 450px;
}
.search-weather button {
  background-color: #0b3d91;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 15px;
  margin-left: 10px;
  cursor: pointer;
  font-weight: 600;
}
.search-weather button:hover {
  background-color: #094080;
}
.container {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  margin-top: 70px;
}
.todays-weather-container {
  display: flex;
  justify-content: center;
}
.main-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#weatherImg {
  width: 100%;
  max-width: 180px;
  height: auto;
}

.black-background {
  background: #222;
}
.card-color {
  background: linear-gradient(135deg, #00feba, #5b548a);
  color: #fff;
}
.button-change {
  background-color: white !important;
  color: black !important;
}
.search-weather input:focus {
  outline: none;
  border-color: #0b3d91;
  box-shadow: 0 0 5px rgba(11, 61, 145, 0.5);
}

.search-weather button:active {
  transform: scale(0.97);
}
@media(max-width:768px){
  h1{text-align: center;}

}
