body {
  background-color: hwb(212 87% 1%);
  font-family: "Ubuntu";
}

.weather-app {
  background-color: white;
  max-width: 600px;
  margin: 50px auto;
  padding: 20px;
  box-shadow: 0 30px 50px rgba(47, 36, 72, 0.08);
  border-radius: 16px;
}

header {
  border-bottom: 3px solid hwb(215 91% 2%);
  padding: 0 0 15px 0;
}

.search-form-input {
  background-color: rgb(244, 244, 223);
  border: none;
  border-radius: 5px;
  width: 83%;
  padding: 15px 20px;
  font-size: 14px;
}

.search-form-button {
  background-color: hwb(211 71% 0%);
  border: none;
  border-radius: 5px;
  padding: 15px 20px;
  font-size: 14px;
  font-weight: bold;
  margin-left: 5px;
  color: rgb(83, 90, 90);
}

.search-form-button:hover {
  cursor: pointer;
}

.weather-app-city {
  margin: 0;
  font-size: 38px;
  line-height: 48px;
  color: rgb(54, 54, 54);
}

.weather-app-details {
  font-size: 16px;
  line-height: 22px;
  color: rgba(33, 28, 55, 0.4);
  font-weight: 500;
}

.weather-app-details strong {
  color: hwb(211 35% 3%);
}

.weather-app-temperature-container {
  display: flex;
}

.weather-app-icon {
  width: 80px;
  margin-top: 3px;
}

.weather-app-temperature {
  font-size: 80px;
  font-weight: bold;
  line-height: 75px;
  letter-spacing: -3px;
  color: rgb(54, 54, 54);
  margin-right: 5px;
}

.weather-app-unit {
  font-size: 25px;
  margin-top: 5px;
  color: rgb(54, 54, 54);
  margin-right: 5px;
}

/*forecast section*/
.weather-forecast {
  font-family: "Ubuntu";
  display: flex;
  justify-content: space-around;
  margin: 30px 0 20px;
  flex-wrap: wrap;
  row-gap: 10px;
}

.weather-forecast-date {
  text-align: center;
  font-size: 16px;
  color: rgba(39, 33, 66, 0.4);
  line-height: 20px;
  font-weight: 500;
  margin-bottom: 5px;
}

.weather-forecast-icon {
  width: 55px;
  display: block;
  margin: 0 auto;
}

.weather-forecast-temperature {
  text-align: center;
  margin-top: 5px;
  color: hwb(211 35% 3%);
  font-weight: 400;
  display: flex;
  justify-content: center;
  font-size: 16px;
}

.weather-forecast-temperature {
  padding: 0 8px;
}

footer {
  border-top: 3px solid hwb(215 91% 2%);
  padding: 20px 0 0 0;
  text-align: center;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.5);
  font-weight: 400;
}

a {
  color: hwb(211 36% 2%);
}

.weather-app-data {
  display: flex;
  justify-content: space-between;
}

main {
  padding: 30px 0;
}

@media (max-width: 500px) {
  .weather-forecast-day {
    flex: 1 1 45%;
    max-width: 100px;
  }
}
