I've been attempting to design a unique layout with a pentagon-shaped div, however, I'm encountering some challenges. Despite using SVG for the shape, it does not display correctly in Firefox. Additionally, I need the div to be responsive and scale well on smaller screens, but using percentages for the pentagon's points has not yielded the desired results. The same applies to using percents for the x and y values in the text. Here is what I have tried so far:
polygon {
fill: url(#image);
}
<div id="banner-shape">
<svg width="1440px" viewBox="0 0 1440 940" preserveAspectRatio="xMinYMax meet">
<defs>
<pattern id='image' height='940' width='1440' patternUnits='userSpaceOnUse'>
<image xlink:href='https://cdn.wallpapersafari.com/12/87/pzB7wF.jpg' height='940' width='1440' />
</pattern>
</defs>
<g>
<polygon points='0,0 1440,0 1440,727 503,940 0,719' />
<text x="20%" y="5%0" font-size="90px" fill="blue"> New MODEL! </text>
</g>
</svg>
</div>