@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --pry-text-clr: rgba(0, 0, 255, 0.575);
    --border-clr: gray;
}

body{
    height: 100vh;
    width: 100vw;
    background: linear-gradient(135deg, rgba(0, 0, 255, 0.63),rgb(193, 208, 247));
    display: flex;
    align-items: center;
    justify-content: center;
}

.container{
    max-height: 400px;
    overflow-x: hidden;
    overflow-y: auto;
    width: 300px;
    background-color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    padding: 20px;
    font-family: "poppins";
    color: var(--pry-text-clr);
    flex-direction: column;
    gap: 20px;
}

.container::-webkit-scrollbar{
    width: 5px;
}
.container::-webkit-scrollbar-thumb{
    color: var(--pry-text-clr);
}

.input-button{
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.container .input{
    align-self: flex-start;
    padding: 5px 15px;
    border: 1px solid var(--border-clr);
    outline: none;
    width: 80%;
}

.add{
    padding: 0px 10px;
    font-family: "poppins";
    border: 1px solid var(--border-clr);
    font-weight: 500;
    outline: none;
}

.filter-options{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-end;
}

.filter-options i{
    color: gray;
}

.filter{
    outline: none;
    border: 1px solid var(--border-clr);
    font-family: "poppins";
}

.tasks{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.task{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    margin: auto;
    font-size: 18px;
    color: black;
    font-weight: 400;
    cursor: pointer;
}

.task p{
    max-width: 150px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.task img{
    height: 20px;
}

.operations{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.hide{
    display: none;
}

.completed{
    text-decoration: line-through;
}