@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&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    color: aliceblue;
    font-weight: 600;
}

body{
    background: url("back.avif");
    width: 100%;
    height: 100dvh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

body::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100dvh;
    background: rgb(0,0,0,0.15);
    backdrop-filter: blur(5px);
}

/* UTILITIES */
.regular-txt{
    font-weight: 400;
}
/* END UTILITIES */

.main-container{
    width: 300px;
    height: 496px;
    z-index: 1;
    background: linear-gradient(
        to top,rgb(0,0,0,0.15),
         rgb(255,255,255,0.15));
    border-radius: 12px;
    backdrop-filter: blur(100px);
    padding: 20px;
}

/* INPUT CONTAINER */

.input-container{
    position: relative;
    margin-bottom: 25px;
}

.city-input{
    width: 100%;
    padding: 10px 16px;
    border-radius: 99px;
    border: 3px solid transparent;
    background: rgb(0,0,0,0.10);
    outline: none;
    font-weight: 500;
    transition: 0.25s border;
    padding-right:45px ; 
}
.city-input:foucs{
      border: 3px solid rgb(0,0,0,0.15);
}

.city-input::placeholder{
    color: rgb(255,255,255,0.75);
}

.search-btn{
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    display: flex;
    border: none;
    cursor: pointer;
}

/* END INPUT CONTAINER */

/* SEACTION: WEATHER INFO */
.weather-info{
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.location-date{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.location{
    display: flex;
    align-items: center;
    gap: 6px;

}
.weather-summary{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.weather-summary-img{
    width: 120px;
    height: 120px;
}

.weather-summary-info{
    text-align: end;
}

.weather-conditions{
    display: flex;
    justify-content: space-between;
}

.condition-item{
    display: flex;
    align-items: center;
    gap: 6px;
}

.condition-item span{
    font-size: 30px;
}

.forcast-items{
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 12px;
}

.forcast-items::-webkit-scrollbar{
   height: 8px;
}

.forcast-items::-webkit-scrollbar-track{
    background: rgb(0,0,0,0.1);
    border-radius: 99px;
}

.forcast-items::-webkit-scrollbar-thumb{
    background: rgb(0,0,0,0.15);
    background-origin: 99px;
}

.forcast-item{
    min-width: 70px;
    background: rgb(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    align-items: center;
    border-radius: 12px;
    transition: 0.3s background;
}

.forcast-item:hover{
    background: rgb(255,255,255,0.15);
}

.forcast-item-img{
    width: 35px;
    height: 35px;
}

/* END SEACTION: WEATHER INFO */


/* SECTION MESSAGE */

.section-msg{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
    margin-top: 25%;
}

.section-msg img{
    height: 180px;
    width: fit-content ;
}

/* END SECTION MASSAGE*/ 



.bottom-strip {
    position: fixed; 
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 45px;
    padding: 5px 20px;
    box-sizing: border-box;
    border-radius: 50px;
    

    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; 
   
    background: rgba(255, 255, 255, 0.05); 
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.1); 
    
    color: rgba(255, 255, 255, 0.85); 
    font-size: 0.85rem;
    font-family: inherit;
    z-index: 1000;
}

#activity-predictor {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.prediction-emoji {
    font-size: 1.1rem;
}

.footer-copyright {
    opacity: 0.6;
    font-size: 0.8rem;
}


@media (max-width: 600px) {
    .bottom-strip {
        flex-direction: column;
        gap: 5px;
        padding: 10px;
        text-align: center;
    }
}



