@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@300&display=swap');

:root
{
    --controls-height: 75px;
}

*
{
    font-family: 'Dosis', sans-serif;
    box-sizing: border-box;
}

body
{
    margin: 0;
    padding: 0 1.5em;
    height: 98vh;
}

#history
{
    height: calc(96vh - var(--controls-height) - 1px);
    border: 1px solid gray;
    border-radius: 5px;
    padding: 0.5em 1em;
    background-color: #fafafa;
    list-style-type: none;
    overflow: auto;
}

#history li
{
    margin-bottom: 0.4em;
}

#history li span
{
    font-weight: bolder;
}

#controls
{
    height: var(--controls-height);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#message
{
    height: calc( var(--controls-height) / 2 );
    flex: 1 1 auto;
}

#send
{
    margin-left: 0.5em;
    min-width: 11em;
    height: calc( var(--controls-height) / 2 );
}

.user
{
    color: green;
}

.info
{
    color: black;
}

.error
{
    color: red;
}
