Cavity QED of superradiant phase transition in two dimensional materials