Switched to flexbox CSS, working in firefox. Need to test margins on mobile device.