*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto';
}

body{
    width: 100%;
    height: 100%;
    background-color: rgb(211, 204, 204);
}

#main{
    width: 100%;
    min-height: 100vh;
    /* background-color: aliceblue; */
    padding: 10px;
}

#todo-list{
    width: 100%;
    max-width: 540px;
    margin: 100px auto 30px;
    padding: 40px 30px 30px;
    border-radius: 15px;
    background-color: rgb(162, 49, 162);
    box-shadow: -10px 20px 40px 10px rgb(52, 52, 52);
}

#todo-list h1{
    font-size: 25px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.row{
    display: flex;
    justify-content: space-between;
    align-items: center; 
    margin-bottom: 30px;
    border-radius: 30px;
}

.row input{
    flex: 1;
    border-radius: 20px;
    border: none;
    outline: none;
    background-color: rgb(241, 241, 241);
    padding: 10px;
}

.row button{
    cursor: pointer;
    margin-left: 8px;
    padding: 10px 25px;
    border: none;
    outline: none;
    border-radius: 20px;
    background-color: black;
    color: whitesmoke;
    transition: all ease 0.3s;
}

.row button:hover{
    background-color: orangered;
}

ul{
    border-radius: 10px;
    background-color: rgb(241, 241, 241);
}

ul li{
    list-style: none;
    text-align: left;
    font-weight: bold;
    padding: 10px;
    padding-left: 40px;
    font-size: 15px;
    user-select: none;
    position: relative;
    cursor: pointer;
}

ul li::before{
    content:'';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-image: url(/images/unchecked.png);
    background-size: cover;
    background-position: center;
    left: 5px;
}

ul li span{
    position: absolute;
    top: 5px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 50%;   
    transition: all ease 0.3s;
}

ul li span:hover{
    background-color: rgb(223, 223, 223);
}

.checked{
    text-decoration: line-through 2px;
    text-decoration-color: red  ;
}

.checked::before{
    background-image: url(https://cdn-icons-png.flaticon.com/128/845/845646.png);
}