@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

.container {
    background: linear-gradient(150deg, #1650c6, #4e085f);
    min-height: 100vh;
    width: 100%;
    padding: 10px;
}

.todo-list-app {
    max-width: 545px;
    margin: 100px auto 20px;
    width: 100%;
    border-radius: 10px;
    background-color: #ffff;
    padding: 40px 30px 70px;
}

.todo-list-app h2 {
    color: #002765;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.todo-list-app h2 img {
    width: 30px;
    margin-left: 10px;
}

.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    background-color: #edeef0d5;
    padding-left: 20px;
    border-radius: 30px;
}

input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 10px;
}

button {
    font-size: 1rem;
    background-color: #fe5340;
    color: #ffff;
    border: none;
    outline: none;
    padding: 16px 50px;
    border-radius: 40px;
    cursor: pointer;
}

ul li {
    list-style: none;
    font-size: 17px;
    user-select: none;
    cursor: pointer;
    padding: 12px 8px 12px 50px;
    position: relative;
}

ul li::before {
    content: "";
    position: absolute;
    height: 28px;
    width: 28px;
    border-radius: 50%;
    background-image: url(asset/unchecked.png);
    background-size: cover;
    background-position: center;
    top: 8px;
    left: 8px;
}

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

ul li.checked::before {
    background-image: url(asset/checked.png);
}

ul li span {
    position: absolute;
    top: 5px;
    right: 0;
    text-align: center;
    height: 40px;
    width: 40px;
    font-size: 1rem;
    line-height: 40px;
    border-radius: 50%;
}

ul li span:hover {
    background-color: #edeef0;
}