
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}
body{
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(to top, rgba(255,0,0,0), rgba(255,0,0,1));
    background-image: url(/image/marissa-grootes-ck0i9Dnjtj0-unsplash.jpg);
    background-size: cover;
    background-position: center;
}
.to_do_app{
    width: 100%;
    max-width: 540px;
    background-color: white;
    /* background-size: cover; */
    /* background-position: center; */
    margin: 100px auto 20px;
    padding: 40px 30px 100px;
    border-radius: 20px;

}
.to_do_app h2{
    position: relative;
    margin-left: 20px;
    font-size: 2.6rem;
    font-weight: 850;
}
.to_do_app h2 img{
    height: 60px ;
    width: 60px;
    position: absolute;
    top :5px;
    margin-left: 6px;
}
.search-bar{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    margin-top: 10px;
    background-color: rgb(235, 232, 232);
    border-radius:40px

}
.search-bar input{
    flex: 1;
    width: 75%;
    height: 70px;
    border-radius: 40px;
    font-size:1.2rem;
    font-weight: 600;
    color: rgb(0, 0, 0);
    border: none;
    outline:none;
    background-color: transparent;
    padding: 0 20px 0 30px;
}
.search-bar input::placeholder{
    color: rgb(3, 3, 3);
    font-size: 0.9rem;
}
.search-bar button{
    height: 70px;
    font-size:1.4rem;
    color: #fff;
    font-weight: 600;
    width: 24%;
    border-radius: 40px;
    border: none;
    outline: none;
    background-color: red;

}
.search-bar button:hover{
    cursor: pointer;
    box-shadow: 0px 0px 7px red;
}
ul{
   margin: 19px 0 0 0;

}
ul li{
    position: relative;
    list-style:none;
    color: red;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    padding: 12px 30px 12px 50px;
    word-break:break-all;
}
ul li span{
    position: absolute;
    right: 0;
    top: 5px;
    height: 40px ;
    width: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 40px;
    text-align: center;
}
ul li span:hover{
    background-color: #dad5d5;
    color: red;
}
ul li::before{
    content: ' ';
    position: absolute;
    height: 20px;
    left: 0;
    cursor: pointer;
    top: 12px;
    width: 20px;
    border-radius: 50px;
    background-color: rgb(196, 196, 196);
}ul li.check::before{
    background-image: url(/image/tick.png);
    background-size:contain;
    cursor: pointer;
    background-position: center;
}
ul li.check{
    color: rgb(5, 180, 5);
}
