body {
    font-family: sans-serif;
    background-color: #f7f7f7;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
}

.container {
    position: relative;
}

.chat-container {
    width: 100%;
    max-width: 600px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    overflow-y: auto;
    height: 120px;
    font-size: small;
}

.message {
    margin-bottom: 5px;
    display: flex;
}

.message .timestamp {
    color: #777;
    margin: 0 5px;
}

.message .sender {
    font-weight: bold;
    color: #333;
}


.input-container {
    width: 100%;
    max-width: 400px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.input-container input[type="text"] {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 3px;
    margin-right: 10px;
}

.input-container input[type="submit"] {
    background-color: #4CAF50;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 3px;
    cursor: pointer;
}

.input-container input[type="submit"]:hover {
    background-color: #45a049;
}

.info {
    font-size: x-small;
    color: #777;
}

.overlayText {
    position: absolute;
    bottom: 35px;
    /* better left alignment to avoid jumps on completion */
    text-align: left;
    width: 80%;
    left: 10%;
    z-index: 10;
}

.overlayText > p {
    background-color: black;
    color: white;
    font-size: 18px;
    display: inline;
}

div#status {
    font-size: small;
    text-align: center;
    padding: 0.25rem;
}


.channel-container {
    display: flex;
    width: 640px;
}

.grows {
    flex-grow: 1;
}

.caption-button {
    white-space: nowrap;
}

