<!DOCTYPE>
<html>
<style>
 #element-container-vmax {
   background:green;
 }
</style>
<div id="element-container-vmax">TEST PASSED</div>
<script>
function applyStyle() {
    var viewportMaxLength = Math.max(window.innerWidth, window.innerHeight);
    var elementStyle = document.getElementById("element-container-vmax").style;
    elementStyle.height = Math.floor(30 * viewportMaxLength / 100) + "px";
    elementStyle.width = Math.floor(30 * viewportMaxLength / 100) + "px";
    elementStyle.fontSize = Math.flo