The dark gradient around the edges of the advancements window is clipping everything below a certain alpha value, and it is causing a harsh border in the window my resource pack. It's not noticeable when the background texture is harsh such as netherrack, but for the sandstone background it stands out.
Please include a full copy of the resource pack