.todo-list {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#todo-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

#new-task {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 75%;
    height: 50px;
    box-sizing: border-box;
    font-size: medium;
}

#todo-form button {
    background-color: #a7097a;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 20%;
    box-sizing: border-box;
}

#todo-form button:hover {
    background-color: #7c065f;
}

#todo-list {
    list-style: none;
    padding: 0;
}

#todo-list li {
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    margin-bottom: 10px;
}

#todo-list input[type="checkbox"] {
    position: absolute;
    left: 10px;
}

#todo-list label {
    font-size: 16px;
    color: #555;
    margin-left: 30px;
}

#todo-list input[type="checkbox"]:checked + label {
    text-decoration: line-through;
    color: #888;
}

@media screen and (max-width: 600px) {

    .todo-list {
        width: 80%;
        margin: 0 auto;
    }
    
}