I have a `<Div>` with an `<H1>` tag that I move to the top of the page with CSS, But in the code the `<H2>` is above the `<H1>`. Does Google Crawler see in the CSS what the meant order is?

Does this give me a penalty or is this ok?