.poppins-thin {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.poppins-extralight {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.poppins-light {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.poppins-medium {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.poppins-semibold {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.poppins-bold {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.poppins-extrabold {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
}

.poppins-black {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.poppins-thin-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: italic;
}

.poppins-extralight-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: italic;
}

.poppins-light-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: italic;
}

.poppins-regular-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.poppins-medium-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: italic;
}

.poppins-semibold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: italic;
}

.poppins-bold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: italic;
}

.poppins-extrabold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: italic;
}

.poppins-black-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: italic;
}

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

body {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(to top, #cfd9df, #e2ebf0);
    padding: 10px;
}

.todo-app {
    width: 100%;
    max-width: 540px;
    background: #fff;
    margin: 150px auto 20px;
    padding: 40px 30px 70px;
    border-radius: 50px;
    box-shadow: 0 0 30px #afafaf;
}

h2 {
    color: #002765;
    display: flex;
    align-items: center;
    font-size: 30px;
    margin-bottom: 50px;
    position: relative;
}

h2 img {
    width: 40px;
    position: absolute;
    right: 0;
}

.row {
    display: flex;
    align-items: center;
    justify-content: space-around;
    outline: 3px groove #000;
    outline-offset: 5px;
    border: none;
    border-radius: 30px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px #5d5d5d;
}

input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 10px;
}

input::placeholder {
    color: #1e008d;
}

button {
    border: none;
    outline: none;
    padding: 16px 30px;
    background: #26062f;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 30px;
    margin: 1px;
}

ul li {
    list-style: none;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 12px 8px 12px 50px;
    user-select: none;
    cursor: pointer;
    position: relative;
    margin-block: 10px;
}

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

ul li.checked {
    background: #3700a4;
    color: #fff;
    border-radius: 50px;
}

ul li.checked::before {
    background: url(images/checked.png);
    background-size: cover;
}

ul li span {
    position: absolute;
    top: 10px;
    right: 0px;
    margin-right: 5px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 22px;
    color: #000;
    text-align: center;
    border-radius: 50%;
}

ul li span:hover {
    background: #000;
    color: #fff;
}

ul li.checked span:hover {
    background: #fff;
    color: #000;
}

ul li img.edit-icon {
    position: absolute;
    top: 12px;
    right: 40px;
    width: 25px;
    height: 25px;
    cursor: pointer;
    border-radius: 50%;
}

ul li img.edit-icon:hover {
    background: #d3d3d3;
}

/* Responsive Styles */
@media screen and (max-width: 600px) {
    .todo-app {
        max-width: 100%;
        padding: 20px 15px 40px;
        margin: 100px auto 10px;
        border-radius: 30px;
    }

    h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    h2 img {
        width: 30px;
    }

    .row {
        flex-direction: column;
        padding: 10px;
    }

    input {
        font-size: 16px;
        padding: 8px;
        width: 100%;
        margin-bottom: 10px;
    }

    button {
        font-size: 16px;
        padding: 12px 20px;
        width: 100%;
    }

    ul li {
        font-size: 16px;
        padding: 10px 8px 10px 40px;
    }

    ul li::before {
        height: 25px;
        width: 25px;
        top: 10px;
        left: 5px;
    }

    ul li span {
        width: 25px;
        height: 25px;
        line-height: 25px;
        font-size: 18px;
        top: 8px;
    }

    ul li img.edit-icon {
        width: 20px;
        height: 20px;
        top: 10px;
        right: 35px;
    }
}

@media screen and (max-width: 400px) {
    .todo-app {
        padding: 15px 10px 30px;
    }

    h2 {
        font-size: 20px;
    }

    h2 img {
        width: 25px;
    }

    input {
        font-size: 14px;
    }

    button {
        font-size: 14px;
        padding: 10px 15px;
    }

    ul li {
        font-size: 14px;
    }
}