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

html
{
    height: 100%;
}

body
{
    margin: 0;
    padding: 0 1.5em;
    height: 100%;
    overflow: hidden;
    font-family: 'Dosis', sans-serif;
}

main
{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#history
{
    flex: 1 1 auto;
    min-height: 3em;
    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
{
    min-height: 3em;
    padding-bottom: 1em;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#message
{
    min-height: 3em;
    flex: 1 1 auto;
    font-family: inherit;
}

#send
{
    margin-left: 0.5em;
    min-width: 11em;
    font-family: inherit;
}

.user
{
    color: green;
}

.info
{
    color: black;
}

.error
{
    color: red;
}
