How to Have Text Element Maintain Viewport Width Size

Hi everyone.

Rather than having the a select text element/paragraph scale between two absolute size values across different viewport sizes, how can I have the text element maintain a font size at a specified viewport width across all viewport sizes?,

you can avoid using text scaling and have the same sizing value everywhere for example 40 PX and use fixed sizing for textbox, along with this, by using dockings, you can have same position for the element, here is the example attached: