@font-face {
    font-family: 'YaPiFan';
    src: url('../fonts/ya_pi_fan.ttf') format('truetype');
}

body {
    font-family: 'YaPiFan', Arial, sans-serif;
    text-align: left;
    margin: 0;
    padding: 0;
}

#container {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: 20px auto;
}

#leftBoxContainer {
    width: 50%; /* 調整為50%，使左邊區塊和右邊區塊一樣大 */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-right: 5px;
}

#topTextContainer {
    display: flex;
    justify-content: space-between;
}

.currentText {
    width: 48%;
    height: 40px;
    font-size: 18px;
    font-weight: bold;
    overflow: hidden;
    box-sizing: border-box;
    padding: 10px;
}

#leftBox, #rightBox {
    width: 100%;
    height: 200px;
    font-size: 18px;
    font-weight: bold;
    overflow-y: auto;
    box-sizing: border-box;
}

#rightBoxContainer {
    width: 50%; /* 調整為50%，使左邊區塊和右邊區塊一樣大 */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
}

#rightBox {
    display: flex;
    align-items: center;
    justify-content: center;
}

textarea {
    width: 100%;
    height: 100%;
    font-size: 18px;
    border: none;
    resize: none;
    padding: 0px; /* 設置內邊距為0 */
    box-sizing: border-box;
}

#buttonContainer {
    text-align: center;
    margin-top: 20px;
}

.custom-button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px;
    outline: none;
}

.button-white {
    background-color: #fff;
    color: #000;
}

.button-black {
    background-color: #000;
    color: #fff;
}

.button-zizi {
    background-color: #81ac71;
    color: #e5d97f;
}

.button-cloudcat {
    background-color: #2a2655;
    color: #69a0dd;
}

.button-mumu {
    background-color: #f1ddde;
    color: #891414;
}

.color-white {
    background-color: #fff;
    border: 2px solid #000;
    color: #000;
}

.color-black {
    background-color: #000;
    border: 2px solid #fff;
    color: #fff;
}

.color-zizi {
    background-color: #81ac71;
    border: 2px solid #e5d97f;
    color: #e5d97f;
}

.color-cloudcat {
    background-color: #2a2655;
    border: 2px solid #69a0dd;
    color: #69a0dd;
}

.color-mumu {
    background-color: #f1ddde;
    border: 2px solid #891414;
    color: #891414;
}

#footer {
    text-align: center;
    padding: 10px;
    font-size: 14px;
    color: #666;
    border-top: 1px solid #ddd;
    margin-top: 20px;
}

.additionalBox {
    width: 100%;
    height: 100px;
    font-size: 16px;
    font-weight: bold;
    box-sizing: border-box;
    overflow-y: auto;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px; /* 在上方欄位和下方欄位之間添加間距 */
}