*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: "Figtree", sans-serif;
    background-color: #456882;
    background-repeat: no-repeat;
    background-size: cover;
}
.container{
    width: 375px;
    height: 500px;
    padding: 0.8rem 0.5rem 5rem 0.5rem;
    border-radius: 1rem;
    background-color:#1B3C53; 
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25),
            0 4px 6px rgba(0, 0, 0, 0.2);
}
h1{
    color: #E3E3E3;
}
.input-entry{
    width: 250px;
    height: 50px;
    margin-top: 1rem;
    border-radius: 0.5rem;
    border: none;
    padding: 1rem;
    font-size: 1.2rem;
    background-color: #E3E3E3;
    color: #1B3C53;
    font-weight: 600;
}
.add-btn{
    height: 50px;
    width: 60px;
    border-radius: 0.5rem;
    margin-left: 0.6rem;
    border: none;
    font-size: 1.3rem;
    background-color: #E3E3E3;
    color: #1B3C53;
    font-weight: 600;
    cursor: pointer;
    transition: 0.6s background-color ease;
}
.add-btn:hover{
    background-color:#456882;
    color:#E3E3E3;
}
.list-div{
    width: 100%;
    padding: 0.5rem;
    margin: 1rem;
    overflow-y: auto;
    overflow-x: auto;
}
.list-div::-webkit-scrollbar { width: 6px; }
.list-div::-webkit-scrollbar-thumb { background-color: #1B3C53; border-radius: 3px; }
.list-ul{
    margin-top: 1rem;
}
.listLi{
    color: #E3E3E3;
    margin-top: 0.5rem;
    font-size: 1.2rem;
    list-style-type: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 4rem 0.6rem 1rem;
    border-radius: 0.3rem;
    width: 100%;
    height: 35px;
    transition: background-color 0.3s ease, opacity 0.5s ease, transform 0.5s ease;
    cursor: pointer;  
    position: relative;
    min-height: 40px;
    height: auto;
    overflow-wrap: break-word;
    word-break: break-word;
    transform: translateY(20px);
    opacity: 0;
}
.listLi.show{
    transform: translateY(0);
    opacity: 1;
}
.listLi.hide{
    transform: translateY(-10px);
    opacity: 0;
}
.listLi:hover{
    background-color: #456882;
}
.fa-solid{
    color: #E3E3E3;
    cursor: pointer;
    transition: 0.3s color ease;
    text-decoration: none;
    position: absolute;
    right: 1rem;
}
.fa-trash-can:hover{
    color: red;
}
.liDone{
    background-color: greenyellow;
    color: #1B3C53;
    transform: scale(1.02);
    transition: transform 0.2s ease, background-color 0.3s ease;
}
.liDone .listP{
    text-decoration: line-through;
}
.liDone:hover{
    background-color: rgb(119, 180, 27);
    color: #1B3C53;
}
.iconRemove{
color: #1B3C53;
}
.iconRemove:hover{
color: red;
}
.iconBack{
color: #1B3C53;
position: absolute;
right: 2.5rem;
}
.iconBack:hover{
color: darkgreen;
}
.fa-pen-to-square{
    color: #E3E3E3;
    cursor: pointer;
    transition: 0.3s color ease;
    text-decoration: none;
    position: absolute;
    right: 2.4rem;
}
.fa-pen-to-square:hover{
    color: yellow;
}
.kanban{
    position: absolute;
    bottom: 0;
    max-width: 375px;
    width: 100%;
    height: 75px;
    background-color: #E3E3E3;
    border-radius: 0 0 1rem 1rem;
    display: grid;
    grid-template-columns: 1fr 2px 1fr 2px 1fr;
}
.line{
    width: 2px;
    height: 75px;
    background-color: #1B3C53;
}
.kanban p{
    margin-top: 0.4rem;
}
.totalNumber{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}
.totalSpan{
    font-size: 2.2rem;
    color: #1B3C53;
    font-weight: 800;
}
.doneNumber{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}
.doneSpan{
    font-size: 2.2rem;
    color: green;
    font-weight: 800;
}
.undoneNumber{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}
.undoneSpan{
    font-size: 2.2rem;
    color: red;
    font-weight: 800;
}
.hidden{
    display: none !important;
}
.editInput{
    border: none;
    width: 200px;
    height: 30px;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-right: 0.5rem;
    font-size: 1.2rem;
    color:#1B3C53;
    background-color:#E3E3E3;
    position: absolute;
    left: 0.4rem;
}
.saveButton{
    padding: 0.3rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    border: none;
    background-color: greenyellow;
    color: #1B3C53;
    font-weight: 700;
    margin-right: 0.3rem;
    position: absolute;
    right: 3.8rem;
    transition: 0.5s background-color ease;
    cursor: pointer;
}
.saveButton:hover{
    background-color: rgb(136, 207, 30);
}
.cancelButton{
    padding: 0.3rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    border: none;
    background-color: red;
    color: #E3E3E3;
    font-weight: 700;
    position: absolute;
    right: 0.2rem;
    transition: 0.5s background-color ease;
    cursor: pointer;
}
.cancelButton:hover{
    background-color: rgb(196, 2, 2);
}
.editArea{
    display: flex;
    align-items: center;
}