:root {
    /*--main-color: #232323;*/
    --main-color: #FFEBCD;
    --add-color: #393939;
    --green-color: #2d9062;
    --yellow-color: #faaf08;
    --wheat-color: #FFEBCD;
    --pattern: url(/img/menu-icons/black-scratch-lines.png);
}

#chatForm {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    justify-content: space-around;
    align-items: center;
    padding-top: 0.5rem;
}

@font-face {
    font-family: 'MedievalSharp';
    src: url('../fonts/MedievalSharp-Regular.ttf') format('truetype');
}

#chatOuterBounds {
    display: inline-flex;
}

#globalChatMessagesContainer {
    max-height: calc(100vh - 290px);
    height: calc(100vh - 290px);
}

.lhst_chat_div {
    /*text-align: center;*/
    max-height: calc(100vh - 212px);
    padding: 10px;
    background-image: var(--pattern);
    background-size: 50%;
    border-radius: 20px 0 0 20px;
    border-width: 2px;
    border-color: var(--wheat-color);
    color: var(--wheat-color);
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 100;
    z-index: 5;
    font-family: 'MedievalSharp', serif;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.8); /* ������ �������� */
}

.lhst_chat_container {
    overflow-y: auto !important
}

.lhst_chat_line {
    width: auto;
    height: 1px;
    background-color: var(--wheat-color)
}

.lhst_chat_text {
    width: 200px;
    font-weight: lighter;
    font-family: 'MedievalSharp', serif;
    word-break: break-word;
    font-size: 12px
}

.lhst_display_grid {
    display: grid
}

.lhst_username_text {
    color: var(--green-color);
    font-size: 14px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8); /* ���� ��� ������ */
    filter: brightness(1.3)
}

    .lhst_username_text:hover {
        color: var(--yellow-color)
    }

.lhst_chat_height {
    height: 380px
}

.lhst_chat_input {
    width: 100%;
    height: 40px;
    background-color: var(--add-color);
    font-family: 'MedievalSharp', serif;
    color: var(--wheat-color);
    border-radius: 10px;
    padding-left: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5); /* ���������� ���� ��� ������� */
    resize: none;
    border-style: none;
    font-size: 14px
}

    .lhst_chat_input::placeholder {
        color: lightgray;
        font-size: 12px
    }

.lhst_button_input {
    width: 40px;
    height: 40px;
    margin-bottom: 3px;
    margin-left: 4px;
    background-color: var(--add-color);
    font-family: 'MedievalSharp', serif;
    color: lightgray;
    border-radius: 25px;
    font-weight: 700;
    font-size: revert;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8); /* ������ �������� */
    border-style: none
}

    .lhst_button_input:hover {
        background: radial-gradient(var(--green-color),black);
        color: var(--yellow-color);
        border-style: outset
    }

    .lhst_button_input:active {
        border-style: inset
    }

.lhst_chat_but_marg {
    position: fixed;
    right:0;
    top:140px;
    z-index: 10;
}

.lhst_but_open_chat {
    white-space: pre;
    font-size: small;
    z-index: 5
}

#hideChatBtn {
    display: inline-flex;
    gap: 0.5em;
    align-items: center;
    transform: rotate(-90deg);
    width: 5.75em;

    margin-top: calc(30vh);
    margin-right: -22px;
}

#showChatBtn {
    display: inline-flex;
    gap: 0.5em;
    align-items: center;
    transform: rotate(-90deg);
    width: 5.75em;

    position: fixed;
    top: calc(140px + 30vh);
    right: -22px;
    margin: 0;
}

/*@keyframes color-change {
    0% {
        color: var(--green-color);
    }

    50% {
        color: var(--yellow-color);
    }

    100% {
        color: var(--green-color);
    }
}

.animation-text {
    animation: color-change 5s infinite;
}*/

.lhst_form_center{
    text-align:center;
}
