body
{
    display:flex;
    margin: 0;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: black;
    font-family: 'Josefin Sans', sans-serif;
    background-image: url('https://source.unsplash.com/1600x900/?nature,water');
}
#pre-loading
{
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #fff url('Resources/loader.gif') no-repeat center;
    z-index: 1;
} 
.card
{
    padding: 2em;
    background:#000000d0;
    color: #eee;
    width: 100%;
    max-width: 420px;
    margin: 1em;
    border-radius:50px;
    box-shadow:4px 4px 6px 10px #7c7c7c2b,-4px -4px 6px 10px #7c7c7c2b  ;
    animation-name: motion;
    animation-timing-function:cubic-bezier(0.1, 0.1, 0.1,0.1);
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

@keyframes motion
{
    0%
    {
        border-radius:7px;
    }
    20%
    {
        border-radius:10px;
    }
    40%
    {
        border-radius:20px;
    }
    60%
    {
        border-radius:30px;
    }
    80%
    {
        border-radius:40px;
    }
    100%
    {
        border-radius:60px;
    }

}
.search
{
    display: flex;
    align-items: center;
    justify-content: center;
}
button
{
    border-radius: 50%;
    margin:0.5em;
    border:none;
    height:35px;
    width:35px;
    outline: none;
    background:#8080802b;
    color:#fff;
    cursor: pointer;
    transition: 0.2s ease-in-out;
    font-size: 120%;
}
button:hover
{
    background:#7c7c7c6b;
}
input.search-bar
{
    border:none;
    outline: none;
    padding: 0.5em 1em;
    border-radius:24px;
    background: #7c7c7c2b;
    color:#fff;
    font-family: inherit;
    font-size: 105%;
    width:80%;
}
h1.temp 
{
    margin: 10px;
    margin-bottom: 0.5em;
}
.temp
{
    margin:20px;
}
.humidity
{
    margin:10px;
}
.wind
{
    margin:10px;
}
.description
{
    text-transform: capitalize;
}
.flex
{
    display: flex;
    align-items: center;
}
.weather.loading
{
    visibility: hidden;
    max-width: 20px;
    position: relative;

}
.weather.loading:after
{
    visibility:visible;
    content: "loading...";
    color: #fff;
    position: absolute;
    top:0;
    left: 20px;
}