
body {
    font-family: Arial, sans-serif;
    text-align: center;
}

.canvas-container {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

canvas {
    border: 1px solid #ccc;
    background: white;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
}

.controls {
    margin-bottom: 10px;
}

button,
select {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    margin: 5px;
    padding: 8px;
    font-size: 14px;
}

#textCanvas {
    width: 90%; /* Adjust to occupy 90% of the screen width */
    max-width: 800px; /* Set a maximum width if needed */
    display: block; /* Ensure it's a block-level element */
    margin: 0 auto; /* Center it horizontally */
}
