added styling media queries for primary and secondary background