html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #222;
    overflow: hidden;
}

#ct {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

#ct canvas {
    position: absolute;
    width: 100%;
    height: 100%;
    padding-top: 27px;
}

@media (max-width: 768px) {
    /* Ensure the game container stays in place */
    #ct {
        top: var(--navbar-height);
    }
}

@media (max-width: 480px) {
    #ct {
        top: var(--navbar-height);
    }
}
