body {
    background-color: rgb(30, 29, 38);
    color: white;
    font-family: Consolas, monaco, monospace;
    user-select: none;
}

#editor {
    position: fixed;
    z-index: 1;
    height: calc(100% - 120px);
    width: calc(100% - 250px);
    bottom: 50px;
    right: 0;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background-color: #26262c;
    padding: 25px;
}

.run_button {
    position: absolute;
    right: 75px;
    border: none;
    background-color: green;
    height: 30px;
    width: 150px;
    color: white;
    border-radius: 3px;
    font-weight: 100;
}

.run_button:hover {
    background-color: rgb(0, 94, 0);
}

.run_button:active {
    background-color: rgb(0, 74, 0);
}

#terminal {
    padding: 20px;
    position: fixed;
    bottom: 9px;
    overflow: auto;
    right: 0;
    z-index: 1;
    width: calc(100% - 291px);
    border-left: solid 1px black;
    height: 9px;
    /* Initial height */
    min-height: 9px;
    max-height: calc(100% - 119px);
    background-color: #242328;
}

#input {
    display: inline;
    outline: none;
    visibility: visible;
    user-select: text;
}

#input::selection {
    color: #000;
    background: #0F0;
}

#input:empty::before {
    content: ' ';
}

@keyframes blink {
    to {
        visibility: hidden;
    }
}

#input:focus+#caret {
    animation: blink 1s steps(5, start) infinite;
}

#input.noCaret+#caret {
    visibility: hidden;
}

#caret {
    border: 0;
    padding: 0;
    outline: none;
    background-color: #0F0;
    display: inline-block;
    font-family: monospace;
}

.resizer {
    width: 100%;
    height: 10px;
    background-color: darkblue;
    cursor: ns-resize;
    position: absolute;
    top: 0;
    left: 0;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: rgb(30, 29, 38);
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.footer .text {
    font-size: 14px;
}

.footer .button {
    background-color: rgb(50, 49, 59);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    position: absolute;
    right: 50px;
}

.footer .button .icon {
    margin-right: 5px;
}