/* Reset and body styling */
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    background-color: #101010; /* Light gray-blue background for a soothing look */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Center content vertically */
}

/* Container styling */
.cont {
    background-color: #2f2f2f; /* White background for the container */
    width: 350px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for elevation */
    text-align: center;
}

/* Heading styling */
#head {
    margin: 0;
    font-size: 24px;
    color: #5d00e8; /* Dark text for contrast */
    border-bottom: 2px solid #4caf50; /* Green underline for a vibrant look */
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Input container styling */
#inputC {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}
.comp span{
    text-decoration: line-through;
    
}
.comp {
    background-color: #333333;
}

/* Input field styling */
#inp {
    flex: 1;
    padding: 8px 12px;
    font-size: 16px;
    border: 2px solid #dddddd;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s;
}

#inp:focus {
    border-color: #4caf50; /* Green border on focus */
}

/* Button styling */
#btn {
    background-color: #4caf50; /* Green background */
    color: #ffffff; /* White text */
    border: none;
    padding: 10px 16px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#btn:hover {
    background-color: #45a049; /* Darker green on hover */
}

/* List styling */
#list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#list li {
    background-color: #f9f9f9; /* Light background for list items */
    margin-bottom: 10px;
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    color: #333333;

}

/* Hover effect for list items */
#list li:hover {
    background-color: #eeeeee;
}

/* Task delete button (optional for each task) */
#list li button {
    background-color: #ff4d4d; /* Red for delete */
    color: #ffffff;
    border: none;
    padding: 6px 10px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#list li button:hover {
    background-color: #e60000; /* Darker red on hover */
}
