each lines inside polygon are the coordinates of each corner inside the container, starting from "top left" from simulating the overlap the top margin is the negative of the offset