body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  font-family: "Poppins", "Open Sans", sans-serif;
  background-color: rgba(34, 34, 34, 0.501);
  background-image: url("https://source.unsplash.com/1600x900/?landscape");
  font-size: 120%;
  color: aliceblue;
}


.card {
  background-color: #42032c89;
  border-radius: 30px;
  padding: 2em;
  margin: 1em;
  width: 100%;
  max-width: 400px;
  
}

.search {
  display: flex;
  justify-content: center;
  align-items: center;
}

input.search-bar {
  border: none;
  outline: none;
  padding: 0.4em 1em;
  border-radius: 24px;
  background-color: rgba(240, 248, 255, 0.664);
  color: black;
  font-family: inherit;
  font-size: 100%;
  width: calc(100% - 80px);
}

button:hover {
  background-color: aliceblue;
}
button {
  margin: 0.5em;
  border-radius: 50%;
  border: none;
  height: 44px;
  width: 44px;
  background-color: rgba(240, 248, 255, 0.664);
  color: black;
  outline: none;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

h1.temp{
    margin: 0%;
    margin-bottom: 0.4em;
}

.flex{
  display: flex;
  align-items: center;
}
.description{
  text-transform: capitalize;
  margin-left: 8px;
}

.weather.loading{
  visibility: hidden;
  max-height: 20px;
  position: relative;
}
.weather.loading::after{
  visibility: visible;
  content: "Loading...";
  color: black;
  position: absolute;
  top:0;
  left:20px;
}