Replying to @wellendonner

@wellendonner fixed elements are positioned
relative to the viewport (window), not the body.

You need to add your padding around this element again:

#fixed { ... margin: 10px; width: calc(100% - 20px); }

Mon, 29 Jan 2018 16:05:23 UTC