@import url("https://fonts.googleapis.com/css2?family=Fredoka+One&family=Inter:wght@400;500&family=Itim&family=Kaushan+Script&family=Righteous&family=Unbounded:wght@200;400;500;&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* font-family: "Fredoka One", cursive; */
  /* font-family: "Inter", sans-serif; */
  font-family: "Itim", cursive;
  /* font-family: "Kaushan Script", cursive; */
  /* font-family: "Righteous", cursive; */
  /* font-family: "Unbounded", cursive; */
}

body {
    background: url('front.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    overflow:hidden;
    height: 100vh;
}

.container{
    padding :20px 70px;
    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;
}

.adjust{
    display: flex;
    flex-direction: column;
    
}

.search-container{
    padding: 20px;
}
.place-contaner{
    text-align: end;
}

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

.place-contaner .country{
    font-size:15px;
    font-weight:700;
}

.current-info .other{
    display: flex;
    flex-direction: column;
    background: rgba(13, 13, 11, 0.7);
    padding:20px;
    border:1px solid #eee;
    margin: 10px 0;
    border-radius:10px
}

.current-info .other .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: aliceblue;
     width: 100%;
     align-items: center;
     justify-content: center;
     border: 1px solid #eee;
     border-radius: 10px;
}

.future-forecast .today {
    display: flex;
    align-items: center;
    justify-content: center;
    padding:15px 30px;
    border: 1px solid #eee;
    border-radius: 10px;
    
}

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

.future-forecast .today .temp{
    font-size: 20px;
    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;
    border-radius: 10px;
    padding: 15px;
}

.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
}

/* //responsive making */
@media only screen and (max-width :730px){
    .container{
        padding: 20px;
    }
    .future-forecast{
        justify-content: start;
        align-items: none;
        overflow: scroll;
    }
    .future-forecast .today .temp{
        font-size: 23px;
    }

    .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 .other{
        padding: 17px;
    }

    .current-info .other .weather-item{
        font-size : 15px;
    }
}

@media (min-width:280px) and ( max-width :653px){
    .date-container #am-pm{
        font-size : 13px;
    }
}

@media (min-width:768px) and ( max-width :1024px){
    .future-forecast{
        justify-content: start;
        align-items: none;
        overflow: scroll;
    }
}

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