* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

body {
    background-color: #222;
}

.card {
    width: 90%;
    max-width: 470px;
    background: linear-gradient(135deg, #00feba, #5b548a);
    color: #fff;
    margin: 100px auto 0;
    border-radius: 20px;
    padding: 20px 20px 10px;
    text-align: center;
}

.form-control {
    border: 0;
    outline: 0;
    background-color: #ebfffc;
    color: #555;
    height: 40px;
}

.btn {
    border: 0;
    outline: 0;
    background-color: #ebfffc;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    cursor: pointer;
}

.weather-icon {
    width: 170px;
    margin-top: 30px;
}

.weather h1 {
    font-size: 80px;
    font-weight: 500;
}

.weather h2 {
    font-size: 45px;
    font-weight: 400;
    margin-top: -10px;
}

.humimg {
    height: 40px;
    width: 40px;
}

.winimg {
    height: 40px;
    width: 40px;
}

#weather-des {
    text-transform: capitalize;
}

.weather {
    display: none;
}

.error {
    display: none;   
}

#loading {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    display: none;
    z-index: 99;
    background: rgba(164, 148, 148, 0.596); /* semi-transparent background */
}

#loading-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    animation: rotate 300ms linear infinite; /* rotate animation */
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
