@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-1495419597644-19934b6b7c40?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2370&q=80');
    background-color: #000;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    height: 100vh;
    font-family: 'Poppins', sans-serif;
}

.container {
    padding: 20px 70px;
    color: #fff;
}

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

.date-container {
    background: rgba(24, 24, 27, 0.8);
    border-radius: 10px;
    border: 1px solid #eee;
    font-weight: 100;
    margin: 0 10px;
    padding: 15px 0;
}

.date-container .time {
    font-size: 30px;
    padding: 0 20px;
}

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

.current-info .others {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    padding: 0 20px;
    margin-top: 10px;
}

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

.current-info .others #weather-item {
    font-weight: 400;
    text-transform: capitalize;
}

.place-container {
    text-align: end;
    margin: 0 10px;
}

.location {
    background: rgba(24, 24, 27, 0.8);
    border-radius: 10px;
    border: 1px solid #eee;
    font-weight: 100;
    padding: 0 20px;
}

.place-container .time-zone {
    font-size: 30px;
    padding-top: 15px;
}

.place-container .country {
    font-size: 16px;
}

.place-container .footer {
    font-size: 16px;
    padding-bottom: 15px;
}

.future-forecast {
    display: flex;
    position: fixed;
    bottom: 0;
    background: rgba(24, 24, 27, 0.8);
    color: #fff;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 20px 70px;
}

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

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

.future-forecast .today .temp {
    font-size: 12px;
    font-weight: 400;
}

.future-forecast .today .desc {
    font-size: 12px;
    font-weight: 400;
    text-align: center;
    text-transform: capitalize;
}

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

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

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

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

.weather-forecast .weather-forecast-item .desc {
    font-size: 12px;
    font-weight: 100;
    text-align: center;
    text-transform: capitalize;
}

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

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

    .place-container {
        margin-top: 10px;
    }

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

    .future-forecast {
        justify-content: start;
        align-items: none;
        overflow-y: scroll;
        padding: 20px;
    }

}

@media only screen and (max-height: 670px) {

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

    .place-container .country {
        font-size: 14px;
    }
    
    .place-container .footer {
        font-size: 14px;
    }

}

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

@media only screen and (max-width: 932px) and (orientation:landscape) {
    
    body {
        overflow: auto;
        height: auto;
    }

    .future-forecast {
        position: static;
    }

 }