@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("images/background.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    height: 100vh;
    font-family: "Poppins", sans-serif;
}

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

}

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

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

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

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

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


.place-container .loc {
    display: inline;
    font-size: 1.7rem;
}


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

}

.place-container .country {
    font-size: 12px;
    font-weight: 700;
    text-align: center;


}

.current-info .others {
    display: flex;
    flex-direction: column;
    background: transparent;
    padding: 20px;
    border-radius: 0.2rem;
    margin: 10px 0;


}

.current-info .others div {
    margin-top: 0.3rem;
}

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

.future-forecast {
    background: transparent;
    padding: 25px;
    position: fixed;
    bottom: 0;
    display: flex;
    color: white;
    width: 100%;
    align-items: center;
    justify-content: center;
    overflow-y: hidden;
}

.future-forecast .today {
    height: 18rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    box-shadow: 1px 1px #fff;
    padding: 15px;
    padding-right: 40px;
    border-radius: 0.2rem;
    background: #7E6F60;
}

.future-forecast .today .day {
    text-transform: uppercase;
    font-size: 1.5rem;
    background: transparent;
    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: 0.1px solid #eee;
    box-shadow: 1px 1px #fff;
    padding: 15px;
    border-radius: 0.2rem;
    background: #7E6F60;
    height: 18rem;
}

.weather-forecast .weather-forecast-item .day {
    font-size: 1.8rem;
    text-transform: uppercase;
    border-radius: 50px;
    text-align: center;
}

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

@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: 1400px) {
    .future-forecast {
        justify-content: start;
        align-items: none;
        overflow-x: scroll;
    }
}

@media only screen and (max-width: 360px) {

    .future-forecast .today {
        height: 15rem;
        width: 7rem;
    }

    .future-forecast .today img {
        width: 6rem;
        height: 6rem;
        position: absolute;
        margin-top: 8rem;
    }

    .future-forecast .today .day {

        margin-top: -5rem;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 1rem;
        background: transparent;
        border-radius: 50px;
        text-align: center;

    }

    .future-forecast .today {
        height: 15.5rem;
        width: 10rem;
    }

    .future-forecast .today .others .temp {
        margin-top: 10rem;
    }


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

    .weather-forecast .weather-forecast-item {
        height: 18rem;
    }

    .weather-forecast .weather-forecast-item {

        height: 14rem;
        width: 7rem;
    }


    .place-container {
        align-items: start;
        display: flex;
        flex-direction: column;
        width: 100%;


    }






    .place-container .loc {
        display: inline;

    }


    .place-container .time-zone {
        display: inline;


    }






}