* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}

body {
  background: #04151f;
}

.card {
  width: 90%;
  max-width: 470px;
  background: linear-gradient(135deg, #c44900, #efd6ac);
  color: #fff;
  margin: 100px auto 0;
  border-radius: 20px;
  padding: 40px 35px;
  text-align: center;
}

.title {
  font-size: 18px;
}
.search {
  margin-top: 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search input {
  border: 0;
  outline: 0;
  background: #183a37;
  color: #fff;
  padding: 10px 25px;
  height: 60px;
  border-radius: 30px;
  flex: 1;
  margin-right: 16px;
  font-size: 19px;
  transition: 1s;
}

.search input:hover {
  box-shadow: 0px 5px 25px #ffffff;
}

.search button {
  border: 0;
  outline: 0;
  background: #183a37;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  transition: 1s;
}

.search button:hover {
  width: 70px;
  height: 70px;
}

.search button img {
  width: 16px;
  transition: 1s;
}

.weather-icon {
  width: 170px;
  margin-top: 30px;
}

.weather-icon h1 {
  font-size: 80px;
  font-weight: 500;
}

.weather-icon h2 {
  font-size: 45px;
  font-weight: 400;
  margin-top: -10px;
}

.details {
  display: grid;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  margin-top: 50px;
}

.col {
  margin-top: 20px;
  align-items: center;
  text-align: center;
}

.col img {
  width: 100px;
  margin-top: 15px;
  margin-left: 0;
}

.humidity,
.wind,
.clouds {
  color: #ffffff;
  font-size: 25px;
  margin-top: 15px;
}

.weather {
  display: none;
}

.error {
  text-align: left;
  margin-left: 10px;
  font-size: 14px;
  margin-top: 10px;
  display: none;
}

.sunset-prediction {
  margin-top: 20px;
  text-align: center;
  font-size: 20px;
  color: #ffffff;
}

.sunset-prediction h2 {
}

.sunset-prediction h3 {
  color: #183a37;
  font-size: 30px;
}

.sunset-prediction p {
  font-weight: bold;
  color: #183a37;
  font-size: 15px;
}

#preloader {
  background: #000000 url(images/sunsetloader.gif) no-repeat center center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100%;
}

.copyright {
  width: 100%;
  text-align: center;
  padding: 25px 0;
  background: #c44900;
  font-weight: 300;
  margin-top: 50px;
}

.copyright footer {
  color: #ffffff;
}

@media only screen and (max-width: 600px) {
  .search input {
    flex: unset;
    width: calc(100% - 76px); /* Adjust width to accommodate button */
  }

  .search button {
    width: 50px;
    height: 50px;
    transition: none;
  }

  .search button:hover {
    width: 50px;
    height: 50px;
  }
}
