@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif;
}

.main {
    font-family: 'Quicksand', sans-serif;
    height: 100vh;
    padding: 50px;
    background: linear-gradient(150deg,
            #e4e4e4,
            #c4b9b9);
}

.row {
    display: flex;
    flex-wrap: wrap;
}

/* COL-3 */

.row .col-3 {
    flex: 25%;
    margin-bottom: 30px;

}

/* CLOCK STYLE*/
.clockbox {
    display: block;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    position: absolute;
}

.clock {
    background-color: rgba(255, 255, 255, 0.06);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 25px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
    border-top: 5px solid #dd6e0d;
    border-bottom: 5px solid #dd6e0d;
}

#day {
    font-size: 150%;
    color: #161616;
    text-align: center;
}

#time {
    font-size: 200%;
    color: #172e0c;
    text-align: center;
}

/* WEATHER APP STYLE*/

.app {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 25px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
    padding: 30px;
    margin-top: 30px;
    color: #172e0c;
}

.header h1,
.todo {
    font-weight: 500;
    font-size: 1.5em;
    background-color: #a05006b2;
    padding: 3px;
    width: 100%;
    color: #fefae0;
    margin-bottom: 20px;
    box-shadow: 0 3px 5px rgba(31, 9, 9, 0.514);
}

.header input {
    width: 100%;
    background: transparent;
    border: 0;
    outline: 0;
    padding: 5px 0;
    border-bottom: 2px solid #dd6e0d;
    text-align: center;
    font-size: 1.3em;
    color: #fefae0
}

.city {
    font-size: 2em;
    font-weight: 500;
}

.temp {
    font-size: 4em;
    font-weight: 500;
    color: #141414;
}

.desc {
    font-size: 1.3em;
}

/* TO DO LIST STYLE */

/* COL-9 */
.row .col-9 {
    flex: 75%;
    text-align: center;
    padding: 0 5%;
}

#new-task {
    position: flex;
    padding: 15px 80px;
    background-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 25px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
}

#new-task input {
    position: flex;
    width: 70%;
    height: 35px;
    font-size: 1em;
    font-weight: 500;
    border: none;
    background-color: #fefae0;
    padding: 10px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    color: #172e0c;
}

#new-task input:focus {
    outline: none;
    font-size: 1.2em;
}

#new-task button {
    position: relative;
    float: right;
    height: 35px;
    width: 30%;
    font-size: 90%;
    font-weight: 500;
    border: none;
    background-color: #172e0c;
    padding: 8px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    color: #ffffff;
    cursor: pointer;
}

.todolisttext {
    margin-top: 30px;
    font-weight: 500;
    font-size: 1em;
    background-color: #a05006b2;
    padding: 3px;
    width: 100%;
    color: #fefae0;
    margin-bottom: 20px;
    box-shadow: 0 3px 5px rgba(31, 9, 9, 0.514);
}

#tasks {
    position: flex;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 25px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
    width: 100%;
    color: #172e0c;
    min-height: 270px;
}

.task {
    height: 45px;
    margin-top: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #fefae0;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 500;
    color: #172e0c;
}

.task span {
    font-size: 0.9em;
    font-weight: 400;
}

.task button {
    border: none;
    color: #283618;
    font-size: 1.2em;
    background-color: #dda25e00;
    cursor: pointer;
}

.edit {
    margin-left: auto;
    margin-right: 3em;
}

.completed {
    text-decoration: line-through;
    color: #00000077;
}

@media only screen and (max-width:1100px) {
    .row .col-9 {
        flex: 100%;
    }

    .row .col-3 {
        flex: 100%;
        padding: 0 12%;
        align-items: center;
        display: flex;
    }

    .clockbox,
    .app {
        width: 50%;
        padding: 5px;
    }

    .app {
        margin: 0 10px;
    }

    .app .content {
        display: inline-flex;
        padding: 5%;
    }

    .app .temp {
        border: #dd6e0d;
        border-width: 0 2px 0 2px;
        padding: 0 10px;
        border-style: dashed;
        margin: 0 10px;
    }

    .app .temp,
    .app .city,
    .app .desc {
        font-size: 1em;
        color: #42631e
    }
}

@media only screen and (max-width:699px) {
    .row .col-3 {
        flex-wrap: wrap;
        padding: 0 12%;
        align-items: center;
        justify-content: center;
    }

   .clockbox,
    .app {
        width: 100%;
        margin-top: 20px;
        padding: 5px;
    } 
}