@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,200;8..144,300;8..144,400;8..144,500;8..144,600;8..144,700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
}

html {
  font-size: 62.5%;
}

body {
  font-family: 'Roboto Flex', sans-serif;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.weather-app-wrapper {
  max-width: 700px;
  margin: auto;
}

.weather-app {
  max-width: 700px;
  padding: 20px;
}

.search-form {
  padding-block: 20px 10px;
}

#city {
  font-size: 4rem;
  padding-top: 20px;
  font-weight: 500;
}

#temperature {
  font-size: 8.5rem;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
  font-weight: 300;
  line-height: 19px;
  font-size: 1.6rem;
}

.weather-icon {
  height: 80px;
  width: 80px;
}

.current-date {
  font-size: 1.6rem;
}

.weather-status,
.weather {
  padding-block: 20px;
}

#description {
  font-size: 1.6rem;
  font-weight: 300;
  text-transform: capitalize;
}

.units,
.weather-data {
  position: relative;
  top: 20px;
}

.units {
  font-size: 1.9rem;
}

.units a {
  cursor: pointer;
  color: #ff9cfa;
}

.weather-data {
  font-size: 1.4rem;
}

a {
  text-decoration: none;
}

input[type="search"] {
  font-size: 1.6rem;
  padding-left: 15px;
}

input[type="search"]::placeholder {
  opacity: 0.8;
}

input[type="submit"] {
  color: #fff;
  font-size: 1.6rem;
}

#search-btn {
  background: #e9a3e9;
}

#search-btn:hover {
  color: #a893e0;
}

#current-btn {
  background: #a893e0;
}

#current-btn:hover {
  color: #e9a3e9;
}

#celsius,
#fahrenheit {
  font-weight: 700;
}

footer {
  margin-top: 20px;
  font-size: 1.5rem;
}

footer span  {
  font-weight: 500;
}

footer a,
footer span {
  color: #8a6dd8;
}

.units .active {
  cursor: default;
  color: inherit;
}

.weather-forecast {
  margin-top: 30px;
  margin-bottom: 20px;
  text-align: center;
}

.forecast-icon {
  width: 60px;
  height: 60px;
}

.weather-forecast-date {
  font-size: 1.7rem;
  opacity: 0.7;
}

.weather-forecast-temp {
  font-size: 1.4rem;
} 

.weather-forecast-temp-max {
  font-weight: 500;
}

.weather-forecast-temp-min {
  opacity: 0.6;
}



