


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Background */
.container {
    width: 100%;
    height: 100vh;
    background: linear-gradient(#153677, #4e085f);
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* To-Do List Box */
.to-do-list {
    width: 100%;
    max-width: 540px;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

/* Title & Icon */
.to-do-list h2 {
    color: #002765;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.to-do-list h2 img {
    width: 40px; 
    margin-left: 10px;
}

/* Input Field & Button */
.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #edeef0;
    border-radius: 30px;
    padding: 10px;
    margin-bottom: 20px;
}

input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    padding: 10px;
}

button {
    border: none;
    outline: none;
    width: 60px;
    height: 35px;
    background: #ff5945;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 40px;
}

/* Task List */


ul li {
    list-style: none;
    font-size: 17px;
    padding-left: 35px;
    padding-top: 5px;
    cursor: pointer;
    display: block; 
    position: relative;
    margin-right: 350px;
    align-items: center;
    
    
   
}

ul li::before{
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background-image: url('Icons/circle.png');
    background-size: cover;
    background-position: center;
    top: 12px;
    left: 8px;
    transform: translateY(-30%);
    
    
}

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

ul li.checked::before{
    background-image: url('Icons/checked.png');
} 

ul li span{
    position: absolute;
    right: 0;
    top: 5px;
    width: 30px;
    height: 30px;
    font-size: 22px;
    color: #555;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    margin-right: -300px;
}

ul li span:hover{
    background: #edeef0;
}


