
* {
    margin:0;
    padding: 0;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    box-sizing: border-box;

}

.container {
    width: 100%;
    min-height: 300vh;
    background: linear-gradient(135deg, #607bb0, #a913cf);
    padding: 10px;
}

.todoList {
    width: 100%;
    max-width: 540px;
    background: #fff;
    margin: 100px auto 20px;
    padding: 40px 30px 10px;
    border-radius: 10px;
}

.todoList img {
    height: 80px;
    width: 80px;
    margin-left: 10px;
}

.todoList h1 {
    display: flex;
    align-items: center;
    margin-bottom: 20px;

}

.row {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 30px;
    padding-left: 20px;
    margin-bottom: 25px;
    background: #edeef0;
}

.row input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 10px;
    font-size: 14px;
}

.row button {
    border: none;
    outline: none;
    padding: 16px 25px;
    background: #ff5945;
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    border-radius: 40px;
    white-space: nowrap;


}

ul li {
    list-style: none;
    font-size: 17px;
    padding: 12px 8px 12px 50px;
    user-select: none;
    cursor: pointer;
    position: relative;
}

ul li::before {
    content: '';
    position: absolute;
    height: 28px;
    width: 28px;
    border-radius: 50%;
    background-image: url(blank_circle_icon.png);
    background-size: cover;
    background-position: center;
    top: 12px;
    left: 8px;

}

ul li.checked {
    color: #555;
    text-decoration: line-through;
}

ul li.checked::before {
    background-image: url(checkmark_confirm_icon.png);
}

ul li span {
    position: absolute;
    right: 0;
    top: 5px;
    width: 40px;
    height: 40px;
    font-size: 22px;
    color: #555;
    line-height: 40px;
    text-align: center;
}

ul li span:hover {
    background: #edeef0 ;
}

@media (max-width: 400px) {
  .row {
    flex-direction: column;   /* stack input and button */
    align-items: stretch;
    gap: 15px;
  }

  .row button {
    width: 100%;             /* button fills width on small screens */
    text-align: center;
  }
}



















