@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

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

.container{
    width: 100%;
    min-height: 100vh;
    background-color: #1f2421;
    padding: 10px;
}

img{
    width: 40px;
    height: 40px;
}

.todo-app{
    width: 100%;
    max-width: 540px;
    background-color: #9cc5a1;
    margin: 100px auto 20px;
    padding: 40px 30px 70px;
    border-radius: 10px;
}

.todo-app h2{
    color: #216869;
    font-size: 2rem;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color:#49a078;
    border-radius: 30px;
    padding-left: 30px;
    margin-bottom: 25px;
}

input{
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 10px;
}

button{
    border: none;
    outline: none;
    padding: 16px 50px;
    background-color: #dce1de;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 40px;
    color: #216869;
}

ul li{
    list-style: none;
    font-size: 1.1rem;
    padding: 12px 8px 12px 50px;
    user-select: none;
    cursor: pointer;
    position: relative;
}

ul li::before{
    content: "";
    position: absolute;
    height: 28px;
    width: 28px;
    border-radius: 50%;
    background: url(./asstes/unchecked.png);
    background-size: cover;
    background-position: center;
    top: 12px;
    left: 8px;
}

ul li.checked{
    color: #1f2421;
    text-decoration: line-through;
}

ul li.checked::before{
    background: url(./asstes/checked.png);
    background-position: center;
    background-size: 35px 35px;
}

ul li span{
    position: absolute;
    right: 0;
    top: 5px;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    line-height: 40px;
    text-align: center;
    color: #1f2421;
}

ul li span:hover{
    background-color: #57bd8d;
}