I'm currently working on a webpage located at:
On this page, there is a containing division with 5 elements inside. They are floated left in order to align vertically, but I am facing some challenges when it comes to adjusting my CSS for media queries (one for 768 resolution and one for 480 resolution).
The main order of the elements is logo, hex1, middle, hex2, hex3.
Troubles with Floating Elements
For 768 resolution, I would like to have the logo and hex1 centered, followed by the middle below (centered), and finally hex2 and hex3 also centered. However, removing the float from the middle element causes everything to get messed up. So, I tried removing the floats altogether, but that pushes the middle div too far down. Any suggestions on how to tackle this issue would be greatly appreciated!
Order of Display
For 480 resolution and lower, I'm interested in changing the order of the divisions so that the logo appears first, then the 'middle' section, followed by the hex links. I'm unsure about how to change the order using CSS. I came across a similar discussion online, but it was focused on a provided grid system which doesn't apply in my case since I created the layout myself.
Responsive Font Size
Is there a way to make font sizes for headers responsive based on the width of the page? While this isn't a top priority, it would be useful to know!
Thank you very much.