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

body {
    background-color: #222;
}

.header {
    margin-bottom: 40px;
    padding: 10px 15px;
    background: linear-gradient(to right, black, green);
    border-radius: 20px;
    color: lime;

}

.card {
    width: 90%;
    max-width: 400px;
    background: linear-gradient(135deg, #00feba, #5b548a);
    color: white;
    margin: 50px auto 0;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
}

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

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

.search button {
    border: 0;
    outline: 0;
    background-color: #ebfffc;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.search button img {
    width: 16px;
}

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

.weather h1 {
    font-size: 60px;
    font-weight: 500;
}

.weather h2 {
    font-size: 40px;
    font-weight: 400;
    margin-top: -10px;
}

.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: 30px;
    margin-right: 10px;
}

.humidity,
.wind {
    font-size: 20px;
}

.weather {
    display: none;
}

.error {
    margin-left: 10px;
    margin-top: 10px;
    text-align: left;
    font-size: 14px;
    color: red;
    display: none;
}


@media screen and (max-width: 480px) {
    .search input {
        padding: 10px 20px;
        margin-right: 5px;
    }

    .search button {
        width: 35px;
        height: 35px;
    }

    .search button img {
        width: 12px;
    }
}