@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: #fff;
}


body{
    background-image: url(assets/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: 100vh;
    background: rgb(0, 0, 0, 0.15);
    backdrop-filter: blur(15px);
}


.main-container{
    width: 365px;
    height: 500px;
    z-index: 1;
    background: linear-gradient(
        to top, rgba(0, 0, 0, 0.30),
        rgba(255, 255, 255, 0.60));
        border-radius: 12px;
        padding: 20px;
}
    
.regular-txt{
    font-weight: 400;
}

/* SEARCH */
.input-container{
    position: relative;
    margin-bottom: 30px;
}

.city-input{
    width: 100%;
    padding: 10px 16px;
    border-radius: 25px;
    border: 3px solid transparent;
    background: rgba(0, 0, 0, 0.10);
    outline: none;
    font-weight: 300;
    transition: 0.25s border;
    padding-right: 50px;
}

.city-input:focus{
    border: 2px solid #fcfbf8;
    background: rgba(0, 0, 0, 0.20);
}

.city-input::placeholder{
    color: rgba(255, 255, 255);
}

.search-btn{
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    display: flex;
    border: none;
    font-size: 30px;
    cursor: pointer;
    transition: 0.5s;
}   

.search-btn:hover{
    font-size: 30px;
    background-color: rgba(0, 0, 0, 0.20);
    border-radius: 25px;
    padding: 5px 8px;
    padding-right: 7px;
}

/* Weather Info */
.weather-info{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.location-date-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.location{
    display: flex;
    align-items: center;
    gap: 10px;
}

.weather-summary-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.weather-summary-img{
    width: 130px;
    height: 130px;
}

.weather-conditions-container{
    display: flex;
    justify-content: space-between;
}

.condition-item{
    display: flex;
    align-items: center;
    gap: 10px;   
}


.condition-item span{
    font-size: 35px;
}

.forecast-items-container{
    display: flex;
    gap: 10px;
    margin-top: 30px;
    overflow-x: scroll;
    padding: 10px 5px;
}


.forecast-items-container::-webkit-scrollbar{
    height: 8px;
}

.forecast-items-container::-webkit-scrollbar-track{
    background-color: rgba(0, 0, 0, 0);
    border-radius: 99px;
}

.forecast-items-container::-webkit-scrollbar-thumb{
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 99px;
}



.forecast-item{
    min-width: 70px;
    background: rgb(255, 255, 255, 0.1);
    display: flex;
    gap: 10px;
    flex-direction: column;
    padding: 10px;
    align-items: center;
    border-radius: 12px;
    transition: 0.3s;
}

.forecast-item:hover{
    background: rgb(255, 255, 255, 0.20);
    box-shadow: 5px 5px 10px #00000070, -1px -1px 10px #ffffff50;
}

.forecast-item-img{
    width: 35px;
    height: 35px;
}


.section-message{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    margin-top: 20%;
}   

.message-img{
    height: 180px;
    width: fit-content;
}



















