added media queries for box sizes