body {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  font-family: "Roboto", sans-serif;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
  position: relative;
  overflow-x: hidden;
}

a {
  color: #885df1;
}

.weather-app {
  background: rgb(255, 248, 248);
  max-width: 600px;
  margin: 45px auto;
  box-shadow: 0 30px 50px rgba(65, 50, 100, 0.08);
  border-radius: 16px;
  padding: 30px;
}

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

.search-form-input {
  background-color: #f9f7fe;
  border: none;
  border-radius: 6px;
  width: 80%;
  font-size: 16px;
  padding: 15px 20px;
}

.search-form-button {
  background: #885df1;
  padding: 15px 30px;
  border: none;
  font-size: 16px;
  margin-left: 5px;
  border-radius: 6px;
  color: white;
}

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: #f65282;
}

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

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

.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;
}

.weather-forecast-date {
  text-align: center;
  color: rgba(136, 93, 241, 0.8);
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 10px;
  font-weight: 500;
}

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

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

.weather-forecast-temperature {
  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);
}

hr {
  border: none;
  border-top: 1px solid rgba(136, 93, 241, 0.2);
  margin: 20px 0;
}

/* Tablet (768px and below) */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  .weather-app {
    margin: 20px auto;
    padding: 20px;
    border-radius: 12px;
  }

  .weather-app-city {
    font-size: 32px;
    line-height: 40px;
  }

  .weather-app-temperature {
    font-size: 64px;
    line-height: 64px;
  }

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

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

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

  .weather-forecast-date {
    font-size: 16px;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  body {
    padding: 5px;
  }

  .weather-app {
    margin: 10px auto;
    padding: 15px;
    border-radius: 10px;
  }

  .search-form-input {
    width: 65%;
    font-size: 14px;
    padding: 12px 15px;
  }

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

  .weather-app-data {
    flex-direction: column;
    gap: 20px;
  }

  .weather-app-city {
    font-size: 28px;
    line-height: 36px;
  }

  .weather-app-details {
    font-size: 14px;
  }

  .weather-app-temperature-container {
    justify-content: center;
  }

  .weather-app-temperature {
    font-size: 56px;
    line-height: 56px;
  }

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

  .weather-app-unit {
    font-size: 20px;
  }

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

  .weather-forecast-date {
    font-size: 14px;
  }

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

  footer {
    font-size: 12px;
  }
}
