html, body, div {
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

canvas {
    position: absolute;
    object-fit: contain;
    width: 100% !important;
    max-height: 100% !important;
}