*,*:after,*:before{padding:0;margin:0;box-sizing:border-box}html{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif}sup{font-size:.5em}body{background:rgb(40,106,168);color:#ececec;padding:0 3em 1em}@media screen and (max-width: 600px){body{padding:0 1em 1em}}#root{display:flex;flex-direction:column;align-items:center;gap:1em}.card{width:100%;padding:1rem;border-radius:.5rem;background-color:#00000026;backdrop-filter:saturate(1.2);-webkit-backdrop-filter:saturate(1.2)}.card h3{font-size:.8rem}.main{display:flex;flex-direction:column;align-items:center;justify-content:center;margin-bottom:4rem;animation-name:showCard;animation-duration:.5s}.main .nameWrapper{display:flex;flex-direction:column;align-items:center}.main h2{font-size:2em;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.main .temperature{font-size:5rem;font-weight:200}.main img{height:120px;margin:-1em 0 -.5em;width:auto}.main ul{display:flex;gap:.5rem;list-style:none}@media screen and (min-width: 600px){.main{max-width:600px}}nav{position:sticky;top:0;display:grid;place-items:center;grid-template-columns:1fr 2fr 1fr;gap:2rem;width:100%;height:auto;background-color:#286aa8;z-index:1}@media screen and (max-width: 480px){nav{display:flex;align-items:center;gap:1rem}}nav div{display:flex;align-items:center;gap:.5rem;height:inherit;cursor:pointer}nav div .logo{height:45px;width:auto;margin-right:0;margin-left:0;fill:#ececec99}nav div h1{font-weight:700;font-size:1.7em;color:#ececec99}@media screen and (max-width: 480px){nav div h1{display:none}}.searchWrapper{display:flex;gap:.5rem;width:auto}.searchWrapper input.searchbar{height:2rem;font-size:1.2rem;padding:.25rem 1rem;background-color:#00000026;border:none;border-radius:.5rem;color:inherit;transition:background-color .2s ease-in;backdrop-filter:saturate(1.2);-webkit-backdrop-filter:saturate(1.2)}@media screen and (max-width: 480px){.searchWrapper input.searchbar{width:100%}}.searchWrapper input.searchbar:focus,.searchWrapper input.searchbar:hover{background-color:#0000004d}.searchWrapper input.searchbar::placeholder{color:#fff9}.searchWrapper .searchbar:focus{outline:3px solid transparent}.searchWrapper button{display:grid;place-items:center;width:2rem;height:2rem;color:#ececec;background-color:#00000026;border:none;border-radius:.5rem;cursor:pointer;transition:background-color .2s ease-in;backdrop-filter:saturate(1.2);-webkit-backdrop-filter:saturate(1.2)}@media screen and (max-width: 480px){.searchWrapper button{width:2.5rem}}.searchWrapper button:hover{background-color:#0000004d}.searchWrapper button img{width:100%;height:auto}.searchWrapper button svg{color:#fff9}.hourly{animation-name:showCard;animation-duration:.5s}.hourly ul{gap:2rem;display:flex;width:100%;height:100%;overflow:scroll}.hourly ul li{display:flex;flex-direction:column;align-items:center;justify-content:space-between}.hourly ul li img{width:40px}@media screen and (min-width: 600px){.hourly{max-width:600px}}.titleSeparator{border-bottom:1px solid white;width:100%;margin:1rem 0;opacity:40%}.listSeparator{border-bottom:1px solid white;width:100%;margin:0;opacity:20%}.daily{animation-name:showCard;animation-duration:.5s}.daily ul{display:flex;flex-direction:column}.daily ul li{display:grid;grid-template-columns:20% 50% 15% 15%;align-items:center;height:5rem}.daily ul li .rain-wrapper{margin:0rem}.daily ul li .rain-wrapper img{width:3.5rem}@media screen and (min-width: 600px){.daily{max-width:600px}}.rain-wrapper{display:flex;flex-direction:column;align-items:center;margin:10px 0}.rain-chance{color:#4098e6;font-size:.75rem;font-weight:600}@keyframes showCard{0%{transform:translateY(50px);opacity:0}to{transform:translateY(0);opacity:100%}}
