Move styles in head section of the HTML template

```<style>``` tag must be located in the head section