The idea
A mask hides parts of an element using another image as a stencil: where the mask is opaque the element shows, where it is transparent the element is hidden. mask-image sets that stencil — and a CSS gradient works as well as a picture.
Give the 240×160 box a mask that fades it out toward the bottom.
This level needs mask-image.