html, body {
    height: 100%;
    margin: 0px;
    padding: 0px;
    font-family: arial, sans-serif;
    background-color: #EEE;
}

#main {
    max-width: 600px;
    background-color: #CCC;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column-reverse;
}

#header {
    background-color: #444;
    padding: 10px;
    color: #fff;
    font-weight: bold;
    font-size: 30px;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.5);
    display: flex;
    z-index: 2;
    flex-grow: 0;
    min-height: 32px;
    justify-content: space-between;
    cursor: pointer;
}

#menu_icon {
    width: 32px;
    height: 32px;
}

#history {
    overflow-y: scroll;
    padding-bottom: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

#chat_bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #FFF;
    margin: 0px;
    padding: 0px;
}

#send_button {
    width: 32px;
    height: 32px;
}

#chat_text {
    width: 100%;
    margin: 0px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: arial;
    font-size: 100%;
    resize: none;
}

.message {
    background-color: #EEE;
    padding: 10px;
    margin: 5px 10px;
    border-radius: 5px;
    display: flex;
    clear: both;
    box-shadow: 5px 5px 5px #888;
}

.avatar_icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: inline-block;
}

.message_textbox {
    display: inline-block;
    margin: 0px 10px;
    max-width: 400px;
}

.sent {
    text-align: right;
    float: right;
    margin-left: 50px;
    flex-direction: row-reverse;
    background-color: #FFF;
    white-space: pre-line;
}

.received {
    text-align: left;
    float: left;
    margin-right: 50px;
    flex-direction: row;
    background-color: #FFA;
}

#options {
    background-color: #FFF;
    border-bottom: 3px solid #CCC;
}

.options_table {
    margin: 0px 10px 10px 10px;
    border-spacing: 10px 30px;
}

#name_text_field {
    font-size: 24px;
    width: 100%;
}

.option_value {
    font-size: 24px;
}

#name_text_field {
    border: 2px solid #CCC;
}

.check_button {
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.icon_selector {
    text-align: center;
}

input[type="radio"] {
    display: none;
}

.icon {
    width: 32px;
    height: 32px;
}

input[type="radio"]:not(:checked) + label {
    opacity: 0.5;
}

ul {
    list-style: none;
    padding: 0px;
    margin: 30px 0px 0px 20px;
}

li {
    margin-top: 10px;
}

a {
    color: #444;
    text-decoration: none;
}

