body {
  background-color: #f9f7fe;
  font-family: "Roboto", sans-serif;
  margin: 0;
}

/* Links */
a {
  color: #885df1;
  text-decoration: none;
}

/* App container */
.weather-app {
  background: white;
  max-width: 600px;
  margin: 40px auto;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 30px 50px rgba(65, 50, 100, 0.08);
}

/* Header */
header {
  border-bottom: 1px solid #f1eff7;
  padding-bottom: 20px;
}

/* Search form */
.search-form {
  display: flex;
  gap: 10px;
}

.search-form-input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 6px;
  background-color: #f9f7fe;
  font-size: 16px;
}

.search-form-button {
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  background: #885df1;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.search-form-button:hover {
  background: #6c47d9;
}

/* Main */
main {
  padding: 25px 0;
}

/* Current weather */
.weather-app-data {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.weather-app-city {
  margin: 0;
  font-size: 36px;
}

.weather-app-details {
  font-size: 14px;
  color: rgba(39, 33, 66, 0.5);
}

.weather-app-details strong {
  color: #f65282;
}

/* Temperature */
.weather-app-temperature-container {
  display: flex;
  align-items: center;
}

.weather-app-icon {
  width: 70px;
}

.weather-app-temperature {
  font-size: 70px;
  font-weight: bold;
  margin-left: 10px;
}

.weather-app-unit {
  font-size: 24px;
  margin-top: 10px;
}

/* Forecast */
.weather-forecast {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.forecast-day {
  background: #f9f7fe;
  padding: 15px;
  border-radius: 10px;
  width: 18%;
  text-align: center;
  transition: 0.3s;
}

.forecast-day:hover {
  transform: scale(1.05);
}

.forecast-day img {
  display: block;
  margin: 10px auto;
}

.forecast-day strong {
  color: #a52b95;
}

/* Footer */
footer {
  border-top: 1px solid #f1eff7;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.6);
}

/* Responsive */
@media (max-width: 600px) {
  .weather-app {
    padding: 20px;
  }

  .weather-app-data {
    flex-direction: column;
    text-align: center;
  }

  .weather-forecast {
    flex-wrap: wrap;
    gap: 10px;
  }

  .forecast-day {
    width: 30%;
  }
}