/**
 * -------------------------------------------------------------------------
 *
 * Variables for automatically adjusting the font size.
 *
 * -------------------------------------------------------------------------
 *
 * @package    MimimiFramework
 * @subpackage Examples / Static Pages only
 * @license    GPL-2.0
 *             https://opensource.org/license/gpl-2-0/
 * @copyright  2022 MiMiMi Community
 *             https://mimimi.software/
 *
 * -------------------------------------------------------------------------
 */

    :root {
        --screenSizeX:   80;
        --screenSizeY:   25;

        --displayHeight: 100vh;
        --displayWidth:  100vw;

        --fontByHeight:  calc( var( --displayHeight ) / var( --screenSizeY ) );
        --fontByWidth:   calc( var( --displayWidth  ) / var( --screenSizeX ) );

        --fontOptimal:   min( var( --fontByHeight ), var( --fontByWidth ) );
        --fontSize:      max( var( --fontOptimal  ), 16px                 );
    }
