body {
  background-color: #147088;
  background-image: radial-gradient(#a1c5cf 0.75px, transparent 0.75px),
    radial-gradient(#a1c5cf 0.75px, #147088 0.75px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
  font-family: "Playwrite DK Loopet", cursive;
}

.theme-button {
  margin: 0 auto;
  background: #a1c5cf;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 7px;
  font-size: 14px;
  transition: all 150ms ease-in-out;
}

.theme-button:hover {
  cursor: pointer;
  border: none;
  background: #2d376f;
  color: #030515;
}

.dark {
  background-color: #171c37;
  background-image: radial-gradient(#030515.75px, transparent 0.75px),
    radial-gradient(#030515 0.75px, #171c37 0.75px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
}

.dark .theme-button {
  background: #030515;
  color: #2d376f;
}

.dark .theme-button:hover {
  background: #a1c5cf;
  color: #147088;
}

.weather-app {
  background-color: #a1c5cf;
  max-width: 550px;
  margin: 40px auto;
  padding: 15px;
  box-shadow: 1px 1px 10px 5px rgba(255, 255, 255, 0.5);
  border-radius: 15px;
}

.dark .weather-app {
  background-color: #2d376f;
  box-shadow: 1px 1px 10px 5px rgba(71, 71, 71, 0.5);
}

header {
  border-bottom: thick double white;
  padding: 0px 0px 15px 0px;
  text-align: center;
}

.dark header {
  border-bottom: thick double #56609b;
}

h1 {
  color: white;
  font-size: 45px;
  margin: 16px;
}

.dark h1 {
  color: #56609b;
}

.search-form-input {
  background-color: white;
  color: #147088;
  border: none;
  border-radius: 6px;
  width: 25%;
  padding: 8px;
}

.dark .search-form-input {
  background-color: rgb(134, 134, 134);
  color: #171c37;
}

.search-form-button {
  background-color: #147088;
  color: white;
  border: none;
  border-radius: 6px;
  margin-left: 8px;
  width: 11%;
  padding: 8px;
}

.dark .search-form-button {
  background-color: #171c37;
  color: #56609b;
}

main {
  padding: 20px 0;
}

.weather-app-data {
  display: flex;
  justify-content: space-between;
  color: #147088;
}

.dark .weather-app-data {
  color: #56609b;
}

.weather-app-city {
  margin: 0;
  font-size: 30px;
  font-weight: 900;
  text-align: center;
}
.weather-app-details {
  font-size: 15px;
  color: rgba(20, 112, 136, 0.6);
  text-align: center;
}

.dark .weather-app-details {
  color: rgba(86, 96, 155, 0.6);
}

#humidity-percent,
#wind-speed {
  font-weight: 900;
  color: #c8ebf5;
}

.dark #humidity-percent,
.dark #wind-speed {
  color: #7a88d7;
}

#date {
  text-align: center;
}

.weather-app-temperature-container {
  display: flex;
  font-size: 45px;
  margin-top: 30px;
}

.weather-app-temperature-unit {
  font-size: 20px;
  margin-top: 4px;
  margin-right: 35px;
}

.weather-app-temperature {
  margin-left: -22px;
  font-weight: 900;
}

.weather-app-temperature-icon {
  width: 136px;
  height: auto;
  margin-top: -26px;
}

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

.weather-forecast-date {
  text-align: center;
  color: #147088;
  font-size: 16px;
}

.dark .weather-forecast-date {
  color: #56609b;
}

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

.weather-forecast-temperatures {
  display: flex;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  color: #c8ebf5;
}

.dark .weather-forecast-temperatures {
  color: #7a88d7;
}
.weather-forecast-temperature {
  padding: 0 10px;
}

footer {
  border-top: thick double white;
  padding: 20px 0px 0px 0px;
  font-size: 13px;
  text-align: center;
  color: rgba(0, 0, 0, 0.3);
}

.dark footer {
  border-top: thick double #56609b;
  color: rgba(134, 134, 134, 0.3);
}

a {
  color: rgba(160, 19, 192, 0.3);
}

.dark a {
  color: rgba(206, 137, 221, 0.3);
}
