* {
    margin:0;
    padding: 0;
    font-family: 'Popins', sans-serif;
    box-sizing: border-box;
}
.container{
    width: 100%;
    min-height:100vh;
    background: linear-gradient(135deg, #381d77, #121212);
    padding: 10px;
}
.todo-app{
    width: 100%;
    max-width: 540px;
    margin: 100px auto 20px;
    background: #ffffff;
    padding: 40px 30px 70px;
    border-radius: 10px;
    
}

.todo-app h2 {
    color: #000000;
    margin-bottom: 20px;
    margin-top: 20px;
    display: flex;
    align-items: center;
}   
.todo-app img {
    display: block;
    margin: 0 auto;
    width: 100px;
}
.todo-app h2 img {
    width: 30px;
    margin-left: 10px;
}
.row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    background: #edeef0;
    border-radius: 30px;
    padding-left: 20px;
    margin-bottom: 25px;
}
input{
    flex: 1;
    border:none;
    outline: none;
    background: transparent;
    padding: 10px;
    font-weight: 14px;
}
button{
    border: none;
    outline: none;
    padding: 16px 50px;
    background:linear-gradient(135deg,#874bf8, #4106ad);
    color: #fff;
    cursor: pointer;
    border-radius: 40px;
}

ul li{
    list-style: none;
    padding: 12px 8px 12px 50px;
    font-size: 17px;
    user-select: none;
    cursor: pointer;
    position: relative;
}

ul li::before {
    content: '';
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-image: url(images/unchecked.png);
    background-size: cover;
    background-position: center;
    top: 6px;
    left: 8px;
}

ul li.checked {
    text-decoration: line-through;
    color: #555;
}
ul li.checked::before {
    background-image: url(images/checked.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{
    color: #ff5945;
    background:#edeef0;
    border-radius: 50%;
    transition:  1s ease;
}


/* Ajustes pra telas menores */
@media (max-width: 480px) {
  .todo-app {
    margin: 50px auto 10px;
    padding: 20px;
  }
  input {
    font-size: 16px; /* Mantém no mobile */
    padding: 10px;
  }
  button {
    padding: 14px 30px;
  }
  ul li {
    font-size: 16px;
  }
}