html, body {
    height: 100%;
    margin: 0;
}
#wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.chat-container {
    flex-grow: 1;
    width: 100%;
    max-width: 700px;
    margin: auto;
    padding: 10px;
    background-color: #e5ddd5;
    border-radius: 10px;
    overflow-y: auto;
    height: 800px;
    display: flex;
    flex-direction: column;
}

/* General message style */
.message {
    max-width: 75%;
    padding: 10px;
    margin: 5px;
    border-radius: 15px;
    font-size: 20px;
    word-wrap: break-word;
    position: relative;
    display: inline-block;
}
.cmd{
    max-width: 86%;
}

/* Messages from others (left) */
.message.other {
    background-color: #ffffff;
    align-self: flex-start;
    border-bottom-left-radius: 3px;
    position: relative;
}

/* Bubble tail for others */
.message.other::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -10px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-right-color: #ffffff;
    border-left: 0;
    border-bottom: 0;
    margin-bottom: -3px;
}

/* My messages (right) */
.message.mine {
    background-color: #dcf8c6;
    align-self: flex-end;
    border-bottom-right-radius: 3px;
    position: relative;
}
/* CMD*/
.message.chat {
    background-color: #dcf8c6;
    align-self: center;
    border-bottom-right-radius: 3px;
    position: relative;
    width: 100%;
}

/* Bubble tail for mine */
.message.mine::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: -10px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-left-color: #dcf8c6;
    border-right: 0;
    border-bottom: 0;
    margin-bottom: -3px;
}

/* Message time */
.message-time {
    font-size: 18px;
    color: gray;
    text-align: right;
    display: block;
    margin-top: 5px;
}

/* Input styling */
.input-container {
    display: flex;
    padding: 10px;
    background: #fff;
    border-top: 1px solid #ddd;
}

.input-container input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 20px;
    outline: none;
    background: #f1f1f1;
    font-size: 20px;
    text-align: center;
}

.input-container button {
    background: #25d366;
    color: white;
    border: none;
    padding: 10px 15px;
    margin-left: 10px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 20px;
}
#online{
    width: 100%;
    max-width: 700px;
    margin: auto;
    padding: 10px;
    background-color: #e5ddd5;
    border-radius: 10px;
    border: 4px solid #dcf8c6;
    text-align: center;
    font-size: 20px;
}
/* CMD-Style */
#menue{
    /*display: none;*/
    width: 100%;
    max-width: 700px;
    margin: auto;
    padding: 10px;
    color: white;
    background-color: black;
    border-radius: 10px;
    /* border: 4px solid #dcf8c6; */
    text-align: center;
    font-size: 20px;
}
table{
    text-align: left;
}
table *{
    padding-left: 10px;
}
.center{
    text-align: center;
}
.commandreturn, .command, .download{
    cursor: pointer;
}