
*{  margin: 0;
    padding: 0;
    font-family: 'Poppins',sans-serif;
    box-sizing: border-box;
}

.container
{    min-height: 100vh;
    width: 100%;
    background:linear-gradient(135deg,#153677,#4e085f);
   padding: 10px;
    
}
.todo-app
{
   
    width: 100%;
    max-width: 540px;
     background-color: #fbfafa;
   margin: 100px auto 20px;
   padding: 40px 30px 70px;  
    border-radius: 10px;
}
.todo-app h2{
    color: #002765;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.todo-app h2 img{
    width: 30px;
    height: 30px;
    margin-left: 10px;
}
.row #input-box
{  text-align: center;
    height: 2rem;
    width: 15rem;
    border-radius: 15px;
    border: none;
    background-color: rgb(212, 212, 212);
}
.row button{
    background-color: chocolate;
    color: #fbfafa;
    width: 5rem;
    height: 2rem;
    padding: 10px;
    border-radius: 15px;
    border: none;
    cursor: pointer;
}
ul li
{
    position: relative;
    list-style: none;
    font-size:17px;
    padding: 12px 8px 12px 50px;
    user-select: none;
    cursor: pointer;
}

ul li::before
{
    content: '';
    position: absolute;
    height: 28px;
    width: 29px;
    border-radius: 50%;
    background-image: url('unchecked.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('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;
    border-radius: 50%;
}
ul li span:hover{
    background: #edeef0;
}
/*
 .........................................................
 */
 @media (max-width: 600px) {
  .todo-app {
    margin: 50px auto 20px;
    padding: 20px 15px 40px;
    max-width: 90%;   /* shrink to fit smaller screens */
  }

  .row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .row #input-box {
    width: 100%;
    max-width: 100%;
  }

  .row button {
    width: 100%;
    max-width: 100%;
  }

  ul li {
    font-size: 15px;
    padding: 10px 8px 10px 40px;
  }

  ul li::before {
    height: 22px;
    width: 22px;
    top: 10px;
    left: 8px;
  }
}
