@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    width: 100vw;
    height: 100vh;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
    background-color: black;
    font-size: 62.25%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
h1{
    color: rgba(255, 255, 255, 0.676);
    text-align: center;
    margin-bottom: 1rem;
    font-size: 4rem;
}

/* ------------------------------------header----------------------------------- */

.container{
    width: 60%;
    height: 80%;
    background-color: rgba(255, 255, 255, 0.68);
    border-radius: 1rem;
    -webkit-border-radius: 1rem;
    -moz-border-radius: 1rem;
    -ms-border-radius: 1rem;
    -o-border-radius: 1rem;
    border: 5px solid rgba(0, 0, 0, 0.562);
    padding: 1rem;
}

.weather_header{
    position: relative;
}

.search{
    padding: 10px 40px 10px 45px;
    border: 2px solid rgba(0, 0, 0, 0.37);
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    font-size: 1rem;
    background-color: black;
    color: white;
}

.search-icon{
    position: absolute;
    display: flex;
    font-size: 1.5rem;
    margin: 10px 0 0 10px;
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}



/* ----------------------------------body--------------------------------------------------- */

.weather_body{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    font-size: 1.2rem;
    gap: 0.7rem;
}

.min_max_value{
    display: flex;
    gap: 1.5rem;
}



/* ----------------------------------------footer----------------------------------------- */


.weather_footer{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    font-size: 1.2rem;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.footer{
    background-color: rgb(255 255 255 / 0%);
    box-shadow: 1px 3px 6px rgb(0 0 0 / 31%);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    display: flex;
    align-items: center;
    text-align: start;
    gap: 1rem;
    padding-left: 1rem;
}








/*-------------------------------------Responsive--------------------------------- */

@media screen and (width< 768px) {
    body{
        font-size: 50%;
    }
    h1{
        font-size: 3rem;
    }
    .container{
        width: 99.9%;
        height: 100%;
    }
    .weather_body{
        margin-top: 1.5rem;
        font-size: 1rem;
        gap: 0.5rem;
    }


}
