* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    /* background: #282828; */
    /* background: linear-gradient(135deg, #2b0000 0%, #660000 100%); */
    background: #050505;
}


.card {
    width: 90%;
    /* max-width: 490px;  */
    color: #fff;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background-image: url(weatherImages/people-img.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: 45%;
    /* background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%); */
    /* background: linear-gradient(135deg, #cc0000 0%, #990000 50%, #cc0000 100%); */
    margin: 50px auto 0;
    border-radius: 20px;
    padding: 40px 35px;
    text-align: center;
}




@media screen and (min-width: 400px) and (max-width: 700px) {
    .card {
        margin: 65px 0px 0px 13px;
        width: 93.2%;
    }

    .details {
        margin: 0px -40px 5px -40px;
    }

    .search button {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        padding: 20px;
        margin: -8px;
    }

    .search .search-btn {
        width: 15px;
    }

    .search input {
        margin-left: -20px;
    }
}


.search {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search input {
    border: 0;
    flex-grow: 1;
    outline: 0;
    padding: 10px 25px;
    color: #555;
    border-radius: 30px;
    height: 60px;
    font-size: 18px;
    margin-right: 16px;
}

input::placeholder {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 600px;
    font-size: 16px;
    color: #1a1717;
}

.search,
input,
button {
    opacity: 0.7;
}

.search input:hover,
button:hover {
    opacity: 0.9;
}


.search button {
    border-radius: 50%;
    width: 70px;
    height: 70px;
    border: 0;
    outline: 0;
    cursor: pointer;
}

.search .search-btn {
    width: 20px;
}

.weather-icon {
    width: 160px;
    margin-top: 20px;
}


.weather-img .temp {
    font-size: 50px;
    font-weight: 400;
    /* font-family: 'Exo 2', sans-serif; */
    /* text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); */
}

.weather-img .city {
    font-size: 55px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: 500;
    margin-top: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.weather-img:hover {
    transform: scale(1.05);
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

.details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    margin-top: 50px;
}

.col {
    display: flex;
    align-items: center;
    text-align: left;
}

.col img {
    width: 40px;
    margin-right: 10px;
}

.humidity,
.wind {
    font-size: 24px;
    margin-top: -6px;
    /* font-family: 'Lato', sans-serif; */
    font-family: 'Raleway', sans-serif;
    letter-spacing: 1px;

}

.weather-img {
    display: none;
}

.city-container {
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    height: auto;
}

#msg {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}


.hide {
    opacity: 9;
    transition: opacity 10s ease;
}

.hidden {
    opacity: 9;
    transition: opacity 10s ease;
}

/* loader */

.loader-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}