
body {
    justify-content: center;
    display: flex;
    height: 100vh;
    align-items: center;
    margin:0;
    font-family: 'Open Sans', sans-serif;
    background:#222;
    background-image: url("http://source.unsplash.com/1600x900/?landscape")
}
.card{ 
background:#000000d0;
color:whitesmoke;
padding:2em;
border-radius:30px;
width:100%;
max-width:420px;
margin:1em;
}

.search{
    display:flex;
    align-items: center;
    justify-content: center;
    }
.search-bar{
    border:none;
    outline:none;
    padding:0.5em 1em;
    text-align: center;
    border-radius:30px;
    margin:1em;
    background:#7c7c7c2b;
    color:whitesmoke;
    font-size:100%;
    width:70%;
}
button{
    margin: .5em;
    border-radius: 45%;
    height:80%;
    border:none;
    outline:none;
    cursor:pointer;
    transition:.2s;
    font-size:100%;

}
button:hover{
    background:#7c7c7c6b
}
h1.temp{
    margin:0;
    margin-bottom:0.4em;
}
.flex{
    display:flex;
    align-items:center;
}
.description{
    text-transform:capitalize;
    margin-left:8px;
}
.weather.loading{
    visibility:hidden;
    max-height:20px;
    position:relative;
}
.weather.loading:after{
    visibility:visible;
    content:"loading...";
    color:whitesmoke;
    position:absolute;
    top:0;
    left:20px;
}
.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color:#7c7c7c6b;
    color: white;
    text-align: center;
 }


