i.fas.fa-sun, i.fas.fa-cloud {
  font-size: 4em;
}

section.text-center {
  padding-bottom: 3em;
}

.custom-card-color {
  background-color: rgb(67, 170, 255);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

#search-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 1.5rem;
}

#search-box form {
  padding-right: 5px;
  border-right: 1px solid rgb(190, 190, 190);
}

#search-box form > * {
  margin: 5px 0;
}

#city-input {
  border: 1px solid lightgrey;
  border-radius: 5px;
  padding: 5px;
  display: inline-block;
  width: auto;
}

#city-search-form button {
  width: 80px;
}

#clear-search-btn {
  background-color: rgb(236, 94, 94);
}

#search-history {
  margin: 10px 0;
  padding-left: 5px;
}

#search-history button {
  margin: 5px;
  min-width: 80px;
  background-color: rgb(189, 189, 189);
  color: black;
}

.weather-cards > *:hover {
  transform: scale(1.1);
}

@media screen and (max-width: 500px) { 
  #search-box {
    flex-direction: column;
    align-items: center;
  }  

  #search-box form {
    border-right: none;
    padding: 10px;
    border-bottom: 1px solid rgb(190, 190, 190);  
  }
}