body {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    font-size: 25px;
    height: 100vh;
    background-color: #e3f0f4;
    background-image: url('https://source.unsplash.com/1600x1900/?landscape');
    background-size: contain;
    background-repeat: no-repeat;
    background-position-x: center;
}



.card {
    color: aliceblue;
    padding: 0.75rem 1.25rem;
    border-radius: 2rem;
    width: 100%;
    max-width: 460px;
    margin: 1em;

}

.card.bg {
    background-color: #000000d0;

}

button {
    border: none;
    border-radius: 50%;
    height: 33px;
    width: 34px;
}

input.search-bar {
    border: none;
    outline: none;
    padding: 0.4rem;
    border-radius: 20px;
    background: #7c7c7c2b;
    color: white;
    font-size: 98%;
    width: calc(100%-10px);
}

button:hover {
    cursor: pointer;
}

h1,
h2 {
    margin: 1rem 0;
}

.flex {
    display: flex;
    align-items: center;
    justify-content: 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;

}