body {
    margin: 0;
}

canvas {
    width: 100%;
    height: 100%;
    image-rendering: pixelated;
    max-height: 100vh;
}

.fullscreen {
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    padding: 0;
}

.textWarning {
    background-color: #000000;
    color: #FFFFFF;
    flex-direction: column;
}

.warningStart, .warningPreview summary, .textWarningStart, .textWarningContinue {
    font-size: 1.5rem;
}

.textWarningWords {
    font-size: 1.5rem;
    font-style: italic;
}

.continueWithText, .continueWithoutText {
    font-size: 2rem;
    background-color: #000000;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    border-radius: 10px;
    margin: 0 25px;
}

.textContent {
    color: white;
    font-size: 6rem;
    width: 100%;
    white-space: pre-line;
    text-align: center;
    margin: auto;
    transition: opacity 0.25s;
}

.errorInfo {
    display: none;
    background-color: rgba(0, 0, 0, 0.5);
}

.error-content {
    color: white;
    font-size: 1.5rem;
    width: 100%;
    white-space: pre-line;
    text-align: left;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 30%;
    min-width: 500px;
    height: 100%;
    overflow: auto;
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

textarea {
  width: 100%;
}
