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

body{
    width: 100%;
    height: 100vh;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("https://cdn.pixabay.com/photo/2018/08/23/07/35/thunderstorm-3625405_960_720.jpg");
    background-size: cover;
}
.weather_container{
    display: flex;
    align-items: center;
}

.left_panel{
    border-radius: 16px;
    height: 20rem;
    width: 15rem;
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), url("https://cdn.pixabay.com/photo/2015/11/16/22/39/balloons-1046658_960_720.jpg");
    background-size: cover;
    color: #f5f5f5;
    z-index: 1;
    transition: all 0.5s ease;
}


.day{
    font-size: 2rem;
    font-weight: bold;
}

.day_card .day{
    font-size: 1rem;
    font-weight: bold;
}

.air_quality_card{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin: 0 0.5rem;
    background-color: #f30000;
    background-image: linear-gradient(315deg, #f30000 0%, #ff8c00 74%);
    color: rgb(255, 255, 255);
    border-radius: 16px;
    min-width: 5rem;
    padding: 0.5rem;
}

.air_quality_card .air_quality_card_title{
    font-size: 1rem;
    font-weight: bold;
}

.air_quality_card .value{
    font-size: 2rem;
    transform: scale(.5, 1);
    font-weight: bold;
}

.air_quality_card .unit{
    font-size: 0.6rem;
    font-weight: bold;
}



.flex{
    display: flex;
    height: 100%;
    /* justify-content: center;
    align-items: center; */
}

.middle_section .flex{
    justify-content: space-evenly;
    /* background-color: blue; */
}

.flex-col{
    flex-direction: column;
    justify-content: space-between;
    /* padding: 1.4rem; */
}

.left_panel{
    padding: 1.4rem;
}

.temperature_value{
    font-size: 2rem;
    font-weight: bold;
}

.right_panel{
    border: 1px solid black;
    border-radius: 16px;
    height: 17rem;
    width: 15rem;
    margin-left: -1rem;
    padding: 0.6rem;
    padding-left: 1.6rem;
    color: #f5f5f5;
    background: rgb(31, 32, 31);
}

.top_section{
    background-image: linear-gradient(315deg, #f30000 0%, #ff8c00 74%);
    padding: 0.5rem;
    border-radius: 10px;
    /* width: 100%; */
}

.top_section_item{
    display: flex;
    justify-content: space-between;
}

.top_section_item_title{
    font-size: 0.8rem;
    font-weight: bold;
}

.top_section_item div .value{
    font-size: 1rem;
    font-weight: bold;
}
.bottom_section{
    width: 100%;
    display: flex;
    justify-content: center;
}

.button{
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #f5f5f5;
    border-radius: 10px;
    background-image: linear-gradient(315deg, #f30000 0%, #ff8c00 74%);
    width: 100%;
    transition: all 0.3s ease-in-out;
}

.button button{
    background-color: transparent;
    border: none;
    color: #f5f5f5;
    font-size: 1rem;
    font-weight: bold;
    padding: 0.5rem;
    transition: all 0.3s ease-in-out;
}

.button:hover{
    background-color: #f5f5f5;
    color: #1f1f1f;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.button:hover button{
    color: #1f1f1f;
    transition: all 0.3s ease-in-out;
}

.middle_section{
    z-index: 2;
}