/* 
FILTERS
*/
#work_p-filters img {
    width: auto;
    height: 1.25rem;
}

#work_p-filters > div {
    opacity: 0;
    mix-blend-mode: difference;
    z-index: 5;
    transition: 250ms ease-in-out;
}
@media (hover: hover) {
    #work_p-filters:hover > div {opacity: 1;}
}


/* LIST */
#work-filters {
    background: rgba(0, 0, 0, .5);
    backdrop-filter: blur(3rem);
    -webkit-backdrop-filter: blur(3rem);
    overflow-y: auto;
    transition: 1000ms ease-in-out;
    z-index: 210;
}
#work-filters[data-status='hide'] {transform: translateY(100vh);}

#work_f-button {
    opacity: .5;
    transition: 250ms ease-in-out;
}
#work_f-button img {
    width: auto;
    height: 1.75rem;
}


#work-filters a {
    transition: 250ms ease-in-out;
    border-top: 1px solid white;
    opacity: .5;
}

#work-filters a > span {
    transition: 250ms ease-in-out;
    z-index: 10;
}
#work-filters a > div {
    right: 0;
    bottom: 0;
    left: 0;
    height: 0;
    z-index: 0;
    transition: 250ms ease-in-out;
}
#work-filters a:last-of-type {border-bottom: 1px solid white;}

#work-filters a.--active {opacity: 1;}
#work-filters a.--active > div {height: 100%;}
#work-filters a.--active > span {color: black !important;}
@media (hover: hover) {
    #work_f-button:hover {opacity: 1;}
    
    #work-filters a:hover {opacity: 1;}
    #work-filters a:hover > div {height: 100%;}
    #work-filters a:hover > span {color: black !important;}
}



/* 
PROJECTS
*/
#work-projects li {
    grid-column: 1/-1;
    border-top: 1px solid white;
}
@media only screen and (min-width: 1096px) {
    #work-projects li {grid-column: span 6;}
    #work-projects li:nth-of-type(odd) {border-right: 1px solid white;}
}