Best way to adapt Perspective to resolution

CSS Container Queries have length units that can be used to adjust the font size relative to the size of the container. See this post: