html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    overflow: hidden;
    /* prevent scrollbars */
    position: fixed;
    /* fix mobile height bugs */
}

.webgl-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    /* viewport height */
    width: 100vw;
    /* viewport width */
    max-height: 100vh;
    overflow: hidden;
    background-color: black;
}

/* Maintain 9:16 aspect ratio cleanly */
.aspect-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 9 / 16;
    background-color: black;
    overflow: hidden;
}

/* Unity container fills the aspect-ratio wrapper */
#unityContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}