body {
  background-color: #f9f7fe;
}
a {
  color: #885df1;
}

h1 {
}
.weather-app {
  background: white;
  max-width: 600px;
  margin: 45px auto;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 30px 50px rgba(65, 50, 100, 0.08);
}
header {
  border-bottom: 1px solid #f9f7fe;
  padding: 0 0 30px 0;
}

img {
  display: block;
  width: 200px;
  height: auto;
  position: relative;
  top: 0;
  left: 0;
}
.search-form-input {
  background-color: #f9f7fe;
  border: none;
  border-radius: 6px;
  width: 80%;
  padding: 15px 20px;
  font-size: 16px;
}
.search-form-button {
  background-color: #885df1;
  border: none;
  border-radius: 6px;
  color: white;
  padding: 15px 30px;
  font-size: 16px;
  cursor: pointer;
  margin-left: 5px;
}
main {
  align-items: center;
  padding: 30px 0;
}

.weather-app-data {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.weather-app-city {
  font-size: 38px;
  margin: 0;
  line-height: 48px;
}

.weather-app-detail {
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  color: rgba(39, 33, 66, 0.4);
}
.weather-app-detail strong {
  color: #f65282;
}

.weather-app-temp-group {
  display: flex;
  align-items: flex-start; /* align to the top of the temp */
  gap: 5px; /* small spacing between items */
}
.weather-app-temperature {
  font-size: 88px;
  margin-left: 10px;
  font-weight: bold;
  line-height: 88px; /* keep temp + unit tight */
}
.weather-app-icon {
  width: 80px;
  height: 80px;
}

.weather-app-unit {
  font-size: 20px;
  margin-top: 20px; /* push C down slightly so it aligns with the number */
}

.weather-forecast {
  display: flex;
  justify-content: space-around;
  margin-top: 30px;
}
.weather-forecast-date {
  text-align: center;
  color: rgba(39, 33, 66, 0.4);
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 10px;
}

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

.weather-forecast-temperatures {
  font-size: 16px;
  text-align: center;
  color: #f65282;
  display: flex;
  justify-content: center;
}

.weather-forecast-temperature {
  margin-top: 20px;
  padding: 0 10px;
}
footer {
  border-top: 1px solid #f9f7fe;
  padding: 30px 0 0 0;
  text-align: center;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.6);
}
