// Effect 3D
.pxl-effect--3d {
    .bg-hover {
        opacity: 0;
    }
    .pxl-item--inner:hover .bg-hover {
        opacity: 1;
    }
    .pxl-in--top .bg-hover {
        -webkit-animation: pxl_in_top 0.3s ease 0ms 1 forwards;
        animation: pxl_in_top 0.3s ease 0ms 1 forwards;
    }
    .pxl-out--top .bg-hover {
        -webkit-animation: pxl_out_top 0.3s ease 0ms 1 forwards;
        animation: pxl_out_top 0.3s ease 0ms 1 forwards;
    }
    .pxl-in--top .bg-hover, .pxl-out--top .bg-hover {
        -webkit-transform-origin: 50% 0%;
        transform-origin: 50% 0%;
    }

    .pxl-out--bottom .bg-hover {
        -webkit-animation: pxl_out_bottom 0.3s ease 0ms 1 forwards;
        animation: pxl_out_bottom 0.3s ease 0ms 1 forwards;
    }
    .pxl-in--bottom .bg-hover {
        -webkit-animation: pxl_in_bottom 0.3s ease 0ms 1 forwards;
        animation: pxl_in_bottom 0.3s ease 0ms 1 forwards;
    }
    .pxl-in--bottom .bg-hover, .pxl-out--bottom .bg-hover{
        -webkit-transform-origin: 50% 100%;
        transform-origin: 50% 100%;
    }
    
    .pxl-out--left .bg-hover {
        -webkit-animation: pxl_out_left 0.3s ease 0ms 1 forwards;
        animation: pxl_out_left 0.3s ease 0ms 1 forwards;
    }
    .pxl-in--left .bg-hover {
        -webkit-animation: pxl_in_left 0.3s ease 0ms 1 forwards;
        animation: pxl_in_left 0.3s ease 0ms 1 forwards;
    }
    .pxl-in--left .bg-hover, .pxl-out--left .bg-hover {
        -webkit-transform-origin: 0 50%;
        transform-origin: 0 50%;
    }

    .pxl-out--right .bg-hover {
        -webkit-animation: pxl_out_right 0.3s ease 0ms 1 forwards;
        animation: pxl_out_right 0.3s ease 0ms 1 forwards;
    }
    .pxl-in--right .bg-hover {
        -webkit-animation: pxl_in_right 0.3s ease 0ms 1 forwards;
        animation: pxl_in_right 0.3s ease 0ms 1 forwards;
    }
    .pxl-in--right .bg-hover, .pxl-out--right .bg-hover {
        -webkit-transform-origin: 100% 50%;
        transform-origin: 100% 50%;
    }
}