body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    height: 80vh;
    margin-top: 100px;
    background-color: #f9f9f9;
}

*{
    box-sizing: border-box;
}

h1{
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    color: #007bff;
}

button#deleteChecked {
    padding: 10px 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

#newTodo-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 40px;
    font-size: 18px;
    box-shadow: 0 10px 20px -12px rgba(16, 24, 40, 0.2);
    border: 1px solid #d4d4d8;
    border-radius: 10px;
    padding: 5px;
}

.newTodo__content{
    display: flex;
    align-items: center;
    gap: 10px;
}

#new-todo{
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
}

#add-todo{
    background: #469f26;
    cursor: pointer;
    height: 100%;
    width: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

#add-todo img{
    width: 18px;
    height: 18px;
}

.active {
    text-decoration: line-through;
}

ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 40px;
    font-size: 16px;
    box-shadow: 0 10px 20px -12px rgba(16, 24, 40, 0.2);
    border: 1px solid #d4d4d8;
    border-radius: 10px;
    padding: 5px;
}

.todo__content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.todo__delete {
    background: red;
    cursor: pointer;
    height: 100%;
    width: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.todo__delete img {
    width: 18px;
    height: 18px;
}

input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid #d4d4d8;
    background: transparent;
    position: relative;
}

input[type="checkbox"]:checked {
    background-color: #007bff;
    border: 1px solid #007bff;
}

input[type="checkbox"]:checked::after {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    top: 50%;
    left: 50%;
    transform: translate(-45%, -50%);
    position: absolute;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiNmZmZmZmYiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBjbGFzcz0ibHVjaWRlIGx1Y2lkZS1jaGVjay1pY29uIGx1Y2lkZS1jaGVjayI+PHBhdGggZD0iTTIwIDYgOSAxN2wtNS01Ii8+PC9zdmc+");
    background-size: cover;
    background-repeat: no-repeat;
    margin-left: -1px;
}

#deleteChecked {
    width: 100%;
    padding: 10px;
}
