Elements with a higher z-index number are always in front. Set the third image's z-index to 2 to make it overlap the first two images.

Make sure to type 2.