* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}
body {
  background-image: url("images/leaves.jpg");
  background-size: cover;
}
p {
  color: #ffffff;
}
.info-content {
  display: flex;
  flex-direction: column;

  text-align: center;
}
.info-content h3 {
  font-size: 2.5rem;
  margin-top: 2rem;
  color: white;
}

.card {
  width: 90%;
  max-width: 470px;
  text-align: center;
  color: hsla(0, 0%, 100%, 0.1);
  margin: 30px auto 0;
  padding: 40px 35px;
  text-align: center;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}
.search {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.search input {
  border: 0;
  outline: 0;
  background: #ebfffc;
  color: #555;
  padding: 10px 25px;
  height: 60px;
  border-radius: 30px;
  flex: 1;
  margin-right: 16px;
  font-size: 18px;
}
.search button {
  border: 0;
  outline: 0;
  background: #ebfffc;
  border-radius: 50%;

  width: 60px;
  height: 60px;
  cursor: pointer;
}
.search button img {
  width: 16px;
}
.weather-icon {
  width: 170px;
  margin-top: 30px;
}
.weather h1 {
  font-size: 80px;
  font-weight: 500;
  color: #ffffff;
}
.weather h2 {
  font-size: 45px;
  font-weight: 400;
  margin-top: -10px;
  color: #ffffff;
}
.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;
  color: #ffffff;
}
.weather {
  display: none;
}
.error {
  text-align: left;
  margin-left: 10px;
  font-size: 14px;
  margin-top: 10px;
  display: none;
  color: #ffffff;
}

@media (max-width: 466px) {
  .info-content h3 {
    font-size: 1.8rem;
    margin-top: 1.8rem;
    color: white;
  }

  .card {
    margin: 30px auto 0;
    padding: 30px 30px;
  }
  .search {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }

  .search button {
    display: block;
    height: 40px;
    margin-top: 1rem;
    width: 70px;
    padding: 10px 20px;
    cursor: pointer;
    background: #ebfffc;
    border-radius: 20px;
    text-align: center;
  }

  .search button img {
    width: 16px;
  }
  .weather-icon {
    width: 120px;
    margin-top: 20px;
  }
  .weather h1 {
    font-size: 50px;
    font-weight: 400;
  }
  .weather h2 {
    font-size: 35px;
    font-weight: 400;
  }
  .details {
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: space-between;
    margin-top: 30px;
    padding: 0;
  }
  .col {
    display: flex;

    text-align: left;
  }
  .col img {
    width: 30px;
    margin-right: 10px;
  }
  .humidity,
  .wind {
    font-size: 20px;
    margin-top: -6px;
    color: #ffffff;
  }
}
