@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');

body {
    margin: 0;
    padding: 0;

    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    width: 100vw;

    font-family: "Noto Sans", monospace;

    background-color: #f1f3f5;
}

hr {
    border: 1px solid #3bc9db;
}

.link {
    color: #15aabf;
}

.link:hover {
    text-decoration: underline;
    cursor: pointer;
}

.bottom-pad {
    margin-bottom: 2em;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.hlayout {
    flex-direction: column;
    width: calc(100% - 4em) !important;
}

.modal {
    box-sizing: border-box;

    border: 1px solid #3bc9db;
    border-radius: 1em;

    padding: 1em;

    background-color: #f1f3f5;
}

.spacer {
    padding-bottom: 0.75em;
}

.r-spacer {
    padding-right: 0.75em;
}

.login-modal {
    width: 20em;
}

.post-modal {
    width: 30em;
}

.sm-top {
    margin: 0.5em 0 1em 0;
    padding: 0;
}

.sm-bottom {
    margin: 1.5em 0 0.5em 0;
    padding: 0;
}

.sm-margin {
    margin: 0.25em 0;
    padding: 0;
}

.md-margin {
    margin: 3em 0;
    padding: 0;
}

.no-margin {
    padding: 0;
    margin: 0;
}

.tm {
    margin-top: 1em;
}

.nm {
    margin: 0;
}

.side-pad {
    padding-left: 2em;
    padding-right: 2em;
}

.login-input {
    box-sizing: border-box;

    width: 100%;
    padding: 0.75em;

    background-color: #dee2e6;
    border: 1px solid #3bc9db;
    border-radius: 0.75em;

    font-family: "Noto Sans", monospace;
}

.textarea {
    height: 8em;
}

.right-container {
    width: 100%;

    display: flex;
    justify-content: right;
}

.button {
    font-size: 0.9em;

    padding: 0.75em;

    border-radius: 0.75em;

    background-color: #3bc9db;

    text-decoration: none;
    color: #000;

    user-select: none;
}

.button2 {
    font-size: 0.9em;

    padding: 0.75em;

    border-radius: 0.75em;

    border: 1px solid #3bc9db;

    text-decoration: none;
    color: #000;

    user-select: none;
}

.nodec {
    text-decoration: none;
    color: #000;
}

.button:hover {
    cursor: pointer;
}

.inline {
    display: inline;
}

.text-half {
    font-size: 0.75em;
}

.postline {
    width: 40em;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-shrink: 1;
}

.mobile-nav {
    display: none;
}

.buttons {
    width: 20em;
    margin-right: 2em;
}

.buttons-container {
    height: 90%;
}

.buttons-inner {
    margin: 0.5em 0;
}

.vlayout {
    min-height: 0;
    max-width: 100%;

    flex-grow: 1;
    display: flex;
    flex-direction: row;
    align-items: top;
}

.users {
    max-height: 100%;
    width: 20em;
    margin-left: 2em;
    flex-shrink: 0;
}

.row-container {
    display: flex;
    flex-direction: row;
    justify-content: left;
}

.row-fill {
    flex-grow: 1;
}

.middle-text {
    height: 100%;
}

.bmargin {
    margin-bottom: 0.75em;
}

.el {
    max-width: 10.5em;
    text-overflow: ellipsis;
    overflow-x: hidden;
}

.user-scroll {
    height: 100%;
    overflow-y: scroll;
    scrollbar-width: none;
}

.post-scroll {
    height: calc(100% - 3.6em);
    overflow-y: scroll;
    scrollbar-width: none;
}

.postline-header {
    height: 2.6em;
    margin-bottom: 1em;
}

.overlay {
    top: 0;
    left: 0;
    display: none;

    position: fixed;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.5);
}

textarea:focus, input:focus{
    outline: none;
}

.sm-area {
    height: 4em;
}

@media screen and (max-width: 22.22em) {
    .login-modal {
        width: 90%;
    }
}

@media screen and (max-width: 1100px) {
    .login-modal {
        width: 90%;
    }

    .mobile-nav {
        display: flex;
    }

    .md-margin {
        margin: 1em 0;
    }

    .postline {
        display: none;
    }

    .users {
        display: none;

        flex-grow: 1;
        margin-left: 0;
    }

    /* .buttons-container {
        display: none;
    } */

    .buttons {
        flex-grow: 1;
        margin-right: 0;
    }
}