body{
    background-color: black;
}
span{
    font-family: "Huninn", "LXGW WenKai TC", DFKai-sb;
}
#title{
    position: absolute;
    left: 50%;
    top: 5%;
    transform: translateX(-50%);
    color: aqua;
    font-size: 3em;
    cursor: default;
    user-select: none;
}
#board{
    position: absolute;
    left: 50%;
    top: 15%;
    transform: translateX(-50%);
    width: 90%;
    height: 60%;
    border: 1px aqua solid;
    border-radius: 10px;
    background-color: black;
    overflow-x: hidden;
    overflow-y: overlay;
}
#input{
    position: absolute;
    left: 5%;
    top: 80%;
    width: 20%;
    height: 2.5%;
    border: 1px aqua solid;
    border-radius: 10px;
    background-color: black;
    color: aqua;
}
#input:focus{
    outline: none;
}
#send{
    position: absolute;
    left: 30%;
    top: 80%;
    width: 5%;
    height: 3%;
    border: 1px aqua solid;
    border-radius: 100px;
    overflow: hidden;
    cursor: default;
    user-select: none;
}
#send_span{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    color: aqua;
}
#loading_span{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: gray;
}
.user_msg,.ai_msg,.error{
    position: unset;
    width: fit-content;
    max-width: 80%;
    height: fit-content;
    border: transparent;
    border-radius: 10px;
    opacity: 0.7;
}
.user_msg span,.ai_msg span,.error span{
    color: black;
    font-size: 1.5em;
}
.msg_board{
    position: unset;
    width: 100%;
    overflow: hidden;
}
.user_msg{
    background-color: wheat;
    float: right;
}
.ai_msg{
    background-color: white;
    float: left;
}
.error{
    background-color: red;
    float: left;
}
::-webkit-scrollbar {
    width: 7px;
}
::-webkit-scrollbar-button {
    background: transparent;
    border-radius: 4px;
}
::-webkit-scrollbar-track-piece {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: gray;
}
::-webkit-scrollbar-track {
    box-shadow: transparent;
}