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

.container{
    padding: 20px 70px;
    color:#35d80c;
    background-color: rgba(3, 3, 75, 0.8);
}

.current-info{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.current-date{
    font-weight: 100;
    font-family: cursive;
}
.current-date .time{
    font-size: 60px;
}

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

.current-date .date{
    font-size: 25px;
}

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

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

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

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

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

.log-out button{
    background-color: green;
    border-radius: 6px;
    height: 35px;
    width: 100px;
}

.log-out button a{
    text-decoration: none;
    font-size: 14px;
}


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

.future-forecast .today{
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    border-radius: 10px;
    padding:15px;
    padding-right: 40px;
    border-radius: 10px;
    background: rgba(50, 236, 33, 0.815)
}

.future-forecast .today .day{
    padding: 5px 15px;
    background: #16d6ad;
    border-radius: 5px;
    text-align: center;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.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 #0929df;
    padding: 15px;
    border-radius: 10px;
    background: rgba(38, 190, 7, 0.2)
}

.weather-forecast .weather-forecast-item .day{
    padding: 5px 15px;
    background: #1111d1;
    border-radius: 5px;
    text-align: center;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

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

/* Add this CSS for center-right positioning of the Translate button */
.translate-button {
    position: fixed;
    bottom: 50vh; /* Adjust the distance from the bottom as needed */
    right: 20px; /* Adjust the distance from the right as needed */
    z-index: 1000; /* Ensure the button is on top of other elements */
    background-color: #007BFF; /* Button background color */
    color: #fff; /* Button text color */
    padding: 10px 20px; /* Button padding */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.translate-button:hover {
    background-color: #3ada12; /* Hover color */
}
