canvas {
    background: white;
    --f: min(min(1vh, 1vw), 75vh / 80);
    width: calc(var(--f) * 100);
    height: calc(var(--f) * 80);
}
