* {
    user-select: none;
}

div#chat {
    padding: 1.5rem;
    display: flex;
    border-radius: 2rem 2rem 0 0;
    flex-direction: column-reverse;
    overflow-y: scroll;
    height: 70svh;
    background: #333;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

div#chat div.msg {
    margin: .5rem 0;
    position: relative;
}

div#chat div.msg>span {
    max-width: 70vw;
    transition: background-color .1s, color .1s, margin .1s, box-shadow .1s;
    background: #222;
    font-weight: 500;
    border-radius: 1.5rem;
    padding: .7rem 1rem;
    display: inline-block;
    color: #eee;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    word-wrap: break-word;
}

div.msg.answer {
    text-align: right;
}

div#chat div.msg.answer>span {
    background: #093AFF;
}

div#chat div.msg.button>span {
    cursor: default;
    opacity: .25;
}

div#chat div.msg.button.clickable>span {
    box-shadow: 5px 7px #222;
    cursor: pointer;
    background: #eee;
    color: #222;
    opacity: 1;
}

div#chat div.msg.button.clickable>span:active {
    box-shadow: none;
    background: #222;
    color: #eee;
    margin-bottom: -5px;
    margin-top: +5px;
}

div#chat>input {
    padding: .7rem;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 2rem;
}

#bottom_chat {
    background-color: #333;
    border-radius: 0 0 2rem 2rem;
}

.input_container {
    background-color: #eee;
    position: relative;
    bottom: 0;
    left: 0;
    right: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .7rem;
    margin: 1rem;
    border-radius: 2rem;
    border: 1px solid black;
}

.input_container.inactive {
    background-color: #555;
}

#input {
    width: 100%;
    height: 100%;
    background-color: transparent;
    outline: none;
    border: none;
    color: black;
    padding: 0;
    margin: 0;
    font-size: 1rem;
}

#send_button {
    width: fit-content;
    height: 100%;
    background-color: transparent;
    outline: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#send_button svg {
    height: 18px;
}

#send_button svg path {
    stroke: white;
    fill: #3c3c3c;
}
