body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f4f4f4;
    margin: 0;
}

.todo-container {
    background-color: #333; 
    color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
}

h1 {
    text-align: center;
    color: white;
}

input[type="text"] {
    width: 70%;
    padding: 10px;
    margin-right: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background-color: #444; 
    color: white;
}

input[type="text"]:focus {
    border-color: #fff; 
}

button {
    padding: 5px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

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

ul {
    list-style-type: none;
    padding: 0;
}

li {
    padding: 10px;
    margin: 10px 0;
    background-color: #555; 
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

li.completed {
    background-color: #444; 
}

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

button.delete-btn:hover {
    background-color: #e53935;
}

button.complete-btn {
    font-size: 20px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: white; 
}

button.complete-btn:hover {
    color: #4CAF50;
}
