body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #111;
    height: 100%;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
}

.character img {
    max-width: 100px;
    height: auto;
}

.speech-bubble {
    width: 180px;
    height: auto;
    background-color: #333;
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
    color: #ffffff;
    font-size:20px;
}

.input-area {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.input-area textarea {
    margin-top: 10px;
    padding: 10px;
    width: 280px;
    min-height:180px;
    height: auto;
    border-radius: 5px;
    border: 1px solid #555;
    margin-bottom: 10px;
    font-size:20px;
}

.input-area button {
    margin-top: 10px;
    width: 300px;
    padding: 10px 20px;
    background-color: #179c00;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size:20px;
}

.input-area button:hover {
    background-color: #666;
}

.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    animation: spin 2s linear infinite;
    display: none; /* Hide by default */
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}