html{
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    font-size: 10px;
    font-family: "Rubik", sans-serif;
}
body{
    width: 100%;
    height: 100%;
    margin: 0;
    background-color: #F5F9FF;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
main{
    overflow-y:auto;
    width: 65rem;
    height: 50.5rem;
    background-color: white;
    border-radius: 1.6rem;
    border: #EEEEEE,solid,0.2rem;
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
footer{
    width: 65rem;
    height: 8rem;
    border: #EEEEEE,solid,0.2rem;
    border-top: none;
    background-color: #ffffff;
    border-radius: 1.6rem;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.section-header > h1{
    font-size: 4rem;
    color: #11175E;
    margin:2.4rem 0 2.4rem 3.2rem;
}
.section-header > form{
    margin: 0 0 0 3.2rem;
    padding: 0;
}
.section-header > form > button{
    font-size: 1.8rem;
    font-weight: 400;
    background-color:#2D70FD;
    width: 4.5rem;
    height: 4.5rem;
    color: white;
    border: none;
    border-radius: 0.8rem;
    &:hover{
        background: #8ba6e0;
    }
}
.section-header > form > input{
    width: 25.223rem;
    height: 4.5rem;
    border-radius: 0.8rem;
    border:#EEEEEE,solid,0.1rem;
    margin: 0 1.4rem 0 0;
    padding: 0;
}

.todo-list{
    margin: 2.4rem 3.2rem 0 3.2rem;
    padding: 0;
}

.todo-list > li{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-template-columns: 42rem 16.3rem;
    grid-template-rows: 5rem 5rem;
    height: 10.3rem;
    overflow: none;
    font-size: 1.6rem;
    border:#EEEEEE,solid,0.1rem;
    border-radius: 1.6rem;
    margin-bottom: 0.8rem;
}
.todo-list >li> li{
    grid-area: 2/1;
    margin: 0 0 0 3.2rem;
    overflow: auto;
    color: #B1BACB;
    height: 4rem;
    padding-top: 1.5rem;
}
.todo-list > li > span{
    margin:2.4rem 0 0 3.2rem;
}
.todo-list > li > button{
    color: white;
    font-size: 1.8rem;
    font-weight: 500;
    width: 12.1rem;
    height: 4.4rem;
    background-color: #2D70FD;
    border: none;
    border-radius: 0.8rem;
    margin: 2.95rem 0 0 2rem;
    &:hover{
        background: #8ba6e0;
    }
}
.todo-list > li > li > p{
    display: inline;
    border: #B1BACB 0.5px solid;
    border-radius: 2rem;
    padding: 0.2rem 1rem;
}
.todo-list > li > li> span{
    margin-left: 0.8rem;
}

#done-img{
    margin: 3.55rem 0 0 10rem;
}

hr{
    margin: 1.6rem 3.2rem 0 3.2rem;
    border-top:#EEEEEE;
}

#task-counter{
    font-size: 1.6rem;
    color: #B1BACB;
    margin: 2.4rem 0 0 48.1rem;
}

@media only screen and (max-width: 780px) {
    html{
        font-size: 8px;
    }
    main{
        width: 80%;
        height: 80%;
    }
    footer{
        width: 80%;
    }
    .section-header > form > button{
        margin-top: 1.6rem;
        width: 91%;
    }
    .section-header > form > input{
        margin-top: 1.6rem;
        width: 91%;
    }
    .todo-list > li{
        font-size: 1.5rem;
        height: 19rem;
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .section-header > h1{
        font-size: 3.8rem;
    }
    .todo-list > li > li {
        margin-left: 2rem;
        height: 7rem;
        overflow: hidden;
    }
    .todo-list >li >span{
        margin: 1.5rem 0 0 2rem;
    }
    .todo-list > li > li > span {
        display: block;
        margin: 1rem 0 0 0;
    }
    .todo-list > li > button {
        width: 40%;
        margin: 0 auto;
    }
    #task-counter{
        margin: 2rem 0 0 18rem;
    }
    #done-img{
        width: 10rem 0;
        margin: 0 auto;
    }
    
}
