@import"https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap";*{margin:0;padding:0;box-sizing:border-box;font-family:Poppins,sans-serif}.app{min-height:100vh;display:grid;background:#e2d4ff}.weather{place-self:center;padding:40px;border-radius:15px;background-image:linear-gradient(45deg,#00dbde,#ad0ae4);display:flex;flex-direction:column;align-items:center;width:350px;max-width:90vw;min-height:550px;box-sizing:border-box;box-shadow:0 8px 20px #0003}.weather h1{color:#ebfffc;font-size:28px;text-align:center}.subtitle{color:#ebfffc;font-size:15px;margin-top:-20px;margin-bottom:20px;font-weight:300;letter-spacing:1px}.search-bar{display:flex;align-items:center;gap:12px;margin-bottom:20px;width:100%;justify-content:center}.search-bar input{flex:1;height:50px;border:none;outline:none;border-radius:40px;padding-left:20px;color:#626262;background:#ebfffc;font-size:16px;min-width:0}.search-bar img{width:45px;padding:12px;border-radius:50%;background:#ebfffc;cursor:pointer;transition:transform .2s ease}.search-bar img:hover{transform:scale(1.05)}.weather-icon{width:130px;margin:20px 0}.temperature{color:#fff;font-size:70px;line-height:1}.location{color:#c4e1e6;font-size:32px;text-align:center}.weather-data{width:100%;margin-top:auto;color:#fff;display:flex;justify-content:space-between;gap:20px}.weather-data .col{display:flex;align-items:flex-start;gap:10px;font-size:20px}.weather-data .col span{display:block;font-size:14px;opacity:.9}.weather-data .col img{width:24px;margin-top:6px}@media (max-width: 500px){.weather{width:90vw;min-height:500px;padding:20px}.temperature{font-size:60px}.location{font-size:28px}}.spinner{border:5px solid rgba(255,255,255,.3);border-top:5px solid #fff;border-radius:50%;width:40px;height:40px;animation:spin 1s linear infinite;margin-top:20px}@keyframes spin{to{transform:rotate(360deg)}}.dynamic-message{color:#ffeaea;font-size:16px;text-align:center;min-height:40px;max-width:90%;overflow-wrap:break-word;word-break:break-word;white-space:normal;transition:opacity .5s ease,transform .5s ease;margin:10px 0}.summary{color:#ffde63;font-weight:600}
