:root {
    /* --safe-viewport-width and --safe-viewport-height are defined in index.js */
    --body-width: min(var(--safe-viewport-width), calc(var(--safe-viewport-height) * 9/16));
    --body-height: calc(var(--body-width) * 16/9);
    --div-width: calc(var(--body-width) / 3);
    --div-height: calc(var(--body-height) / 7);
    --font-size: calc(var(--body-width) * 0.08);
}


::-webkit-scrollbar {
    display: none;
}


* {
    margin: 0;
    padding: 0;
    border: none;
    box-sizing: border-box;
    scrollbar-width: none;
    -ms-overflow-style: none;
    color: white;
    font-family: monospace;
    background-color: black;
    font-size: var(--font-size);
}


html, body, div {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    align-content:center;
    justify-content: center;
}


html {
    width: var(--safe-viewport-width);
    height: var(--safe-viewport-height);
}


body {
    width: var(--body-width);
    height: var(--body-height);
}


div {
    width: var(--div-width);
    height: var(--div-height);
}


div:first-of-type {
    width: calc(var(--div-width) * 3);
    font-size: 150%;
    font-weight: 900;
}


div:nth-of-type(2) {
    width: calc(var(--div-width) * 2);
}