body {
    background-color: #f4f4f9;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    max-width: 900px;
    width: 90%;
    box-sizing: border-box;   
}

.todo-app {
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
}

h1 {
    text-align: center;
    margin-top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

form.todo-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    width: 100%;
    height: 40px;
}

form input.todo-input {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
}
form input.todo-input:hover {
    background-color: #dadada;
}

form button.todo-button {
    background-color: #0078d7;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px;
    padding: 10px 20px;
}

form button.todo-button:hover {
    background-color: #005bb5;
    cursor: pointer;
}

ul.todo-list {
    list-style: none;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
    padding: 10px;
}

li>input {
    margin-right: 10px;
    font-size: 1rem;
}

.todo-list input[type='checkbox']:checked + span.task-name {
    text-decoration: line-through;
    background-color: #d9534f;
    color: #ffffff;
    border-radius: 5px;
}

.todo-list button {
    margin-left: 5px;
    padding: 5px 10px;
    background-color: #c9302c;
    border-radius: 5px;
}
.todo-list button:hover {
    cursor: pointer;
    background-color: #921d19;
}

.todo-info {
    text-align: center;
    font-size: 0.9rem;
    color: #666666;
    margin-top: 20px;
}