*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body{
    background: #f4f4f9;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding-top: 50px;
}

#wrapper{
    background: white;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.1);
    width: 600px;
    min-height: 200px;
}

h1{
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.input-area{
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    
}

input{
    flex: 1;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    outline: none;
}

button{
    padding: 10px 15px;
    margin-left: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}

#addTask{
    background-color: #4CAF50;
    color: white;
}

#addTask:hover{
    background-color: #45a049;
}

ul{
    list-style: none;
}

li{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    background-color: #f1f1f1;
    transition: 0.2s;
    flex-wrap: wrap;
    position: relative;

}

li span{
    flex: 1;
    word-break: break-all;
    margin-left: 20px;
    /* border: 2px solid salmon; */
}

li button{
    margin-left: 10px;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
}

li button:hover{
    opacity: 0.8;
}

li .edit-btn{
    background-color: #2196F3;
    color: white;
}

li .delete-btn{
    background-color: #f44336;
    color: white;
}


.checkBox{
    left: 10px;
    position: absolute;
    /* text-decoration: line-through; */

    
}


.completed{
    text-decoration: line-through;
    opacity: 0.7;
}

.checkBox {
opacity: 1;
}