add media queries for main boxes