*{
      margin: 0;
      padding: 0;
      font-family: 'Poppins', sans-serif;
      box-sizing: border-box;
}
body{
      background-color: #009be0;        
}
.card{
      width: 100%;
      max-width: 600px;
      color: #fff;
      margin: 100px auto 0;
      border-radius: 20px;
      padding: 40px 1rem;
      text-align: center;
}
/* ===========Search Bar ==================== */
.search{
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;

}
#card_image{
      width: 100%;
      background-position: cover;
      border-radius: 1rem;
}
.search input{
      border: 0;
      outline: 0;
      background: #ebfffc;
      color: #555;
      padding: 10px 25px;
      height: 60px;
      border-radius: 30px;
      flex: 1;
      margin-inline: 1rem;
      font-size: 18px;
}
.search-icon{
     font-size: 2.5rem;
     color: black;
     opacity: 0.6;
     position: absolute;
     right: 8%;
     cursor: pointer;
     transition: transform 0.7s ease-in-out;
}
.search_icon:active{
      font-size: 3rem;
      transform: scale(1.3) ;
}
/*  ===================Weather ================ */
.weather-icon{
      width: 170px;
      margin: 40px 0;
}
.weather h1{
font-size: 80px;
font-weight: 500;
}
.weather h2{
      font-size: 45px;
      font-weight: 400;
      margin-top: -10px;

}
.details{
      display: flex;
      align-items: center;
      justify-content: space-between;
      
      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;

}
.weather{
      display:none;
}
.error{
      text-align: left;
      margin-left: 10px;
      font-size: 1.5rem;
      margin-top: 1rem;
      display: none;
      color: red;
      background-color: white;
      border-radius: 10px;
      padding: 10px;
      width: fit-content;
}