html,
body {
    margin: 0;
    height: 100%;
}

html {
    overscroll-behavior: none;
}

@font-face {
    font-family: "Inter";
    src: url("./Inter-VariableFont_slnt\,wght.ttf");
    font-weight: 100 900;
}

canvas {
    width: 100%;
    height: 100%;
    display: block;
    outline: none;
}

.button:hover {
    background-color: var(--hover-background-color) !important;
    border-color: var(--hover-border-color) !important;
}

.sticky-top {
    position: sticky;
}

.sticky-bottom {
    position: sticky;
    bottom: 0;
}

.textElement {
    margin: 0;
}

.flexRow {
    display: flex;
    flex-direction: row;
}

.flexColumn {
    display: flex;
    flex-direction: column;
}

.stickToBottom {
    justify-content: flex-end;
}

.chatAndCanvasFullSize {
    height: 100%;
    width: 100%;
}

.chatAndCanvasTestSize {
    height: 50%;
    width: 50%;
    float: left;
}

.greyPlaceholderColor::placeholder {
    color: rgb(224, 224, 224);
    opacity: 1;
}


.chat {
    display: flex;
    flex-direction: column;
}

.chatInputContainer {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: auto auto;
}

.chatInputBackground {
    height: calc(100% - 1em);
}

.roundedTop {
    border-top-left-radius: 0.5em;
    border-top-right-radius: 0.5em;
}

.roundedBottom {
    border-bottom-left-radius: 0.5em;
    border-bottom-right-radius: 0.5em;
}

.roundedAll {
    border-radius: 0.5em;
}

.chatInputTag {
    height: 1em;
    margin-block-start: 0;
    margin-block-end: 0;
    padding-block-start: 0.5em;
    padding-block-end: 0.5em;
    font-size: 18;
}

.chatLog {
    height: 85%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.logList {
    padding-inline-start: 40px;
    padding-inline-end: 20px;
    height: 85%
}

.chatLogEntry {
    padding: 2vh 0;
}

.whiteText {
    color: #ffffff;
}

.redText {
    color: #ff0000;
}

.centeredText {
    text-align: center;
}

@media (max-width: 1399px) {
    .chatAndCanvasFullSize {
        min-height: 100%;
        height: auto;
    }

    .chat {
        min-height: 85%;
        display: block;
    }

    .chatLog {
        height: auto;
        min-height: calc(85% - 12em);
    }

    .chatInputContainer {
        height: 12em;
    }

    .chatLogEntry {
        padding: 0.5vh 0;
    }
}

@media (min-width: 1400px) {
    .chatInputContainer {
        height: 15%;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0%;
    }
    100% {
        opacity: 100%;
    }
}