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

h2{

   text-align: center;
   margin: 20px 0px;
   font-size: 3rem;

}
.container {
    width: 90%;
    max-width: 470px;
    border-radius: 20px;
    background: radial-gradient(circle, rgba(238,174,202,1) 0%, rgba(148,187,233,1) 100%);
    margin: 20px auto;
    padding: 20px 15px;
    text-align: center;
}

.search-bar {
    width: 100%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.search-bar input {
    width: 100%;
    max-width: 300px;
    height: 35px;
    border: none;
    border-radius: 20px;
    padding: 10px;
}

.search-bar button {
    width: 40px;
    height: 40px;
    border: 1px solid black;
    background: none;
    cursor: pointer;
    border-radius: 20px;
}

.search-bar img {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.weather {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.weather-info img {
    width: 100px;
    height: 100px;
}

.weather-values {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 15px 0;
}

.weather-values h1 {
    font-size: 2.5rem;
}

.weather-values p {
    font-size: 2rem;
}

.weather-detail {
    display: flex;
    gap: 20px;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin: 0 auto;
}

.humidity, .wind {
    display: flex;
    align-items: center;
    margin: 20px 0px;
    gap: 10px;
    flex-wrap: wrap;
}

.humidity img, .wind img {
    width: 30px;
    height: auto;
}

.text {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.text h1 {
    font-size: 2rem;
    margin: 0;
}

.text p {
    font-size: 16px;
    color: #000;
    margin: 0;
}

@media (max-width: 480px) {
    h2{
        font-size: 2rem;
    }
    .container {
        width: 95%;
        padding: 15px;
    }

    .search-bar input {
        width: 80%;
    }

    .weather img{
        width: 180px;
        height: 180px;
    }
    .weather-info img {
        width: 80px;
        height: 80px;
    }

    .weather-values h1 {
        font-size: 2rem;
    }

    .weather-values p {
        font-size: 1.5rem;
    }

    .text h1 {
        font-size: 1.2rem;
    }

    .text p {
        font-size: 12px;
    }
}
