* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Quicksand', sans-serif;
  overflow-x: hidden;
}
.container {
  width: 100vw;
  background-image: url(img/wave.svg);
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: all 1s;
}

.night-mode {
  transition: all 1s;
  background-color: #495057;
  background-image: url(img/wave-night.svg);
  background-repeat: no-repeat;
}

.container .herosection {
  width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.container .herosection img {
  width: 80%;
}
.container .herosection .search-container {
  width: 700px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.container .herosection .search-container input {
  width: 80%;
  height: 40px;
  font-size: 1rem;
  padding: 0.5rem;
  outline: none;
  border: solid 2px #acacac;
}
.container .herosection .search-container input:focus {
  outline: none;
  border: solid 2px #4cc9f0;
}
.container .herosection .search-container button {
  width: 10%;
  height: 40px;
  font-size: 1rem;
  background-color: #00b4d8;
  color: #fff;
  border: solid 2px #acacac;
  transition: all 0.3s;
}
.container .herosection .search-container button:hover {
  cursor: pointer;
  background-color: #4cc9f0;
  border: none;
  transform: scale(105%);
}
.container .card-container {
  margin: 2rem;
  width: 100%;
  height: 350px;
  display: flex;
  justify-content: space-around;
}
.container .card-container .card {
  width: 300px;
  height: 100%;
  position: relative;
  border-radius: 20px;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
  color: #23272b;
  display: flex;
  flex-direction: column;
}
.container .card-container .card .weather-container {
  width: 100%;
  height: 100%;
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.container .card-container .card .weather-container .icons {
  width: 100px;
  height: 100px;
  border: solid 2px rgba(35, 39, 43, 0.5);
  background-color: #fff6f6f6;
  border-radius: 50%;
  overflow: hidden;
}

.container .card-container .card .weather-container .icons img {
  width: 100%;
  height: 100%;
}

.container .card-container .card .weather-container .info {
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}
.container .card-container .card .weather-container .info h2 {
  font-size: 2rem;
}
.container .card-container .card .weather-container .info h4 {
  font-size: 1.3rem;
}
.container .card-container .card .weather-container .info h1 {
  font-size: 2.2rem;
}
.loader-container {
  transition: 0.3s;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10000;
  background: #5c91cc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.loader-container img {
  width: 25rem;
}

.loader-container.fade-out {
  top: 110%;
  opacity: 0;
}
.night {
  color: #adb5bd;
}
@media (max-width: 576px) {
  .container .herosection {
    width: 450px;
  }
  .container .herosection img {
    width: 100%;
  }
  .container .herosection .search-container {
    padding: 0 2rem;
    width: 400px;
  }
  .container .herosection .search-container button {
    width: 20%;
  }
}
