I am unsure if clamp() will work with the built in tests on the projects, since it asks for specific sizes. It will resize content based on the viewport size but you might not get the specific values the tests want.
But clamp() accepts three values, a minimum, preferred size, and maximum
Something like this,