@font-face {
    font-family: 'Gomarice';
    src: url('../fonts/gomarice_game_music_love.ttf');
}

* {
    margin: 0;
    overflow: hidden;
    padding: 0;
}
html {
    height: 100%;
    width: 100%;
}
body {
    background-color: #14161a;
    display: grid;
    place-items: center;   /* center the letterboxed canvas */
    height: 100%;
    width: 100%;
    overscroll-behavior: none;
}
body {
    -webkit-touch-callout: none;

    -webkit-user-select: none;

    -moz-user-select: none;

    user-select: none;
}
canvas {
    /* align-self: center;
    justify-self: center; */
    cursor: none;
    background-color: lightblue;
    touch-action: none;                    /* no scroll / pinch / double-tap zoom on the playfield */
    -webkit-tap-highlight-color: transparent;
}

/* portrait hint for phones */
#rotate-hint {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10;
    background: #14161a;
    color: #FFE336;
    font-family: 'Gomarice', sans-serif;
    font-size: 26px;
    text-align: center;
    place-items: center;
    padding: 24px;
}
#rotate-hint small { font-size: 16px; color: #ddd; }
#rotate-hint > div { max-width: 320px; line-height: 1.3; }
#rotate-hint .phone { display: block; font-size: 64px; margin: 0 auto 16px; width: 1.2em; animation: rot 1.6s ease-in-out infinite; }
@keyframes rot { 0%,30% { transform: rotate(0deg); } 60%,100% { transform: rotate(-90deg); } }
@media (orientation: portrait) and (pointer: coarse) {
    #rotate-hint { display: grid; }
}
