* {
    box-sizing: border-box;
}

html {
    font-family: "Tiny5", sans-serif;
    font-size: medium;
    color: white;
    background-color: black;
}

button, input, textarea, select {
    font: inherit;
}

.header {
    width: 100%;
    height: 80px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: white solid 2px;
    padding: 0 20px;
}

.chat-container {
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: scroll;
    height: calc(100vh - 196px);
    scrollbar-width: none;
    margin-bottom: 12px;
    box-sizing: border-box;
    padding: 0 8px;
}

.chat-form {
    display: flex;
    width: 80%;
    height: 80px;
    margin: 0 auto;
    z-index: 1000;
    align-items: center;
    justify-content: space-between;
}

.chat-footer__send-btn {
    width: 80px;
    height: 80px;
    background-color: black;
    box-sizing: border-box;
    border: white dotted 2px;
    transition-duration: 0.5s;
    cursor: pointer;
}

.chat-form__textarea {
    width: calc(80vw - 100px);
    height: 80px;
    color: white;
    background-color: black;
    resize: none;
    box-sizing: border-box;
    border: white dotted 2px;
    scrollbar-width: none;
}

.chat-form__textarea:focus {
    outline: none;
}

.chat-form__textarea::placeholder {
    color: white;
}

.chat-footer__counter {
    position: absolute;
    bottom: 2px;
    left: 10vw;
}

.chat-footer__send-btn--unavailable {
    opacity: 0.5;
}

.header__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    transition-duration: 0.5s;
}

.header__logo-img {
    margin-right: 20px;
}

.message-card {
    width: 100%;
    margin-top: 20px;
    box-sizing: border-box;
    padding: 12px;
    border: white 2px dashed;
}

.message-card__divider {
    border: white 1px solid;
}

.message-card__text {
    white-space: pre-wrap;
    word-break: break-all;
}