Moves success and failure classes to inside the overlay class to fix their relevant styles