:root {
    --border: 2px solid #ddd;
}

html {
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: 'Roboto', sans-serif;
}

*,
*:before,
*:after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

.msger {
    display: flex;
    flex-flow: column wrap;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    border: var(--border);
    border-radius: 5px;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}
.chat-messages::-webkit-scrollbar {
    width: 6px;
}
.chat-messages::-webkit-scrollbar-track {
    background: #ddd;
}
.chat-messages::-webkit-scrollbar-thumb {
    background: #bdbdbd;
}

.message {
    display: flex;
    align-items: flex-end;
    margin-bottom: 10px;
}
.message:last-of-type {
    margin: 0;
}

.message {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
    max-width: fit-content;
    background-color: #eee;
}

/*.typing {*/
/*    visibility: hidden;*/
/*}*/

button {
    height: 50px;
    width: 80%;
    background-color: gray;
    margin:10px;
}

.footer {
    display: flex;
    padding: 10px;
    border-top: var(--border);
    background: #eee;
    justify-content: center;
}
.footer * {
    border: none;
    border-radius: 10px;
    font-size: 1em;
}