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

body{
  background: #222;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card{
  width: 90%;
  max-width: 470px;
  background: linear-gradient(135deg, #00feba, #5b548a);
  color: #fff;
  border-radius: 20px;
  padding: 35px 30px;
  text-align: center;
}

/* Search */
.search{
  display: flex;
  align-items: center;
  gap: 16px;
}

.search input{
  flex: 1;
  border: none;
  outline: none;
  background: #ebfffc;
  padding: 14px 20px;
  border-radius: 30px;
  font-size: 16px;
}

.search button{
  border: none;
  outline: none;
  background: #ebfffc;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
}

.search button img{
  width: 18px;
}

/* Weather */
.weather{
  display: none;
}

.weather-icon{
  width: 160px;
  margin-top: 25px;
}

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

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

/* Developer box */
.dev-box{
  margin: 20px 0;
  background: rgba(255,255,255,0.15);
  padding: 12px;
  border-radius: 14px;
  font-size: 14px;
}

.dev-status{
  font-weight: 600;
}

.dev-hint{
  opacity: 0.9;
}

/* Details */
.details{
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.col{
  display: flex;
  align-items: center;
  text-align: left;
}

.col img{
  width: 36px;
  margin-right: 10px;
}

.humidity, .wind{
  font-size: 22px;
}

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

/* Mobile */
@media(max-width: 420px){
  .weather h1{
    font-size: 56px;
  }
}
