body {
  background: linear-gradient(to right, #a1c4fd, #c2e9fb);
  font-family: "Quicksand", sans-serif;
  margin: 0;
  padding: 0;
}

header {
  border-bottom: 1px solid #f9f7fe;
  padding: 0 0 30px 0;
}
a {
  color: #8080fd;
}
a:hover {
  color: #f65282;
}
.weather-app {
  background: white;
  max-width: 600px;
  margin: 45px auto;
  box-shadow: 0 30px 50px rgba(65, 50, 100, 0.08);
  border-radius: 16px;
  padding: 30px;
}
.search-form-input {
  background-color: #f9f7fe;
  border: none;
  border-radius: 6px;
  width: 78%;
  font-size: 16px;
  padding: 15px 20px;
}
.search-form-button {
  background: lightskyblue;
  padding: 15px 20px;
  border: none;
  margin-left: 5px;
  font-size: 16px;
  border-radius: 6px;
  color: white;
  transition: all 250ms ease-in-out;
  width: 20%;
}
.search-form-button:hover {
  cursor: pointer;
  background: #347de3;
  transform: scale(1.05);
}
main {
  padding: 30px 0;
}

.weather-app-data {
  display: flex;
  justify-content: space-between;
}
.weather-app-city {
  margin: 0;
  font-size: 38px;
  line-height: 48px;
}
.weather-app-details {
  font-size: 16px;
  line-height: 24px;
  color: rgba(29, 33, 66, 0.5);
  font-weight: 500;
}
.weather-app-details strong {
  color: #f65282;
}

.weather-app-temperature-container {
  display: flex;
  align-items: center;
  gap: 8px;
}
.weather-app-icon {
  width: 88px;
  height: 88px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

.weather-app-temperature {
  font-size: 88px;
  margin-left: 5px;
  line-height: 88px;
  font-weight: bold;
}
.weather-app-unit {
  margin-top: 10px;
  font-size: 20px;
}
.weather-forecast {
  display: flex;
  justify-content: space-around;
  margin-top: 30px;
}
.weather-forecast-date {
  text-align: center;
  color: rgba(39, 33, 66, 0.5);
  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: #f65282;
  display: flex;
  justify-content: center;
  margin-top: 10px;
}
.weather-forecast-temperature {
  padding: 0 14px;
}
footer {
  border-top: 1px solid #f9f7fe;
  background-color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid #ddd;
  padding: 20px 0 0 0;
  font-size: 14px;
  text-align:center;
}
footer a {
  color: #0078ff;
  text-decoration: none;
  font-weight: 600;
}
footer a:hover {
  text-decoration: underline;
}
