* {
  margin: 0;
  padding: 0;
  font-family: "poppins", sans-serif;
  box-sizing: border-box;
}
body {
  background: #f9f8f8;
}
.aiyus {
  text-align: right;
  margin-bottom: 20px;
}
.card {
  width: 90%;
  max-width: 470px;
  background-image: linear-gradient(rgba(22, 49, 199, 0.2), rgba(0, 0, 0, 0.2)),
    url(/images/map-398w.png);
  background-repeat: no-repeat;
  color: #fff;
  margin: 100px auto 0;
  border-radius: 20px;
  padding: 40px 35px;
  text-align: center;
  font-weight: bold;
}
.search {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.search input {
  border: 0;
  outline: 0;
  background: #fff;
  color: black;
  padding: 10px 25px;
  height: 60px;
  border-radius: 30px;
  flex: 1;
  margin-right: 30px;
  font-size: 18px;
}
.search button {
  border: 0;
  outline: 0;
  background: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  display: flex;
}
.search button img {
  width: 16px;
  margin: auto;
  cursor: pointer;
}
.weather-icon {
  width: 170px;
  margin-top: 30px;
}
.weathers h1 {
  font-size: 80px;
  font-weight: 500;
}
.weathers h2 {
  font-size: 45px;
  font-weight: 400;
  margin-top: -10px;
}
.details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  margin-top: 50px;
}
.col {
  display: flex;
  align-items: center;
  text-align: left;
}
.col img {
  width: 40px;
  margin-right: 10px;
}
.humidity,
.wind {
  font-size: 28px;
  margin-top: -6px;
}
.weathers {
  display: none;
}
.error {
  text-align: left;
  margin-left: 10px;
  font-size: 14px;
  margin-top: 10px;
  display: none;
}
@media only screen and (max-width: 600px) {
  .search input {
    border-radius: 5px;
    flex: 0;
    font-size: 14px;
    margin-right: 10px;
    padding: 5px;
    height: 40px;
  }
  .search button {
    height: 40px;
    width: 40px;
  }
  .details {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .col {
    gap: 20px;
  }

  .card {
    padding: 20px;
  }
}
