*{
    box-sizing: border-box;
}
body{
    margin: 0;
    height: 100vh;
    display: flex;
    justify-self: center;
    align-items: center;
    background: linear-gradient(135deg , #0083b0 , #00b4db);
    font-family: Arial, serif;

}
.container{
    background: rgba(255,255,2555,0.12);
    padding: 20px;
    color: white;
    backdrop-filter: blur(8px);
    border-radius: 15px;
    width: 350px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);

}
#btn{
   width: 100%;
   padding:10px;
   background: #ffdd57;
   border: none;
   border-radius: 8px;
   font-size: 1rem;
   font-weight: 700;
   cursor: pointer;
   color: #746d6d;
   box-shadow: 0 4px 10px rgba(0,0,0,0.12);


}
#text{
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 1rem;
    border: none;
    outline: none;
}
#btn:hover{
    opacity: 0.8;
    transform: translateY(-1px);
    transition: 120ms;
}
.result{
    margin-top: 20px;
    font-size: 18px;
    min-height: 40px;
}
#rslt{
    font-size: 18px;
    margin-top: 16px;
    line-height: 1.6;
    
}
.weather-box{
    background: rgba(255,255,255,0.15);
    padding: 14px;
    border-radius: 12px;
    margin-top: 16px;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}
.weather-box h3{
    font-size: 2rem;
    margin-bottom: 5px;
    letter-spacing: 0.5px;

}
.weather-box .temp{
    font-size: 2rem;
    font-weight: bold;
    margin: 10px 0;

}
.weather-box .desc{
    font-size: 1rem;
    margin-bottom: 8px;
    text-transform: capitalize;

}
.weather-box .wind{
    font-size: 0.95rem;
    opacity: 0.85;
}
@keyframes fadeIn{
    from{opacity: 0; transform: translateY(6px);}
    to{opacity: 1; transform: translateY(0);}
}
@media (max-width: 360px) {
  .container { width: 92%; padding: 16px; }
  .weather-box .temp { font-size: 1.6rem; }
}
.weather-box .meta {
  display: flex;
  justify-content: space-around;
  margin-top: 8px;
}
.weather-box .sun {
  margin-top: 10px;
  font-size: 0.95rem;
  opacity: 0.9;
}
.weather-box .icon { 
    width: 80px; 
    height: 80px; 
    margin-top: -10px; }
