html {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    font-size: 10px;
    font-family: sans-serif;
}

body {
    width: 100%;
    height: 100%;
    background: linear-gradient(#41E5D9, #4D8FE2);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

h1 {
    font-size: 3.2rem;
    margin: 0 0 1.6rem;
}

main {
    width: 100%;
    max-width: 40rem;
    background-color: #FFF;
    border-radius: .8em;
    padding: 3.2rem 2.4rem;
}

.todo-list-section {
    margin: 0.8rem 0 1.6rem;
    min-height: 5rem;

    &>ul {
        padding-inline-start: 0rem;
        height: 23rem;
        overflow: auto;
    }

    &>ul>li {
        list-style-type: none;
        padding: .8rem 1.6rem;
        font-size: 1.6rem;
        background-color: #EFEFEF;
        display: flex;
        justify-content: space-between;
        position: relative;
        margin-bottom: .8rem;
    }

    &>ul>li:last-child {
        margin-bottom: 0;
    }

    &>ul>li>button {
        width: 2.4rem;
        height: 2.4rem;
        background-color: #E64C3C;
        color: #FFF;
        border: none;
        border-radius: .4rem;
        cursor: pointer;

        &:hover {
            background: #DA5C3E;
        }
    }
}

.checkbox-label-container {
    display: flex;
    align-items: center;
    justify-content: center;

    &>label {
        cursor: pointer;
    }

    &>input {
        margin: .8rem;
        cursor: pointer;
    }
}

#create-todo-section {
    width: 100%;
}

#create-todo-form {
    font-size: 1.6rem;
    display: flex;
    flex-direction: row;
    width: 100%;
}

.input-description {
    height: 3.2rem;
    width: 100%;
    font-size: 1.6rem;
    border-radius: .4rem;
    margin-right: .4rem;
    outline: 0;
    border: 1px solid #646464;
    padding-left: .8rem;

    &:focus {
        border: 1px solid #5EB7F6;
    }
}

.add-task-btn {
    box-sizing: border-box;
    height: 3.6rem;
    width: 3.6rem;
    color: #FFF;
    background-color: #8F49E7;
    border: none;
    border-radius: .4rem;
    font-size: 2.4rem;
    cursor: pointer;

    &:hover {
        opacity: .8;
    }
}

.add-task-btn:disabled {
    background-color: #D9D9D9;
    cursor: not-allowed;
}

.remove-done-tasks-btn {
    box-sizing: border-box;
    height: 3.6rem;
    color: #FFF;
    background: #8F49E7;
    border: none;
    border-radius: .4rem;
    cursor: pointer;
    padding: 0 1.6rem;

    &:hover {
        opacity: .8;
    }
}

footer {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    font-size: 1.6rem;
    align-items: center;
}