.prev-project a:after,
.next-project a:after{
    position: absolute;
    inset: 0;
    content: "";
    width: 100%;
    height: 100%;
}