html,*,*::after,*::before{
    box-sizing: border-box;
    margin: 0;
    padding: 0;

}

body{
    font-family: 'Courier New', Courier, monospace;
    max-width: 100vw;
    min-height: 100vh;
    background: linear-gradient(70deg , rgb(39, 21, 21) , rgb(56, 56, 56));
}
input,button,select,option{
    border: none;
    outline: none;
    display: block;
}
.container{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;

}
.title{
    text-align: center;
}
.title_text{
    font-size: 3rem;
    color: white;
    margin-top: 3rem;
    cursor: pointer;
}
.add-filter{
    margin-top: 6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}
.add-item{
    width: 30rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.5rem;
    background-color: black;
    color: white;
    border-radius: 0.6rem;
    transition: all 200ms ease 2ms;
}
.add_input{
    width: 25.5rem;
    height: 90%;
    font-size: 1.5rem;
    margin-left: 0.5rem;
    background-color: transparent;
    color: white;
}
.add-item:has(.add_input:focus){
    box-shadow: 0 0 10px -2px white;
}
.btn{
    background-color: black;
}
.add__svg{
    width: 4.5rem;
    cursor: pointer;
    transition: all 200ms linear 2ms;
}
.add__svg:hover{
    transform: scale(1.2);
}
.add__svg:active{
    cursor: default;
}



#filter-item__select{
    width: 10rem;
    height: 3rem;
    background-color: black;
    color: white;
    font-size: 1.5rem;
    border-radius: 0.6rem;
    padding: 0 0.4rem;
    cursor: pointer;
    transition: all 200ms linear 2ms;
}
#filter-item__select:hover{
    color: black;
    background-color: white;
}

.show-list-container{
    margin: 5rem auto;
    width: 20rem;

}
.show-list-items{
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
    list-style: none;

}

.show-list-items li {
    background-color: rgb(59, 41, 41);
    backdrop-filter: blur(10px);
    text-align: center;
    margin-bottom: 1rem;
    width: 25rem;
    height: 4rem;
    border-radius: 1rem 0 0 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    position: relative;
}

.btn_todo_list{
    width: 4rem;
    height: 4rem;
    cursor: pointer;
    position: absolute;
    font-size: 2rem;
    transition: all 150ms linear 2ms;

}
.btn_todo_list:active{
    cursor: default;
}
.tic{
    right: 0;
    background-color: rgb(85, 158, 85);
}
.tic:hover{
    font-size: 3rem;
    font-weight: 500;
    background-color: rgb(191, 255, 191);
}
.trash{
    right: -4rem;
    background-color: rgb(183, 51, 51);
    border-radius: 0 1rem 1rem 0;
}
.trash:hover{
    font-size: 3rem;
    font-weight: 500;
    background-color: rgb(255, 148, 148);    
}
.completed{
    opacity: 0.3;
    text-decoration: line-through;
    transition: all 400ms ease 2ms;
}

.deleted{
    transition: all 400ms linear;
    opacity: 0;
    transform: scale(0.01);
    display: none;
}



@media (max-width : 700px){
    .add-filter{
        gap: 1rem;
    }
    .add-item{
        width: 20rem;
        border-radius: 0.5rem;
        padding: 0.3rem;
    }
    .add_input{
        width: 17rem;

    }
    .add__svg{
        width: 2rem;
        border-radius: 100%;
    }
    .btn_todo_list{
        width: 3rem;
        height: 3rem;
        font-size: 1rem;
    }
    .trash{
        right: -3rem;
    }
    .show-list-items li{
        height: 3rem;
        width: 15rem;
        font-size: 1rem;
    }
    .btn_todo_list:hover{
        font-size: 2rem;
    }
    .show-list-container{
        margin-top: 3rem;
    }
}


@media (max-width : 512px){

    .add-filter{
        gap: 0.5rem;
    }
    .add-item{
        width: 15rem;
        border-radius: 0.5rem;
        padding: 0.3rem;
    }
    #filter-item__select{
        width: 7rem;
        font-size: 1rem;
    }
    .add_input{
        width: 12rem;

    }
    .add__svg{
        width: 2rem;
        border-radius: 100%;
    }
    .btn_todo_list{
        width: 3rem;
        height: 3rem;
        font-size: 1rem;
    }
    .trash{
        right: -3rem;
    }
    .show-list-items li{
        height: 3rem;
        width: 15rem;
        font-size: 1rem;
    }
    .btn_todo_list:hover{
        font-size: 2rem;
    }
    .show-list-container{
        margin-top: 3rem;
    }

}