body {
  height: 100vh;
  justify-content: center;
  display: flex;
  align-items: center;
  margin: 0;
  font-family: "Roboto Slab", serif;
  background: #222;
  background-size: 100% auto;
  font-size: 120%;
}

.card {
  background: #000000d0;
  color: white;
  padding: 2em;
  border-radius: 30px;
  max-width: 430px;
  width: 100%;
  margin: 1em;
}

.search {
  display: flex;
  align-items: center;
  justify-content: center;
}
button {
  margin: 0.5em;
  border-radius: 50%;
  border: none;
  width: 44px;
  height: 44px;
  outline: none;
  background-color: #7c7c7c2b;
  color: white;
}
button:hover {
  background-color: #7c7c7c6b;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}
input.search-bar {
  border: none;
  outline: none;
  padding: 0.4em 1em;
  border-radius: 24px;
  background-color: #7c7c7c2b;
  color: white;
  font-family: inherit;
  font-size: 105%;
  width: calc(100% - 100px);
}
div.temp {
  margin: 0;
  font-size: 40px;
  margin-bottom: 0.4em;
}
.description {
  text-transform: capitalize;
  margin-left: 8px;
}
.flex {
  display: flex;
  align-items: center;
}
.weather.loading {
  display: none;
  max-width: 20px;
  position: relative;
}

.weather.loading:after {
  visibility: visible;
  content: "Loading";
  color: white;
  position: absolute;
  top: 0;
  left: 20px;
}
@media only screen and (max-width: 450px) {
  .card {
    margin-left: 10%;
    margin-right: 0;
    font-size: 90%;
    padding-left: 1em;
    padding-right: 1em;
    width: calc(100% - 30%);
  }
  body {
    display: inline-grid;
    padding-left: 1em;
  }
}
@media only screen and (max-width: 280px) {
  .card {
    margin-left: 3%;
  }
}
