added flex fonts and margins