body {
    font-family: Arial, sans-serif;
    /*height: 100vh;*/
    overflow-y: hidden;
    margin: 0;
    background-color: white; /* Change background color to white */
}

.container {
    box-sizing: border-box; /* Include padding in the width and height */
    display: flex;
    flex-direction: column; /* Use column layout for child elements */
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    
    /*align-items: stretch;*/
    
}

.flex-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%; /* Ensure flex container takes full width */
    
}

textarea {
    width: calc(90vw - 20px); /* 20px for margins */
    height: 100px;
    margin-top: 10px;
    max-width: 90vw; /* Set maximum width to 90% of viewport width */
    max-height: 30vh; /* Set maximum height to 30% of viewport height */
}

button {
    margin-top: 10px;
}

#canvas {
    border: 2px solid black;
    margin-top: 10px;
    max-width: 95vw; /* Set maximum width to 95% of viewport width */
    max-height: 80vh; /* Set maximum height to 80% of viewport height */
    position: relative;
    display: block; /* Prevent the canvas from collapsing */
    top: 0;
    left: 0;
    
}

#input-area {
    flex: 1; /* Allow input area to take up remaining vertical space */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.plaintext-display {
    font-family: monospace; /* Use monospace font for better visibility of underscores */
    padding: 5px; /* Add padding for better spacing */
    margin-bottom: 10px; /* Add margin for separation */
    letter-spacing: -4px;
}
