* {
    margin: 0;
    padding: 0;
    font-family: "Parkinsans", serif;
    box-sizing: border-box;
  }
  
  .container {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #b90c5d, #680747);
    padding: 50px;
  }
  
  .todoapp {
    width: 100%;
    max-width: 540px;
    background: #e45b82;
    margin: 50px auto;
    padding: 30px 20px 50px;
    border-radius: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  
  .todoapp h2 {
    color: rgb(43, 42, 42);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
  }
  
  .todoapp h2 img {
    width: 30px;
    margin-left: 10px;
  }
  
  .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background: #eeeeee;
    border-radius: 30px;
    padding: 10px;
    margin-bottom: 15px;
  }
  
  input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 10px;
    font-size: 15px;
  }
  
  button {
    border: none;
    outline: none;
    padding: 12px 30px;
    background: rgb(235, 140, 140);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 30px;
    transition: background-color 0.3s ease;
  }
  
  button:hover {
    background: rgb(228, 110, 110);
  }
  
  ul li {
    list-style: none;
    font-size: 16px;
    padding: 10px 8px 10px 50px;
    user-select: none;
    cursor: pointer;
    position: relative;
  }
  
  ul li::before {
    content: "";
    position: absolute;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background-image: url(images/remove.png);
    background-size: cover;
    background-position: center;
    top: 10px;
    left: 8px;
  }
  
  ul li.checked {
    color: #353535;
    text-decoration: line-through;
  }
  
  ul li.checked::before {
    background-image: url(images/checked.png);
  }
  
  ul li span {
    position: absolute;
    right: 0;
    top: 5px;
    width: 35px;
    height: 35px;
    font-size: 18px;
    color: #1d1d1d;
    line-height: 35px;
    text-align: center;
    border-radius: 50%;
  }
  
  ul li span:hover {
    background: rgb(235, 140, 140);
  }
  
  /* --- Responsive Design --- */
  @media (max-width: 768px) {
    .todoapp {
      padding: 20px;
      margin: 30px auto;
    }
  
    h2 {
      font-size: 20px;
    }
  
    input {
      font-size: 14px;
      padding: 8px;
    }
  
    button {
      padding: 10px 20px;
      font-size: 14px;
    }
  
    ul li {
      font-size: 14px;
      padding: 8px 8px 8px 40px;
    }
  
    ul li::before {
      height: 20px;
      width: 20px;
    }
  
    ul li span {
      width: 30px;
      height: 30px;
      font-size: 16px;
      line-height: 30px;
    }
  }
  
  @media (max-width: 480px) {
    .todoapp {
      padding: 15px;
      margin: 20px auto;
    }
  
    h2 {
      font-size: 18px;
    }
  
    input {
      font-size: 13px;
      padding: 6px;
    }
  
    button {
      padding: 8px 15px;
      font-size: 13px;
    }
  
    ul li {
      font-size: 13px;
      padding: 6px 6px 6px 35px;
    }
  
    ul li::before {
      height: 18px;
      width: 18px;
    }
  
    ul li span {
      width: 25px;
      height: 25px;
      font-size: 14px;
      line-height: 25px;
    }
  }
  