@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;400;700&display=swap');

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

body{
    background: url('https://images.unsplash.com/photo-1591905810826-c4933bd5d563?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1050&q=80');
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    height: 100vh;
    font-family: 'Poppins', sans-serif;
}
/* 
.searchbar{
    text-align: center;
    margin: 25px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn{
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    font-family: "poppins",sans-serif;
    background: rgba(24,24,27, 0.6);
    border-radius: 10px;
    margin-left: 4px;
    padding: 6px;
    font-size: 20px;
    border: 1px solid white;
    display: inline-block;
    transition: all 0.4 ease 0s;
}
.btn:hover {
    color: white;
    background: rgba(65, 65, 71, 0.6);
    transition: all 0.4 ease 0s;
}

.searchbar input[type="text"] {
    width: 240px;
    overflow: hidden;
    font-size: 20px;
    font-family: "poppins",sans-serif;
    margin: 5px 0;
    padding: 5px 0;
    border-radius: 10px;
    border: 1px solid white;
    color: white;
    background-color: rgba(24,24,27, 0.6);
    width: 470px;
    height: 44px;
    font-weight:700;
}
 */


form{
    text-align: center;
    margin: 25px auto;
}

#search-form{
    display: flex;
    justify-content: center;
    align-items: center;
    
}
#search-button{
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    font-family: "poppins",sans-serif;
    background: rgba(24,24,27, 0.6);
    border-radius: 10px;
    margin-left: 4px;
    padding: 6px;
    font-size: 20px;
    border: 1px solid white;
    display: inline-block;
    transition: all 0.4 ease 0s;
}
#search-button:hover {
    color: white;
    background: rgba(65, 65, 71, 0.6);
    transition: all 0.4 ease 0s;
}


#search-city{
    width: 240px;
    overflow: hidden;
    font-size: 20px;
    font-family: "poppins",sans-serif;
    margin: 8px 0;
    padding: 5px 0;
    border-radius: 10px;
    border: 1px solid white;
    color: white;
    background-color: rgba(24,24,27, 0.6);;
    

}


.input input[type="text"]{
    width: 470px;
    height: 50px;
    padding: 5px 10px;
    background: rgba(24,24,27, 0.6);
    border: none;
    border-radius: 1px;
    color: white;
    font-family: "poppins",sans-serif;
    font-weight:700;
    font-size: 20px;    
}  

h3{
    position: fixed;
    left: 45%;
    right: 45%;
    font-size: 40px;
    font-family: "poppins",sans-serif;
    color: white;
}

.container{
        padding: 0px 100px;
        color: #fff;
}


.current-info{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.date-container{
    font-weight: 100;
}

.date-container .time{
    font-size: 70px;
}

.date-container #am-pm{
    font-size: 30px;
    margin-left: 20px;
}

.date-container .date{
    font-size: 30px;
}

.place-container{
    text-align: end;
}

.place-container .time-zone{
    font-size: 30px;
    font-weight: 100;
}

.place-container .country{
    font-size: 12px;
    font-weight: 700;
}

.current-info .others{
    display: flex;
    flex-direction: column;
    background: rgba(24,24,27, 0.6);
    padding:20px;
    border-radius: 10px;
    margin: 10px 0;
    border: 1px solid #eee;
    
}

.current-info .others .weather-item{
    display: flex;
    justify-content: space-between;
}

.future-forecast{
    background: rgba(24,24,27,0.8);
    padding: 25px;
    position: fixed;
    bottom: 0;
    display: flex;
    color:white;
    width: 100%;
    align-items: center;
    justify-content: center;
    overflow-y: hidden;
}

.future-forecast .today{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 10px;
    background: rgba(0,0,0,0.2);
    height: 200px;
    width: 165px;
}

.future-forecast .today .day{
    padding: 5px 15px;
    background: #3c3c44;
    border-radius: 50px;
    text-align: center;
}

.future-forecast .today .temp{
    font-size: 18px;
    padding-top: 15px;
}

.future-forecast .weather-forecast{
    display: flex;
}

.weather-forecast .weather-forecast-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 10px;
    background: rgba(0,0,0,0.2);
    height: 200px;
    width: 165px;
}

.weather-forecast .weather-forecast-item .day{
    padding: 5px 15px;
    background: #3C3C44;
    border-radius: 50px;
    text-align: center;
}

.weather-forecast .weather-forecast-item .temp{
    font-weight: 100;
    font-size: 12px;
}

    
@media only screen and (max-width:730px){
    
    .container{
        padding: 20px;
    }

    .future-forecast{
        justify-content: start;
        align-items: none;
        overflow-y: scroll;
    }
    .future-forecast .today .temp{
        font-size: 16px;
    }

    .date-container .time{
        font-size: 50px;
    }

    .date-container #am-pm{
        font-size: 20px;
    }

    .date-container .date{
        font-size: 20px;
    }

    .place-container{
        text-align: end;
        margin-top: 15px;
    }

    .place-container .time-zone{
        font-size: 20px;
    }

    .current-info .others{
        padding: 12px;
    }

    .current-info .others .weather-item{
        font-size: 14px;
    }

}

@media only screen and (max-width: 1000px){
    .future-forecast{
        justify-content: start;
        align-items: none;
        overflow-x: scroll;
    }
}