body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

html {
    width: 100%;
    height: 100%;
}

.robios-avatar-container {
    /* The position will be set dynamically by JavaScript */
    overflow: hidden;
    /* Remove any default margins or padding */
    margin: 0;
    padding: 0;
    /* Ensure the container respects the padding from the edge */
    box-sizing: border-box;
    position: relative;
}

.robios-avatar-container canvas {
    display: block;
    margin: 0;      /* Remove auto margins */
    position: relative;
}

/* Style for the component container */
#component-container {
    position: fixed;   /* Position relative to the viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center;   /* Center vertically */
    pointer-events: none;  /* Allow clicks to pass through the container */
}

/* Re-enable pointer events for the direct children (the actual component) */
#component-container > * {
    pointer-events: auto;
}