*{
    margin: 0;
    padding: 0;
    color: black;
    box-sizing: border-box;
}
.container{
    background-color: #2f3e46;
    min-height: 100vh;
    width: 100%;
    padding: 10px;
    position: relative;
}
.toDo{
    width: 100%;
    max-width: 540px;
    background-color: #354f52;
    margin: 100px auto 20px;
    padding: 40px 30px 70px;
    border-radius: 10px;
}
.container h2 {
    display: flex;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    font-size: 2.8em;
}

.container h2 img{
    width: 40px;
    margin-left: 10px;
}
.task-Input{
    flex: 1;
    border: none;
    outline: none;
    background:transparent;
    border-radius: 50px;
    font-size: 20px;
    color:black;
    padding: 10px;
    font-weight: bold;
    position: relative;
}

.input{
    display: flex;
    justify-content: space-between ;
    text-align: center;
    background-color: white;
    margin-bottom: 25px;
    border-radius: 30px;
    padding-left: 20px;
    margin-top:20px ;
    text-shadow: 1px 1px 1px #00000040;
    box-shadow: 8px 8px 20px 0px #45090059;
}
.add{
    width: 120px;
    border-radius: 30px;
    background: linear-gradient(140.14deg, #ec540e 15.05%, #d6361f 114.99%)
    padding-box,
    linear-gradient(142.51deg, #ff9465 8.65%, #af1905 88.82%) border-box;
    border: 2px solid transparent;
    position: relative;
    z-index: 0;
    cursor: pointer;
    font-size:15px ;
    text-shadow: 1px 1px 1px #00000040;
    box-shadow: 8px 8px 20px 0px #45090059;
    transition: all 0.3s;
    color: white;
    font-size: 18px;
    font-weight: 500;
}
.task-Input:hover{
    color: black;
    box-shadow: none;
    opacity: 80%;
}
.task-Input::after{
    content: "";
    position: absolute;
    height: 100%;
    width: 0px;
    left: 0;
    top: 0;
    z-index: -1;
    transition: 150ms ease-in-out;
}
.add:hover {
    color: black;
    box-shadow: none;
    opacity: 80%;
}  
.add::after{
    content: "";
    position: absolute;
    height: 100%;
    width: 0px;
    left: 0;
    top: 0;
    z-index: -1;
    transition: 150ms ease-in-out;

}
.add:hover::after{
    width: 100%;

}
ul li{
    position: relative;
    list-style: none;
    font-size:25px;
    padding: 7px 0px 10px 45px;
    position: relative;
    color: white;
    cursor: pointer;
    flex-wrap: wrap;
    word-wrap: break-word; 
    word-break: break-word; 
    max-width: 70%; 
    overflow-wrap: break-word; 

}
ul li::before{
    content: "";
    position: absolute;
    background-image: url(unchecked.png);
    height: 20px;
    width: 20px;
    background-size: cover;
    background-position: center;
    left: 4px;
    top: 11.5px;
    background: white;
    border-radius: 100%;
    cursor: pointer;
}
ul li.checked{
    text-decoration: line-through;
    position: relative;

}
ul li.checked::before{
    content: "";
    position: absolute;
    background-image: url(checked.png);
    height: 20px;
    width: 20px;
    background-size: cover;
    background-position: center;
    left: 4px;
    top: 13px;
    border-radius: 100%;

}

ul li span {
    position: absolute;  
    top: 50%; 
    left: 100%; 
    bottom: -10px; 
    margin-left: 10px; 
    width: 30px;
    height: 30px;
    cursor: pointer;
    color: black;
    font-weight: bolder;
    line-height: 30px;
    text-align: center;
    display: inline-block;
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translateY(-50%); 
    max-width: 100%; 
}

ul li span:hover {
    background-color: grey; 
    transform: scale(1.5); 
}

