:root {
    --primary: #3FB5A0;
    --secondary: #2f8b7b;
    --background: #0A0A0A;
    --background-light: #1E1E1E;
    --background-ultra-light: #2E2E2E;
    --content-text-color: #acb8b5;
}

@font-face {
  font-family: Comfortaa;
  src: url(fonts/Comfortaa/Comfortaa-VariableFont_wght.ttf);
}

@font-face {
    font-family: ShareTechMono;
    src: url(fonts/Share_Tech_Mono/ShareTechMono-Regular.ttf);
}

body {
    background-color: var(--background);
    color: var(--primary);
    font-family: Comfortaa;
    margin: 0;
    overflow: hidden;
}

a {
    text-decoration: none;
}

a, a:visited {
    color: var(--secondary);
}

a:hover, a:active {
    color: var(--primary);
}

#content {
    position: absolute;
    top: 3em;
    bottom: 3em;
    width: calc(100% - 2em);
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: stretch;
    gap: 1em;
    margin: 1em;
}

#head {
    background-color: var(--background-light);
    left: 0;
    right: 0;
    padding: 0 1em 0 1em;
    height: 3em;
    position: absolute;
    box-shadow: 0px 0px 20px;
    z-index: 1;
}
#footer {
    background-color: var(--background-light);
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0 1em 0 1em;
    height: 3em;
    position: absolute;
    box-shadow: 0px -10px 10px var(--background-light);
}

#user-section {
    margin-top: 0.8em;
    float: right;
    cursor: pointer;
}

#user-section-icon {
    font-size: 1.5em;
}

#user-name {
    line-height: 1.4em;
    vertical-align: bottom;
}

#head-title {
    font-weight: bold;
    font-size: 1.5em;
    margin-top: 0.5em;
    float: left;
    align-content: center;
    display: flex;
    gap: 1em;
}

#head-title-img {
    width: 1em;
    border-radius: 50%;
}

#content-inner-navtree {
    width: fit-content;
    white-space: nowrap;
}

#content-inner-navtree a {
    margin-left: 1em;
}

#content-inner-navtree > ul {
    padding: 0;
}

#content-inner-navtree ul {
    list-style-type: none;
}

#content-inner-navtree li {
    margin: 1em 0;
}

.text-input {
    margin: 0.5em 1em 0.5em 1em;
    display: block;
    background: var(--background);
    border: 1px solid var(--primary);
    border-right: none;
    border-top: none;
    outline: none;
    color: inherit;
    font-family: inherit;
}

.dialog-border {
    background: var(--background);
    border: 2px solid var(--secondary);
    padding: 0;
    border-radius: 2px;
}

.dialog-title {
    margin: 0 3em 0.5em 0;
    padding: 0.5em 0 0.5em 1.5em;
    display: block;
    width: calc(100% - 1.5em);
    text-align: center;
    font-size: larger;
    background-color: var(--secondary);
    color: black;
    user-select: none;
}

.dialog-content {
    width: calc(100% - 2.5em);
    padding: 0.5em;
}

.dialog-close {
    color: var(--background);
    font-weight: 900;
    margin: 0.5em;
    cursor: pointer;
    border: 1px solid var(--background);
    border-radius: 2px;
    height: 1em;
    width: calc(1em + 3px);
    text-align: center;
    padding-bottom: 3px;
    float: right
}

.dialog-close:hover {
    color: var(--primary);
    background-color: var(--background-ultra-light);
}

#content-code {
    color: var(--background-ultra-light);
    font-family: ShareTechMono;
    left: 0;
    top: 0;
    bottom: 1em;
    position: absolute;
    overflow: hidden;
    z-index: -1;
    white-space: pre;
    user-select: none;
}

#content-code::after {
    content: "_";
    animation: blink 1s step-end infinite;
}

.content-inner {
    overflow: auto;
    overflow-x: hidden;
    height: calc(100vh - 13em);
    margin: 1em;
}

#menu {
    visibility: hidden;
    position: absolute;
    right: 1em;
    top: 3em;
    z-index: 2;
    padding: 1em;
    background-color: var(--background-light);
    box-shadow: 0px 0px 10px var(--primary);
}

#menu.visible {
    visibility: visible;
}

#menu > ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

#menu > ul > li {
    cursor: pointer;
}

#dialog-change-password {
    visibility: hidden;
}

#message-container {
    top: 4em;
    margin: 1em;
    position: absolute;
    left: 20%;
    right: 20%;
    text-align: center;
    z-index: 3;
}

.message-element {
    margin: 0.2em;
    background: var(--background-light);
    padding: 1em;
    opacity: 0.8;
    border-radius: 5px;
    border: 1px solid;
    box-shadow: 0px 20px 20px var(--background-light);
}

.message-icon {
    float: left;
}

.content-window-icon {
    color: black;
    position: absolute;
    padding: 0.7em;
}

.eos-icons {
    font-size: inherit;
}

#content-term-icon {
    position: absolute;
    padding: 0.5em 0.7em;
}

#content-term-text {
    /* margin: 0 3em 0.5em 0;
    padding: 0.5em 0 0.5em 1.5em; */
    display: block;
    width: calc(100% - 1.5em);
    /* background-color: #3FB5A0;
    color: #0A0A0A; */
    user-select: none;
}

#content-term-border {
    width: calc(100% - 4px);
    margin-top: 1em;
    height: 2em;
}

#text-input-terminal {
    border: 0;
    margin-left: 2em;
    margin-top: 0.55em;
    width: -moz-available;
    width: -webkit-fill-available;
    width: fill-available;
    font-family: ShareTechMono;
}

#content-main-container {
    flex-grow: 1;
}

#content-main-out {
    height: calc(100vh - 16em - 4px);
    color: var(--content-text-color);
}

.preformatted {
    font-family: ShareTechMono;
    white-space: pre;
}

.chloe-round {
    border-radius: 50%;
}

h2, h3 {
    margin-top: 2em;
}

h1::before {
    font-family: ShareTechMono;
    color: var(--primary);
    content: '#';
    margin-right: 1em;
}

h2::before {
    color:  var(--primary);
    content: 'keyboard_arrow_right';
    margin-right: 1em;
    font-family: "eos-icons";
    font-weight: normal;
    font-style: normal;
    font-size: 24px;  /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;

    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;

    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;

    /* Support for IE. */
    font-feature-settings: 'liga';
}

h3::before {
    color: var(--primary);
    content: 'keyboard_double_arrow_right';
    margin-right: 1em;
    font-family: "eos-icons";
    font-weight: normal;
    font-style: normal;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;

    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;

    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;

    /* Support for IE. */
    font-feature-settings: 'liga';
}

h3 {
    font-size: larger;
}

h4::before {
    color: var(--primary);
    content: 'keyboard_double_arrow_right';
    margin: 0 0.5em 0 1em;
    font-family: "eos-icons";
    font-weight: normal;
    font-style: normal;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;

    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;

    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;

    /* Support for IE. */
    font-feature-settings: 'liga';
}

h4 {
    font-size: large;
}

blockquote {
    background-color: var(--background-light);
    padding: 1em;
    border-radius: 4px;
    border: 1px solid var(--background-ultra-light);
    box-shadow: 5px 5px 5px var(--background-ultra-light);
}

.no-before::before {
    content: none !important;
}

.highlight {
    margin: 2em 3em;
    display: grid;
}

.highlighttable {
    background-color: var(--background-ultra-light);
    color: var(--primary);
    font-family: ShareTecMono;
    width: calc(100% - 2em);
    display: block;
    padding: 0;
    border-radius: 4px;
    white-space: preserve;
    line-height: 1.5em;
    overflow-x: auto;
}

td.code {
    padding-left: 1em;
}

.linenos {
    background-color: var(--background);
    color: var(--content-text-color);
    padding: 0 1em;
    border-radius: 4px;
}

#content-main-out img {
    max-width: 100%;
}

#content-main-out > p {
    margin-left: 3em;
}

#content-main-out > ol {
    margin-left: 3em;
    padding-left: 1em;
}

.nav-icon {
    width: 1em;
}

@keyframes blink {
    from,
    to {
      visibility: hidden;
    }
    50% {
      visibility: visible;
    }
  }