@import url('https://fonts.googleapis.com/css2?family=Averia+Serif+Libre:wght@300;400;700&family=Manjari:wght@100;400&display=swap');

/* -- Main -- */
* {
    padding: 0;
    margin: 0;
}

html {
    height: 100%;
}

body {
    background-image: url('/assets/images/background/1.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    color: white;
    font-family: 'Manjari', sans-serif;  
}

.js-logo {
    height: 30px;
    width: 30px;
}

.bg-block {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 40px;
    text-align: center;
    margin: 0 auto;
}

.input-box {
    border: none;
    border-bottom: white solid 4px;
    border-radius: 30px;
    background: none;
    width: 70%;
    text-align: center;
    color: white;
}

.input-box:focus,
.icon-btn:focus {
    outline: none;
}

.icon-btn, .delete-loc {
    background: none;
    border: none;
    color: white;
    line-height: 0;
}

/* -- Todo List -- */

.todo {
    min-height: 500px;
    margin-top: 25%;
}

.todo-title {
    padding-top: 10%;
    font-size: 4rem;
    font-family: 'Averia Serif Libre', cursive;
}

.todo-btn {
    font-size: 2.5rem;
    margin: 0;
    height: 35px;
}

.icon-btn:hover {
    color: orange;
}

.far, .fas {
    height: 35px;
    padding-top: 10px;
    pointer-events: none;
}

.delete-btn, .check-btn {
    margin: 0 5px;
    font-size: 1.2rem;
}

.todo-list {
    margin: 30px auto;
    max-height: 250px;
    overflow: auto;
    list-style: none;
    width: 80%;
}

.list-item {
    margin-top: 20px;
    font-size: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.check-green {
    color: green;
}

.complete {
    text-decoration: line-through;
    color: grey;
}

/* -- Weather -- */

.weather-display {
    width: 60%;
    margin: 0 auto;
    text-align: center;
}

.weather-block {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding: 20px 20px;
}

.add-weather{
    text-align: right;
    padding-right: 50px;
}

.location, .temp {
    font-size: 2.5rem;
    font-weight: 700;
}

.temp-c {
    font-size: 1.5rem;
}

.weather-icon {
    margin-top: 10%;
    margin-left: 25px;
}

.weather-input {
    background-color: rgba(0, 0, 0, 0.25);
    max-width: 300px;
}

.weather-btn {
    padding-bottom: 10px;
    font-weight: 700;
}

.delete-loc {
    font-size: 0.75rem;
    margin-top: 50px;
}

.display {
    display: none;
}

/* -- Time/Date Section -- */

.clock {
    width: 125px;
    padding: 10px 0;
    margin-left: 3%;
}

.time{
    margin: 0;
}

.hour, .minutes, .date {
    font-weight: 700;
}

.seconds {
    font-size: .7rem;
}

.date p {
    margin: 0;
}

.time-tag {
    font-size: 1rem;
}

/* Footer */

.foot-text {
    text-align: center;
    color: white;
    font-weight: 300; 
    font-size: 1rem;
    padding-top: 25px;
}

footer {
    position: absolute;
    width: 100%;
    bottom: 0;
    height: 60px;
}

/* -- Media Queries -- */

@media screen and (max-width:700px) {
    body {
        background-position: center;
    }

    .todo {
        max-height: 250px;
    }

    .weather-display {
        width: 100%;
    }

    .loc-temp {
        font-size: 1rem;
    }

    .clock {
        width: 100%;
        margin-left: 0;
    }

    .local {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
    }

    .time-tag {
        display: none;
    }

    .foot-text {
        display: none;
    }
}

@Media screen and (max-width: 1024px) {
    .todo {
        margin-top: 5%;
    }

    .weather-display {
        margin-top: 5%;
    }

    .clock {
        width: 100%;
        margin-left: 0;
    }

    .local {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
    }

    .time-tag {
        display: none;
    }
}
