@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');

body{
    background: url(assets/bg.jpg);
    width: 100%;
    height: 100dvh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

body::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100dvh;
    background: rgb(0, 0, 0,0.15);
    backdrop-filter: blur(15px);
}

*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    color: white;
    font-weight: 600;
}

/* UTILITIES */
.regular-text{
    font-weight: 300;
}
/* 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: 10px;
    backdrop-filter: blur(100px);
    padding: 20px;
}

/* SEARCH SECTION */
.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.15);
    outline: none;
    padding-right: 45px;
    transition: 0.25s border;
}

.city-input:focus{
    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;
    border: none;
    display: flex;
    cursor: pointer;
}
/* END SEARCH SECTION */

/* WEATHER:INFO SECTION */
.location-date-container{
    display: flex; 
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.location{
    display: flex; 
    gap: 6px;
}

.weather-summary-container{
    display: flex;
    align-items: center;
    gap: 65px;
    margin-bottom: 25px;
}

.temp-txt{
    font-size: 24px;
}
/* WEATHER:INFO SECTION END */

/* WATER CONDITION CONTAINER */
.water-condition-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.condition-summary{
    display: flex;
    align-items: center;
    gap: 6px;
}

.condition-summary span{
    font-size: 30px;
}
/* WATER CONDITION CONTAINER */

/* FORECAST ITEM CONTAINER */
.forecast-item-container{
    display: flex;
    overflow-x: scroll;
    gap: 15px;
}

.forcast-item{
    min-width: 80px;
    background: rgb( 255,255,255,0.15 );
    border-radius: 12px;;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px;
    margin-bottom: 15px;
    transition: 0.3s background;
}

.forecast-item-container::-webkit-scrollbar{
    height: 8px;
}

.forecast-item-container::-webkit-scrollbar-track{
    background: rgb(0,0,0,0.1 );
}

.forecast-item-container::-webkit-scrollbar-thumb{
    background: rgb( 0,0,0,0.15 );
    border-radius: 99px;
}

.forcast-item:hover{
    background: rgba(255, 255, 255, 0.1);
}

.forcast-img{
    width: 40px;
    height: 35px;
}
/* END FORECAST ITEM CONTAINER */

/* SECTION:MESSAGE SEARCH CITY */
.section-mssg{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 25%;
    gap: 15px;
}

.section-mssg img{
    height: 180px;
    object-fit: contain;
}
/* END SECTION:MESSAGE SEARCH CITY */