Smarter header shrinking

The header now starts shrinking as soon as the the user scrolls and the .shrinked class is removed when the top of the page is 30px away. This feels very fluid and cool. I also applied a translateZ(0) hack to the header to increase performance and the transparency is applied only when the header is shrinked.

Signed-off-by: Emanuele <feliziani.emanuele@gmail.com>
Fix a bug on the homepage

Fix a bug related to the presence of scroll bars in Windows. They don't play well with vw units, godknowswhy, it's pretty silly if you ask me. Anyway, width:50% made it.

Signed-off-by: Emanuele <feliziani.emanuele@gmail.com>
Improves animation performance on homepage and adds real content

Scrolling on homepage was pretty jaggy on Chrome on retina displays due to the heavy animations on hover. I have improved this by adding a delay on transitions so that animations don't get triggered while casually scrolling, but only when the user is focusing on something. I also tried to tap into hardware acceleration with the use of some 3d transforms.

This commit also includes a few minor fixes, some content (removing lorem ipsum) on the homepage and some code polishing.

Signed-off-by: Emanuele <feliziani.emanuele@gmail.com>
Small fixes

– Remove margin-top from the general pages, it is not needed anymore since the header is now bigger and adds whitespace itself
– On the portfolio the descriptions now feature a slightly transparent background in order to have it clearly separate from the footer
–

Signed-off-by: Emanuele <feliziani.emanuele@gmail.com>
Fix a header issue on iPad-like screens

The button Let's work together was misbehaving. Now it's fixed.

Signed-off-by: Emanuele <feliziani.emanuele@gmail.com>