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

section {
    width: 100%;
}

h1, h2 {
    text-align: center;
}

li div {
    display: flex;
    justify-content: space-between;
}

code-input {
    margin: 0;
    padding: 0;
    width: 100%;
    flex-grow: 1;
    caret-color: ghostwhite;
    background-color: #181a1b;
    color: white;
}

code-input.show {
    height: auto;
}

.button {
    width: 100%;
    height: 50px;
    border-color: #736b5e
}

code-input .code-input_autocomplete_popup {
    display: flex;
    flex-direction: column;
    overflow: scroll;
    max-height: 22dvh;
    border-style: solid;
    border-radius: 0.4em;
    background-color: #3f3f3f;
    border-color: #3f3f3f
}

code-input .code-input_autocomplete_popup button.selected {
    background-color: #4f4f4f;
}

code-input .code-input_autocomplete_popup button.auto_instruct i {
    color: #337dff;
}

code-input .code-input_autocomplete_popup button.auto_var i {
    color: #ffdb1a;
}

code-input .code-input_autocomplete_popup button.auto_pointer i {
    color: #ff1a1a;
}

code-input .code-input_autocomplete_popup button {
    text-align: left;
}

div.editor-container {
    position: relative;
    padding: 0;
    margin: 0;

    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

menu.show-menu {
    z-index: 3;
    position: absolute;
    right: 7px;
    top: 7px;
    max-width: 80%;
    max-height: 1em;
    padding: 2px;
    margin-right: 10px;;
    gap: 8px;
    display: flex;
}

menu.show-menu img {
    width: 1em;
    height: 1em;
    cursor: pointer;
}

dialog div {
    display: flex;
    flex-direction: column;
    text-align: start;
}

dialog div span {
    display: flex;
    justify-content: space-between;
}
