body {
  margin: 0;
  padding: 40px 20px;
  background: #f9f7fe;
  font-family: Arial, Helvetica, sans-serif;
  color: #272142;
}

.weather-app {
  max-width: 700px;
  margin: 45px auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(39, 33, 66, 0.08);
}

form {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0eef9;
}

.search {
  flex: 1;
  background: #f9f7fe;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  height: 50px;
  padding: 0 20px;
}

.button {
  background: #0077b6;
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  height: 50px;
  padding: 0 24px;
  cursor: pointer;
}

.current-weather {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

h1 {
  font-size: 38px;
  line-height: 48px;
  margin: 0 0 10px;
  color: #272142;
}

p {
  margin: 0;
  color: #27214266;
  line-height: 1.6;
}

p strong {
  color: #00b4d8;
}

.degrees {
  display: flex;
  align-items: flex-start;
  color: #212121;
}

.weather-app-icon {
  width: 88px;
  height: 88px;
}

.temperature {
  font-size: 88px;
  margin-left: 10px;
  font-weight: 700;
  line-height: 88px;
}

.unit {
  font-size: 28px;
  margin-top: 6px;
}

.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 {
  text-align: center;
  color: #00b4d8;
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

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

footer {
  margin-top: 40px;
  padding: 30px 0 0 0;
  border-top: 1px solid #f0eef9;
  text-align: center;
  font-size: 14px;
  color: #27214266;
}

footer a {
  color: #0077b6;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
