@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;700&display=swap');


*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    /* outline: 1px solid limegreen !important; */
    /* background: rgb(0 100 0 / 0.1) !important; */
}

html{
    font-size: 63.5%;
    color: #2F2E62;
    scroll-behavior: smooth;
    background: -webkit-linear-gradient(to right, #93EDC7, #1CD8D2);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #93EDC7, #1CD8D2); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    



}

ul{
    list-style: none;
}

a{
    text-decoration: none;
}

body{
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;


    background: #1CD8D2;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #93EDC7, #1CD8D2);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #93EDC7, #1CD8D2); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */


    
}

.header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0rem 19rem;
    height: 8rem;
}



.nav-location{
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-left: -3rem;
}

.nav-icons{
    font-size: 3rem;
    color: #2F2E62;
}

.nav-location-text{
    font-size: 2rem;
    font-weight: 500;
    color: #2F2E62;
}

.section-weather-report{
    padding: 1rem 0;
}

.report-container{
    max-width: 100rem;
    margin:  -4rem  auto;
    padding: 1rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: .1rem;
}

.weather-img{
    width: 35%;
}

.weather-degree-container{
    text-align: center;
}

.weather-description{

    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.weather-degree{
    font-size: 5rem;
    font-family: 'Nunito', sans-serif;
    color: #2F2E62;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.weather-report-text{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    margin-bottom: 1.5rem;
}

.errorMsg{
    display: none;
}


.wind{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.rain-chance{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.weather-report-icons{
    width: 2.1rem;
    height: 2.2rem;
}

.wind-text, .rain-text{
    font-size: 1.4rem;
    font-weight: 500;
}

.section-weather-days{
    padding: 2rem 0;
}

.days-container{
    max-width: 100rem;
    margin: 0 auto;
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 3rem;
}

.days-text-box{
    display: flex;
    justify-content: center;
    gap: 10rem;
}

.day{
    font-size: 1.6rem;
    font-weight: 500;
    cursor: pointer;
    color: #2f2e6262;
}

.activeDay{
    color: #2F2E62;
}

.hourly-card{
    width: 90%;
    display: flex;
    margin-left: 2rem;
    justify-content: center;
    gap: 5rem;
    flex-wrap: nowrap;
    overflow-x: auto;

}

.hourly-cards{
    flex: 0 0 auto;
    margin-top: .2rem;
    width: 10rem;
    height: 15rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 13px;
    background: rgba(246, 242, 242, 0.6);
    box-shadow: 1px 1px 3px 1px rgba( 31, 38, 135, 0.37 );
    backdrop-filter: blur( 2.5px );
    -webkit-backdrop-filter: blur( 2.5px );
    margin-bottom: 1rem;
}

.hourly-time{
    font-size: 1.3rem;
}

.cloud-img{
    width: 11rem;
    height: 9rem;
}

.hourly-degree{

    margin-left: 1.8rem;
    font-size: 2.4rem;
}

main{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.main-container{
    width: 80%;
    height: 97vh;
    /* background-color: #2F2E62; */
}




/* Search Bar*/
.search{
    position: relative;
    width: 35px;
    height: 35px;
    background: #fff;
    border-radius: 35px;
    transition: 0.5s;
    overflow: hidden;
}


.search.active{
    width: 280px;
}


.search .icon{
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;
}

.search .icon::before{
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border: 3px solid #2F2E62;
    border-radius: 50%;
    transform: translate(6px,6px);

}

.search .icon::after{
    content: "";
    position: absolute;
    width: 3px;
    height: 8px;
    background: #2F2E62;
    transform: translate(13px,13px) rotate(315deg);
}



.search .input{
    position: relative;
    width: 150px;
    height: 60px;
    left: 35px;
    bottom: 12px;
}

.search .input input{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    border: none;
    outline: #8db8d9;
    font-size: 1.5rem;

}

.clear{
    display: none;
}

.clear.active{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    right: 15px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.clear::before{
    position: absolute;
    content: '';
    width: 1px;
    height: 12px;
    background: #2F2E62;
    transform: rotate(45deg);
}

.clear::after{
    position: absolute;
    content: '';
    width: 1px;
    height: 12px;
    background: #2F2E62;
    transform: rotate(315deg);
}
    















/* @import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap');


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

html{
    font-size: 63.5%;
    color: #fff;
    overflow-x: hidden; 
    scroll-behavior: smooth;
}

ul{
    list-style: none;
}

a{
    text-decoration: none;
}

body{
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
    background: #5f8bad;

    
}

.header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0rem 5rem;
    height: 9.2rem;
}

.nav-location{
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-left: -3rem;
}

.nav-icons{
    font-size: 3rem;
    color: #fff;
}

.nav-location-text{
    font-size: 2rem;
    color: #fff;
}

.section-weather-report{
    padding: 5rem 0;
}

.report-container{
    max-width: 100rem;
    margin: 0 auto;
    padding: 3.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.weather-img{
    width: 70%;
}

.weather-degree-container{
    text-align: center;
}

.weather-description{
    font-size: 3rem;
    margin-bottom: 2rem;
}

.weather-degree{
    font-size: 7rem;
    margin-bottom: 1.3rem;
    text-shadow: #2F2E62 0 0 1px, 
               #2F2E62 0 1px 3px, 
               #2F2E62 0 3px 3px,  
               #2F2E62 0 1px 1px, 
               #2F2E62 0 1px 1px, 
               rgba(243, 240, 240, 0.1) 0 2px 1px,
               rgba(248, 244, 244, 0.2) 0 1px 1px;
}

.weather-report-text{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.wind{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.rain-chance{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.weather-report-icons{
    font-size: 2rem;
}

.wind-text, .rain-text{
    font-size: 1.4rem;
}

.section-weather-days{
    padding: .2rem 0;
}

.days-container{
    max-width: 100rem;
    margin: 0 auto;
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
}

.days-text-box{
    display: flex;
    justify-content: space-around;
}

.days-text-box, p{
    font-size: 1.6rem;
}

.hourly-card{
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: nowrap;
    overflow-x: auto;

}

.hourly-cards{
    flex: 0 0 auto;
    width: 13rem;
    height: 17rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .7rem;
    border-radius: 13px;
    background: rgba( 253, 249, 249, 0.25 );
    box-shadow: 0 8px 10px 0 rgba( 31, 38, 135, 0.37 );
    backdrop-filter: blur( 2.5px );
    -webkit-backdrop-filter: blur( 2.5px );
    margin-bottom: 15px;

}

.hourly-time{
    font-size: 1.7rem;
}

.cloud-img{
    width: 10rem;
    height: 8rem;
}

.hourly-degree{
    margin-left: 1.8rem;
    font-size: 3.4rem;
}

.main-container{
    background-color: #2F2E62;
    width: 80%;
    height: 90vh;
} */