html body{
    height: 100vh;
    margin: 0;
    overflow: hidden;
    position: fixed;
    font-family: sans-serif;
}

#header_text {
    display: inline-block;
    font-size: 1.5em;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    margin: 5px 10px;
}

#login_page {
    position: absolute;
    background-color: white;
    height: 100vh;
    width: 100vw;
    z-index: 10000;
}
#login_part {
    text-align: center;
    border-radius: 15px;
    width: 90vw;
    max-width: 500px;
    margin: 100px auto;
}
#login_part h1{
    font-size: 25px;
    font-weight: 600;
}
.loginitems label {
    display: inline-block;
    text-align: center;
    width: 105px;
    color: #000000;
    font-size: 0.9em;
}
.loginitems input {
    display: inline-block;
    width: 150px;
    height: 20px;
    border: 2px solid #b1b1b1;
    border-radius: 10px;
    font-size: 1em;
    padding: 5px;
}
button.loginitems {
    display: inline-block;
    background-color: #2792c3;
    color: white;
    font-size: 1em;
    padding: 7px 16px;
    border: none;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.15);
}



#main_page{
    display: flex;
    flex-direction: column;
    height: 100vh;
}
#header {
    height: 40px;
    width: 100vw;
    border-bottom: 2px solid #b1b1b1;
}
#header img.logo_icon {
    height: 36px;
    margin: 2px auto 2px 10px;

}
img.settings_icon {
    position:absolute;
    height: 36px;
    width: 36px;
    margin: 2px 10px 2px auto;
    right: 0px;
}
img.reset_icon {
    position:absolute;
    height: 36px;
    width: 36px;
    margin: 2px 10px 2px auto;
    right: 46px;
}
h3.settings_list{
    margin: 25px 5px 0px 5px;
    font-weight: 600;
}
#header_model {
    position: absolute;
    display: inline-block;
    color: lightslategray;
    height: 36px;
    margin: 14px 10px 2px auto;
    right: 92px;
}



#chat_area {
    flex-grow: 1;
    width: 100vw;
    overflow: auto;
}
#chat_area h1, h2, h3, h4, h5 {
    margin: 5px 0px;
}
.send_message_wrap {
    text-align: right;
}
.receive_message_wrap {
    border-top: solid lightgray;
    border-bottom: solid lightgray;
    margin: 20px;
}
.receive_message, .send_message {
    max-width: 85vw;
    padding: 10px;
    border-radius: 25px 3px 25px 25px;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: pre-wrap;
}
.receive_message {
    margin: 10px auto 10px 10px;
    display: inline-block;

}
.send_message {
    background-color: #eeeeee;
    margin: 10px 10px 10px auto;
    display: inline-block;
    text-align: left;
}
.receive_message img {
    height: 15px;
    width: 15px;
}


#text_edit_area {
    margin: 0px 0px 10px 0px;
}
#message_area {
    width: calc(100vw - 80px);
    resize: none;
    overflow: auto;
    padding: 7px;
    max-height: 180px;
    line-height: 1.5em;
    border: 2px solid #b1b1b1;
    border-radius: 10px;
    margin: 10px 3px 10px 10px;
    font-size: 1em;
    font-family: sans-serif;
}
#send_button {
    height: 35px;
    width: 35px;
    margin: 10px auto;
}



#settings_page {
    position: absolute;
    width: 100vw;
    height: 100vh;
    display: flex;
}
#blur_back {
    backdrop-filter: blur(3px) contrast(90%) brightness(95%);
    -webkit-backdrop-filter: blur(3px) contrast(90%) brightness(95%);
    height: 100vh;
    width: calc(100% - 70vw);
    min-width: calc(100% - 400px);
}
#settings_list {
    background-color: white;
    height: 100vh;
    width: 70vw;
    max-width: 400px;
    filter: drop-shadow(-5px 0px 10px rgba(0,0,0,0.2));
}
#setting_space {
    height: 40px;
}
#settings_list button {
    margin: 5px 20px;
}
#model_setting_part input, label {
    padding: 8px;
}
#model_setting_part input {
    margin: 8px 0px 5px 20px;
}
#update_red_icon_hamburg{
    position: fixed;
    top: 5px;
    right: 12px;
    height: 10px;
    width: 10px;
    border-radius: 10px;
    background-color: rgb(255, 0, 0, 0.85);
    display: none;
    z-index: 10000;
}
#update_red_icon_list{
    position: relative;
    top: 12px;
    right: -18px;
    height: 10px;
    width: 10px;
    border-radius: 10px;
    background-color: rgb(255, 0, 0, 0.85);
    display: block;
    z-index: 10000;
}
#version_part p.settings_list {
    margin: 5px 20px;
}

#text_count_area {
    width: calc(100vw - 80px);
    padding: 7px;
    overflow-wrap:break-word;
    white-space: pre-wrap;
    position: absolute;
    visibility: hidden;
    line-height: 1.5em;
    font-size: 1em;
}


mjx-container[jax="SVG"]{
    overflow: auto;
}
