Fixed main page with calculation in css