@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body{
    background: rgb(139,137,168);
    background: linear-gradient(90deg, rgba(139,137,168,1) 0%, rgba(155,155,187,1) 4%, rgba(214,222,199,1) 28%, rgba(184,235,245,1) 100%);
    font-family: 'Roboto', sans-serif;
    
}

.work{
    width: 100%;
    height: 100%; 
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 6.25rem;
}

.container{
    padding: 1.25rem;
}

.card{
    overflow: auto;
    padding: 1.25rem;
    border-radius: 1.25rem;
    background-color: aliceblue;
    width: 20rem;
    height: 31.25rem;
    
}
.search{
    text-align: center;
    height: 1.875rem;
    margin-bottom: 1.25rem;

}

.btn-add{
    width: 1.875rem;
    height: 1.875rem;
}

.input{
    height: 2.5rem;
    width: 13.125rem;
    border-radius: 0.625rem;
    font-family: 'Roboto', sans-serif;
    
}

h1{
    text-align: center;
}

.btn-del{
    background-color: rgb(224, 79, 79);
    color: aliceblue;
    border: none;
    width: 1.875rem;
    height: 1.875rem;
    
}

.list_item {
    padding-left: 0.313rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    text-align: start;
    list-style-type: none;
    background-color: rgb(230, 230, 230);
    margin-top: 0.313rem;
    width: 16.25rem;
    min-height: 2.5rem;
    height: auto;
    float: left;
    border-radius: 0.313rem;
}

.btn-add{
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.313rem;
}

.btn-del{
    float: right;
    border-radius: 0.188rem;

}

@keyframes moveDown {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(20px);
        opacity: 0.5;
    }
}

.text-element.strike {
    text-decoration: line-through;
}

.list_item.changed {
    background-color: rgba(230, 230, 230, 0.5);
    animation: moveDown 0.3s ease-out forwards;
}
