Ordinary hinges can not rotate 360 degrees because of thickness of moving and grounded parts. The proposed design does not have such limitation.
An anti-parallelogram mechanism is used here.
Lengths of blue and pink parts are 80 and 95 respectively.
There is a stopper on the blue part to prevent death positions so the rotation angle is a little less than 360 deg..