I don’t understand the problem
Just copy all the text written inside and tag. And, paste in the CSS file. After that delete the complete style tag.
This is to create external style sheet. Just copy the text inside the
<style> tag and paste it inside style.css and delete the entire
<style> </style> block