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

body {
    width: 100vw;
    height: 800px;
    background: linear-gradient(135deg, orange, #ffffff, #17ff68);

}

.card {
    width: 90%;
    max-width: 470px;
    background: linear-gradient(90deg, #5681e7, #00ffdd);
    color: #fff;
    /* margin: 100px auto; */
    border-radius: 20px;
    padding: 40px 35px;
    text-align: center;
    position: absolute;
    top: 100px;
    left: 35%;
    right: 35%;
}

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

}

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

}

.search button {
    border: 0;
    outline: 0;
    background: #ebfffc;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;

}

.search img {
    width: 16px;
}

.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;
}

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

}

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

.col {
    display: flex;
    align-items: center;
    text-align: left;
    padding: 0px 20px;
    margin-top: 50px;
}

.humidity,
.Wind {
    font-size: 28px;
    margin-top: -6px;
}

.weather {
    display: none;
}

.error {
    display: none;
    text-align: left;
    font-size: x-large;
    margin-left: 10px;
    margin-top: 10px;
}

.search input:hover,
.search button:hover {
    /* linear-gradient(135deg, #00feba, #5b548a) */
    border: 2px solid red;
    /* border: 2px solid red; */
}


@media (max-width : 600px) {
    .card {
        width: 90%;
        max-width: 235px;
        border-radius: 10px;
        padding: 20px 17px;
        top: 50px;
        left: 15%;
        right: 15%;
    }

    .search input {

        padding: 5px 12px;
        width: 160px;
        height: 30px;
        border-radius: 15px;

        margin-right: 16%;
        font-size: 9px;

    }

    .search button {

        border-radius: 50%;
        width: 30px;
        height: 27px;
        cursor: pointer;

    }

    .search img {
        width: 8px;
    }

    .weather-icon {
        width: 88px;
        margin-top: 15px;
    }

    .weather h1 {
        font-size: 35px;

    }

    .weather h2 {
        font-size: 35px;
        margin-top: -5px;
    }

    .details {

        padding: 0px 10px;
        margin-top: 25px;

    }

    .col img {
        width: 20px;
        margin-right: 5px;
    }

    .col {

        padding: 0px 10px;
        margin-top: 25px;
    }

    .humidity,
    .Wind {
        font-size: 14px;
        margin-top: -3px;
    }

    .Humwin {
        font-size: 10px;
    }


    .error {
        font-size: 10px;
        margin-left: 5px;
        margin-top: 5px;
    }
}


@media (min-width : 601px) and (max-width : 1024px) {
    .card {
        width: 90%;
        max-width: 353px;
        border-radius: 15px;
        padding: 30px 26px;
        top: 75px;
        left: 25%;
        right: 25%;
    }



    .search input {

        padding: 7.5px 19px;
        width: 240px;
        height: 45px;
        border-radius: 23px;

        margin-right: 16%;
        font-size: 13px;

    }

    .search button {

        border-radius: 50%;
        width: 45px;
        height: 45px;
        cursor: pointer;

    }

    .search img {
        width: 12px;
    }

    .weather-icon {
        width: 102px;
        margin-top: 23px;
    }

    .weather h1 {
        font-size: 60px;

    }

    .weather h2 {
        font-size: 33px;
        margin-top: -7.5px;
    }

    .details {

        padding: 0px 13px;
        margin-top: 38px;

    }

    .col img {
        width: 30px;
        margin-right: 7px;
    }

    .col {

        padding: 0px 12px;
        margin-top: 33px;
    }

    .humidity,
    .Wind {
        font-size: 21px;
        margin-top: -4.5px;
    }

    .Humwin {
        font-size: 13px;
    }


    .error {
        font-size: 13px;
        margin-left: 7px;
        margin-top: 7px;
    }
}
