* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

.container {
    width: 100%;
    min-height: 100vh;
    padding: 10px;
    /* background: rgb(41,124,140);
    background: radial-gradient(circle, rgba(41,124,140,1) 0%, rgba(22,180,159,1) 83%, rgba(16,117,104,1) 100%); */
    background: rgb(7, 16, 60);
    background: radial-gradient(circle, rgb(69, 36, 190) 0%, rgb(13, 90, 103) 100%);
}

.todo-app {    
    width: 100%;
    max-width: 540px;
    background: #fff;
    margin: 100px auto 20px;
    padding: 40px 30px 70px ;
    border-radius: 10px;
}

.todo-app h2 {
    color: #002765;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.todo-app img {
    width: 30px;
    margin-left: 10px;
}

.row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #edeef0;
    border-radius: 30px;
    padding-left: 20px;
    margin-bottom: 25px;
}

.row #input-box {
    flex: 5;
    border: none;
    outline: none;
    background: transparent;
    padding: 10px;
}

.row button {    
    flex: 1;
    /* position: absolute;
    right: 0; */
    border: none;
    outline: none;
    padding: 16px 50px; 
    background: #ff5945;
    color: #fff;
    font-size : 16px;
    border-radius: 40px;
}

#list-container li {
    list-style: none;
    font-size: 17px;
    padding: 12px 8px 12px 50px;
    user-select: none;
    cursor: pointer;
    position: relative;
}

#list-container li::before {
    content: '';
    position: absolute;
    height: 28px;
    width: 28px;
    border-radius: 50%;
    background-image: url(images/unchecked.png);
    background-size: cover; 
    background-position: center;
    top: 12px;
    left: 8px;
}

#list-container li.checked {
    color: #555;
    text-decoration: line-through; 
}

#list-container li.checked::before {
    background-image: url(images/checked.png);
}

#list-container li span {
    position: absolute;
    right: 0;
    top: 5px;
    width: 40px;
    height: 40px;
    font-size: 22px;
    color: #555;
    line-height: 40px;
    text-align: center; 
    border-radius: 50%;
}

#list-container li span:hover {
    background: #edeef0;
}


@media (max-width:650px) {
    .todo-app {    
        max-width: 80%;
        background: #fff;
        margin: 100px auto 20px;
        padding: 40px 30px 70px ;
        border-radius: 10px;
    }
}

@media (max-width:500px) {
    .todo-app {    
        max-width: 100%;
        background: #fff;
        margin: 100px auto 20px;
        padding: 5vw ;
        border-radius: 10px;
    }

    .row {
        padding-left: 5%;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-around;
        background: #edeef0;
        border-radius: 30px;
        margin-bottom: 25px;
        margin-left: 0;
    }

    .row #input-box {
        flex: 5;
        border: none;
        outline: none;
        background: transparent;
        padding: 10px;
        margin-left: 30px;
    }

    .row button {    
        flex: 1;
        /* position: absolute;
        right: 0; */
        border: none;
        outline: none;
        padding: 12px 16px; 
        background: #ff5945;
        color: #fff;
        font-size : 16px;
        border-radius: 40px;
    }
}
