:root{
    --primary-color: rgb(31, 31, 36);
    --primary-text: 'Josefin Sans', sans-serif;
}
body{
    margin: 0;
    padding: 0;
    font-family: var(--primary-text);
    font-size: 1rem;
    position: relative;
    scroll-behavior: smooth;
    background: linear-gradient(to bottom, rgb(63, 65, 75), rgb(63, 65, 75) 3px, rgb(39, 40, 46) 3px, rgb(39, 40, 46) 15px);
    background-size: 100% 50px;
    color: rgb(250, 250, 250);
}
.title{
    font-family: var(--primary-text);
    text-align: center;
    padding: 3rem 0;
    font-weight: 600;
}
header{
    color: rgb(31, 31, 36);
    background-color: rgba(240, 240, 250, 0.9);
}
main{
    margin: 0 1rem;
}
.delete-box{
    display: none;
    text-align: right;
}
.delete-box p{
    margin: 0;
    width: 150px;
    border: 2px solid rgb(240, 209, 174);
    color: rgb(240, 209, 174);
}
.delete-box:hover p{
    background-color: rgb(240, 209, 174);
    color: var(--primary-color);
}
.add-task{
    width: 90%;
    margin: 3rem auto;
}
.btn-add{
    background-color: rgb(171, 171, 236);
}
.input-add:focus-visible{
    outline:rgb(171, 171, 236) auto 2px;
}
.tasks{
    margin-bottom: 4rem;
}
.task-item{
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-around;
    align-items: center;
    margin: 1.5rem 0;
    padding: 1.5rem 0.5rem;
    background-color: rgba(240, 240, 255, 0.1);
    border-radius: 5px;
    box-shadow: 0px 0px 5px rgb(5, 5, 5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    font-family: 'Lato', sans-serif;
}
.task-item-text{
    flex-basis: 70%;
    padding: 0 0.5rem;
}
.task-item-text p{
    margin-bottom: 0;
}
.task-item-text-date{
    font-size: 0.7rem;
    color: rgb(124, 133, 141);
    font-family: var(--primary-text);
}
.task-complete{
    display: none;
    font-size: 0.9rem;
    margin-top: 0.25rem;
    text-align: center;
    font-family: var(--primary-text);
    color: rgba(31, 31, 36, 0.9);
    background-color: rgb(216, 250, 239);
    border-radius: 3px;
    padding: 0.1rem 0;
}
.task-item-complete-icon, .task-item-delete-icon{
    flex-basis: 8%;
    margin: 0;
    color: white;
    font-size: 0.8rem;
}
.task-item-complete-icon{
    background-color: rgb(137, 206, 183);
}
.task-item-delete-icon{
    color: rgb(247,135,138); 
    font-size: 1.3rem;
}
.task-item-priority-icon{
    color: rgb(224, 215, 77);
    font-size: 1.3rem;
}
.task-item-text-complete{
    position: relative;
    text-decoration-line: line-through;
    text-decoration-color: rgb(216, 250, 239);
}
.task-complete-list{
    margin: 1.5rem 0 5rem 0;
}
.task-complete-list-box{
    display: none;
}
.no-tasks{
    display: none;
    width: 70%;
    text-align: center;
    margin: 6rem auto;
    padding: 5rem 3rem;
    background-color: rgba(255,246,155, 0.9);
    color: rgb(31, 31, 36);
}
.btnTop{
    display: block;
    position: fixed;
    bottom: 10px;
    right: 20px;
    outline: none;
    color: var(--primary-color);
    padding: 0.75rem 1rem;
    background-color: rgba(240, 240, 250, 0.8);
    border-radius: 50%;
    border: none;
}
.btnTop-icon{
    color: var(--primary-color);
    font-size: 1.2rem;
}
.btnTop:visited, .btnTop:link, .btnTop:active, .btnTop:hover{
    background-color: rgba(240, 240, 250, 0.8);
}
.notification{
    width: 99%;
    margin: 0 auto;
    z-index: -10;
    position: fixed;
    bottom: 0px;
    left: 0;
    right: 0;
    opacity: 0;
}
@keyframes animation-in {
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}
.animation-in{
    z-index: 10;
    opacity: 1;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: animation-in 1000ms;
}
@keyframes animation-out {
    0%{
        opacity: 1;
    }
    100%{
        opacity: 0;
    }
}
.animation-out{
    animation: animation-out 1000ms;
}
.notification-text{
    width: 100%;
    background-color: rgba(0,0,0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius:  0;
    padding: 2rem 1rem;
    margin: 0 auto;
    font-weight: 500;
    font-size: 1.1rem;
    text-align: center;
    border-radius: 5px;
}
.notification-priority-item{
    color: rgb(255,246,155);
    border: 3px solid rgb(255,246,155);
    box-shadow: inset 0px 0px 10px rgb(255,246,155);
}
.notification-delete-item{
    color: rgb(250, 190, 192);
    border: 3px solid rgb(250, 190, 192);
    box-shadow: inset 0px 0px 10px rgb(250, 190, 192);
}
.notification-complete-item{
    color: rgb(216, 250, 239);
    border: 3px solid rgb(216, 250, 239);
    box-shadow: inset 0px 0px 10px rgb(216, 250, 239);
}
.notification-delete-all{
    color: rgb(240, 209, 174);
    border: 3px solid rgb(240, 209, 174);
    box-shadow: inset 0px 0px 10px rgb(240, 209, 174);
}
.show{
    display: block;
}
.hide{
    display: none;
}
@media screen and (min-width: 992px){
    main{
        width: 40%;
        margin: 0 auto;
    }
    .add-task{
        width: 70%;
    }
    .no-tasks{
        width: 60%;
        padding: 7rem 3rem;
    }
}