.main-box{
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgb(246, 119, 140), rgb(137, 6, 137));
    padding: 10px;
    display: flex;
    justify-content: center;  
    align-items: center;      
}

.todo-box{
    width: 500px;
    min-height: 300px;
    background: white;
    border-radius: 10px;
    padding: 40px 30px 70px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.todo-box h1{
    font-size: 30px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.todo-box h1 img{
    width: 40px;
    margin-left: 10px;
}

.rows{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: whitesmoke;
    border-radius: 30px;
    padding-left: 20px;
    margin-bottom: 25px;
}

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

button{
    border: none;
    outline: none;
    padding: 16px 50px;
    background: #f34e75;
    color: #fff;
    font-size: 16px;
    border-radius: 40px;
    cursor: pointer;
}

ul li{
    list-style: none;
    font-size: 17px;
    padding: 12px 80px 12px 40px; 
    user-select: none;
    cursor: pointer;
    position: relative;
}

ul li::before{
    content: '';
    position: absolute;
    height: 28px;
    width: 28px;
    border-radius: 50%;
    background-image: url(s.png);
    background-size: cover;
    background-position: center;
    top: 10px;
    left: 5px;
}

ul li:hover{
    color: #0e0e0e;
}

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

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

ul li span{
    position: absolute;
    top: 10px;
    font-size: 18px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
}

.edit{
    right: 40px;
    color: blue;
}

.edit:hover{
    background: whitesmoke;
}

.delete{
    right: 10px;
    color: red;
}

.delete:hover{
    background: whitesmoke;
}

.pop-up-message {
    position: absolute;
    bottom: -20px;  
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    background: #f34e75;
    color: black;
    padding: 10px 20px;
    border-radius: 20px ;
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s ease;
}

.pop-up-message.show {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}