body {
  background: linear-gradient(
    106.5deg,
    rgba(255, 215, 185, 0.91) 23%,
    rgba(223, 159, 247, 0.8) 93%
  );
  background-attachment: fixed;
  font-family: "Montserrat", sans-serif;
}

.theme-button {
  background: white;
  color: #9519c3;
  display: block;
  margin: 0 auto;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 14px;
  border: 2px #9940b9 solid;
  padding: 8px 12px;
  border-radius: 30px;
}

.dark .theme-button {
  background: rgba(31, 31, 32, 0.7);
  color: white;
  border: 2px white solid;
}

.theme-button:hover {
  background: #f9f7fe;
}

.dark .theme-button:hover {
  background: rgba(65, 65, 67, 0.7);
}

.dark {
  background: linear-gradient(
    112.1deg,
    rgb(32, 38, 57) 11.4%,
    rgb(63, 76, 119) 70.2%
  );
  background-attachment: fixed;
}

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

.dark .app {
  background: rgba(31, 31, 32, 0.7);
  color: white;
}

.city {
  margin: 0;
  font-size: 32px;
}

a {
  color: #9940b9;
}

.dark a {
  color: #e49bff;
}

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

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

.dark .search-form-input {
  background-color: rgba(79, 79, 80, 0.546);
}

input::placeholder {
  color: rgba(207, 196, 196, 0.805);
}

.search-form-button {
  background-color: #9940b9;
  color: white;
  margin-left: 8px;
  padding: 16px 28px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
}

.dark .search-form-button {
  background-color: #ad54cd;
  color: white;
}

.search-form-button:hover {
  background-color: #9e63b4;
  color: white;
}

.dark .search-form-button:hover {
  background-color: #b668d2;
  color: white;
}

main {
  line-height: 175%;
  padding: 30px 0 30px 0;
}

.data {
  display: flex;
  justify-content: space-between;
}

p {
  font-weight: 500;
  color: rgba(0, 0, 0, 0.7);
}

.dark p {
  color: white;
}

.humidity {
  font-weight: 600;
  color: #9940b9;
}

.dark .humidity {
  color: #e49bff;
}

.wind {
  font-weight: 600;
  color: #9940b9;
}

.dark .wind {
  color: #e49bff;
}

.temperature-data {
  margin-top: 10px;
  display: flex;
  justify-content: space-evenly;
}

.icon {
  font-size: 48px;
  position: relative;
  top: -40px;
}

.temp {
  font-weight: 600;
  font-size: 72px;
}

.unit {
  font-weight: 600;
  font-size: 16px;
  position: relative;
  margin-left: 2px;
  top: -18px;
}

.weather-forecast-date {
  text-align: center;
  font-weight: 500;
  line-height: 20px;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.7);
}

.dark .weather-forecast-date {
  color: white;
}

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

.weather-forecast-temperatures {
  text-align: center;
  font-weight: 600;
  line-height: 16px;
  font-size: 14px;
  color: #9940b9;
  display: flex;
  justify-content: center;
}

.dark .weather-forecast-temperatures {
  color: #e49bff;
}

.weather-forecast-temperature {
  padding: 0 8px;
  margin-top: 4px;
}

.weather-forecast {
  display: flex;
  justify-content: space-evenly;
  margin-top: 12px;
}

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

.dark footer {
  color: white;
}
