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

.container{
    width: 100%;
    height: 100vh;
    background-color: blueviolet;
    padding: 20px;
    display: flex;
    justify-content: center;

}
.box{
    max-width: 440px;
    width: 100%;
}

.todo-app{
    background-color: #fff;
    width: 100%;
    padding: 20px 20px;
    margin-top: 40px;
    border: 3px solid #00c04b;
    border-radius: 10px;
    width: 440px;
    height: 80vh;
}

.title{
    height: 10%;
    display: flex;
    align-items: center;
}
.title img{
    width: 30px;
    margin-left: 10px;
}

.row{
    height: 10%;
    display: flex;
    width: 100%;
    padding-top: 7px;
    gap: 2px;
}
#input-box{
    flex:1;
    height: 30px;
    padding: 0 10px;
}
.date-box{
    position: relative;
}
#exprieDate{
    text-indent: -9999px;
    background-color: orange;
    width: 28px;
    height: 30px;
    position: relative;
    font-size: 20px;
    border: 1px solid rgb(44, 44, 44);
    outline: none;
    cursor: pointer;
}

button{
    border: none;
    outline: none;
    background-color: #00c04b;
    padding: 0 10px;
    margin-left: 3px;
    color: #fff;
    cursor: pointer;
    height: 30px;
}
button:hover{
    background-color: #008631;
}

.scroll{
    height: 80%;
    width: 100%;
    overflow-y: auto;
}
.scroll::-webkit-scrollbar{
    width: 8px;
}
.scroll::-webkit-scrollbar-thumb{
    background-color: #02a73e;
    border-radius: 10px;
}
.scroll::-webkit-scrollbar-track{
    background-color: #10f367;
    border-radius: 10px;
}

ul li{
    position: relative;
    list-style: none;
    padding: 10px 5px;
    padding-left: 45px;
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
    width: 98%;
    margin-bottom: 5px;
    border: 1px solid #d1d1d1;
    border-radius: 30px;
}

ul li::before{
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 1px solid #000;
    left: 15px;
    
}

ul li.checked{
    color: #5f5f5f;
    background-color: #b7ffd3;
 
}
ul li.checked > .tasks{
    text-decoration: line-through;
}
ul .checked::before{
    background-image: url(img/check.png);
    border: none;
}

ul li:hover{
    background-color: #cecece;
    border-radius: 30px;
    cursor: pointer;
}

.close{
    height: 18px;
    width: 18px;
    cursor: pointer;
    margin-left: 7px;
    margin-right: 10px;

}
.tasks{
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 15px;
}
.dates{
    width: 100%;
    font-size: 11px;
    display: flex;
    gap: 20px;
    font-style: italic;
    margin-top: 5px;
    color: #5f5f5f;
}

.btn2{
    display: none;
}

@media screen and (max-width:489px) {

    .container{
        width: 100%;
        height: 100vh;
    }

    .box{
        max-width: 340px;
        width: 100%;
    }
    
    .todo-app{
        width: 340px;
    }
    .btn2{
        display: block;
    }
    .btn1{
        display: none;
    }
}

@media screen and (max-width:390px) {


    .box{
        max-width: 320px;
    }
    
    .todo-app{
        width: 320px;
    }
    .tasks{
        font-size: 13px;
    }
    
    .dates{
        font-size: 10px;
    }
    button{
        font-size: 12px;
    }

}