:root {
        --padding-box: 4px;
}

/*  если больше чем */

@media screen and (min-width: 1045px) {
        .text-box {
                width: calc(100% - 285px) !important;
                left: 285px;
        }

        .container-left {
                left: 0;
        }
}

.text-box {
        position: relative;
        width: 100vw;
        height: calc(var(--vh, 1vh) * 100);
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #272830;
        flex-direction: column-reverse;
}


.text-area {
        width: calc(100% - var(--padding-box) * 2);
        height: calc(100% - var(--padding-box) * 2);
        padding: 7px 9px;
        outline: 0;
        resize: none;
        border-radius: 10px;
        background-color: #40414F;
        font-size: 16px;
        color: #ECECF1;
        font-family: Consolas;
        margin-bottom: 1px;
}

/*  если больше чем  */

@media screen and (min-width: 800px) {
        .text-area {
                width: 750px;
        }
}

::-webkit-scrollbar {
        width: 0px
}

::-webkit-scrollbar-track {
        background: #33343c;
        border-radius: 3px;
}

::-webkit-scrollbar-thumb {
        background: #21222c;
        border-radius: 3px
}