@import url('https://fonts.googleapis.com/css2?family=Poiret+One&display=swap');

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

body {
    background: rgb(86, 214, 186);
    background-repeat:no-repeat;
    background-size:cover;
    overflow:hidden;
    height: 100vh;
    width: 100vw;
    background-position: center;
    font-family: 'Poiret One', cursive;
    
}

.container {
    font-size: 1.25rem;
    color: #fff;
    padding: 20px 77px;
    
}

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

.date-container .time{
    font-size: 70px;
    font-weight: 100;
    text-shadow: 0px 0px 21px rgb(0, 0, 0);  
}

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

.date-container .date{
    font-size: 30px;
    text-shadow: 0px 0px 7px rgba(0, 0, 0, 0.664);
}

.place-container {
    text-align: end;
    text-shadow: 0px 0px 17px rgba(0, 0, 0, 0.801);
}

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

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

.current-info .others {
    padding: 15px;
    display: flex;
    flex-direction: column;
    background: rgba(228, 63, 112, 0.24);
    border: 2px solid #ffffffde;
    border-radius: 15px;
    margin: 10px 0px;
    
}

.current-info .others .weather-item {
    display: grid;
    grid: 1fr / auto auto;
    gap: 15px;
    justify-content: space-between;
}

.future-forecast {
    background:linear-gradient(rgba(255, 255, 255, 0),rgba(7, 1, 10, 0.842));
    padding: 25px;
    position: fixed;
    bottom: 0px;
    display: flex;
    color: #fff;
    width: 100%;
    align-items:  center;
    justify-content:  center;
    mix-blend-mode: normal;
}

.future-forecast .today {
    display:flex;
    align-items: center;
    justify-content: center;
}

.future-forecast .today .day {
    padding: 5px 15px;
    background: rgb(47, 64, 87);
    border-radius: 7px;
    text-align: center;
}

.future-forecast .today .temp {
    font-size: 20px;
    padding-top: 15px;
    text-shadow: 0px 0px 3px #000;
}

.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: 2px solid rgb(175, 243, 248);
    border-radius: 5px;
    padding: 10px;
    mix-blend-mode: exclusion;
}

.weather-forecast .weather-forecast-item .day {
    padding: 5px 15px;
    background: rgba(27, 27, 49, 0.849);
    border-radius: 7px;
    text-align: center;
}

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

.others {
    margin: 15px;
}




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

   

    .container {
        padding: 20px;
    }
    
    .future-forecast .today .temp {
        font-size: 23px;
    }
    
    .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: 14px;
    }

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

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

}

/* @media only screen and (max-width: 400px){
    .future-forecast {
        display: none;
    }
} */