* {
    padding: 0%;
    margin: 0%;
    box-sizing: border-box;
}

body,
html {
    width: 100%;
    height: 100%;
}

.container {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, rgb(203, 48, 48), rgb(67, 36, 180));
}

.todo-app {
    width: 60vb;
    max-width: 557px;
    border-radius: 8px;
    background-color: aliceblue;
    /* margin: 100px; */
    padding: 40px 30px 70px;
    position: absolute;
    top: 40vh;
    right: 40vb;
    transform: translate(-50%, -50%);
}

.todo-app h2 {
    display: flex;
    /* align-items: flex-start; */
    justify-content: center;
    color: rgb(36, 36, 122);
}

.row {
    display: flex;
    align-items: center;
    background-color: rgb(205, 205, 205);
    border-radius: 30px;
    padding-left: 20px;
    margin: 20px 0;
}

input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-weight: 14px;
    padding: 10px;
}

button {
    border: none;
    outline: none;
    padding: 16px 50px;
    background-color: rgb(234, 99, 26);
    font-size: 20px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    border-radius: 40px;
}

ul li {
    list-style: none;
    font-size: 18px;
    user-select: none;
    cursor: pointer;
    padding: 10px 10px 10px 30px;
    /* display: flex; */
    position: relative;
}

ul li::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background-color: transparent;
    background-size: cover;
    background-position: center;
    top: 11px;
    left: 0px;
    border: 1px solid rgb(96, 96, 96);
}

ul li.checked {
    text-decoration: line-through;
    color: gray;
}

ul li.checked::before {
    content: '✔';
    position: absolute;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background-color: rgb(0, 139, 44);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    background-size: cover;
    background-position: center;
    top: 11px;
    left: 0px;
    border: 1px solid rgb(96, 96, 96);
}

ul li span {
    position: absolute;
    right: 10%;
    width: 40px;
    height: 40px;
    /* top: 5px; */
    color: red;
    /* line-height: 40px; */
    text-align: center;
    justify-content: center;
    border-radius: 40%;
}

ul li span:hover {
    background-color: rgb(242, 242, 242);
}