:root {
    --dark-brown: #553333;
    --red-brown: #BB5555;
    --medium-brown: #BB9999;
    --light-brown: #EEDDDD;
    --black: #000000;
    --white: #FFFFFF;
    --red: #FF0000;
}
* {
    box-sizing: border-box;

    &:focus {
        outline: none;
    }
}
::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 8px;
}
::-webkit-scrollbar-track {
    background-color: #00000033;
    border-radius: 8px;
}
::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background-color: #666666ff;
}
html {
    background-color: var(--white);
    color: var(--dark-brown);
    font-family: monospace;
    font-size: 20px;
    overflow-y: scroll;
}
body {
    display: flex;
    flex-direction: column;
    margin: 1rem;
}
h1 {
    color: var(--dark-brown);
    font-size: 1.6rem;
    font-weight: normal;
    margin: 0;
}
img {
    float: right;
    height: 3.1rem;
}
.subtitle {
    color: var(--red-brown);
}
section {
    margin: 1rem 0;
}
#python-editor {
    border: 1px solid var(--medium-brown);
    border-radius: 0.3rem;
    display: flex;
    font-family: monospace;
    min-height: 100px;
    overflow: hidden;
    position: relative;
}
#line-numbers {
    background-color: var(--light-brown);
    border-radius: 0.3rem 0 0 0.3rem;
    border-right: 1px solid var(--medium-brown);
    color: var(--medium-brown);
    font-family: monospace;
    font-size: inherit;
    line-height: inherit;
    min-width: 2.5rem;
    padding: 0.5rem 0.25rem 0.5rem 0.5rem;
    text-align: right;
    user-select: none;
    -webkit-user-select: none;
    white-space: pre;
}
#editor-content {
    border-radius: 0 0.3rem 0.3rem 0;
    flex: 1;
    position: relative;
}
#plain-text {
    background: transparent;
    border: none;
    caret-color: var(--red-brown);
    color: transparent;
    font-family: monospace;
    font-size: inherit;
    height: 100%;
    left: 0;
    line-height: inherit;
    min-height: 100px;
    outline: none;
    padding: 0.5rem;
    position: absolute;
    resize: none;
    top: 0;
    white-space: pre;
    width: 100%;
    z-index: 2;
}
#syntax-highlight {
    font-family: monospace;
    font-size: inherit;
    line-height: inherit;
    min-height: 100px;
    padding: 0.5rem;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    white-space: pre;
    z-index: 0;
}
#warning-list {
    background-color: var(--red);
    border-radius: 0.3rem;
    color: var(--white);
    padding: 0.5rem;
    white-space: pre-wrap;
}
.button-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: space-between;
    margin: 1rem 0;
}
button {
    background-color: var(--dark-brown);
    box-shadow: 0.2rem 0.2rem var(--medium-brown);
    border: none;
    border-radius: 0.3rem;
    color: var(--light-brown);
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    line-height: 3rem;
    outline: none;
    padding: 0;
    width: 11rem;

    &:active {
        box-shadow: none;
        transform: translate(0.2rem, 0.2rem);
    }
}
.more-button, .secondary-button {
    background-color: var(--light-brown);
    color: var(--red-brown);
}
.more-button {
    width: 3rem;
}
#output-wrapper {
    overflow: hidden;
}
.hide-all-xterm-cursors {
    .xterm-cursor {
        display: none !important;
    }
}
.xterm-viewport {
    background-color: var(--black) !important;
    border-radius: 0.3rem;
}
.xterm-screen {
    height: auto !important;
}
.xterm-rows {
    border-radius: 0.3rem;
    color: var(--white) !important;
    font-family: inherit !important;
    font-size: inherit !important;
    padding: 0.5rem;

    &>div {
        height: 1.1rem !important;
        line-height: 1rem !important;
    }
}
.hidden {
    display: none;
}
.hljs-comment {
    color: var(--red);
}
#popover-content {
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 0 1rem var(--black);
    padding: 1rem;
}
