fixed a typing error which caused styles to be not applied
added box-sizing: border-box, added padding to the main container to prevent content reaching the edge of the viewport