body {
  background-image: url(https://images.unsplash.com/photo-1505533542167-8c89838bb19e?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
  font-family: "Roboto", sans-serif;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
}

a {
  color: #bf00ff;
}

@media (min-width: 480px) {
  .weather-app {
    margin: 10px;
  }
}

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

header {
  border-bottom: 1px solid #f9f7fe;
  padding: 0 0 30px 0;
  overflow: hidden;
}

.search-form {
  display: flex;
  align-items: center;
  width: 100%;
}

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

.search-form-button {
  background: #bf00ff;
  padding: 15px 20px;
  border: none;
  font-size: 16px;
  margin-left: 5px;
  border-radius: 6px;
  color: white;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .search-form-input {
    font-size: 14px;
    padding: 12px 10px;
  }

  .search-form-button {
    padding: 12px 12px;
    font-size: 14px;
  }
}

@media (max-width: 380px) {
  .search-form-button {
    padding: 12px 8px;
    font-size: 13px;
  }
}

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;
  color: rgba(39, 33, 66, 0.4);
  line-height: 24px;
  font-weight: 500;
}

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

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

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

.weather-app-temperature {
  font-size: 88px;
  line-height: 88px;
  font-weight: bold;
}

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

.weather-forecast {
  display: flex;
  justify-content: space-around;
  margin-top: 30px;
  flex-wrap: nowrap;
  gap: 4px;
}

.weather-forecast-day {
  flex: 1;
  min-width: 0;
  text-align: center;
}
.weather-forecast-date {
  text-align: center;
  color: rgba(39, 33, 66, 0.4);
  font-size: 13px;
  line-height: 20px;
  margin-bottom: 10px;
}

.weather-forecast-icon {
  font-size: 38px;
  text-align: center;
  width: 100%;
}

.weather-forecast-temperatures {
  text-align: center;
  color: #f65282;
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.weather-forecast-temperature {
  padding: 0 4px;
  font-size: 13px;
}

footer {
  border-top: 1px solid #f9f7fe;
  padding: 30px 0 0 0;
  text-align: center;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.6);
}
