body{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: #222;
    font-family: 'Open Sans', sans-serif;
    background-image: url("https://source.unsplash.com/1600x900/?landscape");
    font-size: 100%;
}

.card{
    background-color:#000000d0;
    color: white;
    padding: 2em;
    border-radius: 30px;
    width: 100%;
    max-width: 400px;
    margin: 1em;
    /* background: transparent; */
}

h1.temp{
    margin: 0;
    margin-bottom: 0.4em;
}

.search{
    display: flex;
    align-items: center;
    justify-content: center;
}

button{
    margin: 0.5em;
    border-radius: 50%;
    border: none;
    height: 2.5em;
    width: 2.5em;
    outline: none;
    background: #7c7c7c2b;
    color: white;
    cursor: pointer;
    transition: 0,2s ease-in-out;
}

button:hover{
    background: #7c7c7c6b;

}

input.search-bar{
    border: none;
    outline: none;
    padding: 0.3em 1em;
    border-radius: 18px;
    background: #7c7c7c2b;
    color: white;
    font-family: inherit;
    font-size: 105%;
    width: calc(100%-80px);
}

.description{
    margin-left: 8px;
    text-transform: capitalize;
}

.flex{
    display: flex;
    align-items: center;
}

.weather.loading{
    visibility: hidden;
    max-height: 20px;
    position: relative;
}

.weather.loading::after{
    visibility: visible;
    content: "loading";
    color: white;
    position: absolute;
    top: 0;
    left: 20px;
}