:root {
    --ci-primary: #691487;
    --height-navbar: 4.5rem;
    --univ-margin: 3rem;
}

@font-face {
    font-family: 'jetbrains-mono';
    src: url('../JetBrainsMono-Regular.ttf');
}

a {
    color: var(--ci-primary);
}

html {
    background: url("../img/dust-background.png") no-repeat fixed bottom;
    background-size: contain;
}

body {
    background-color: transparent;
}

.navbar {
    padding: 0;
    background-color: rgba(254, 254, 254, .5);
}

.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
    margin-right: 0;
}

.navbar__logo {
    height: var(--height-navbar);
    padding: 1rem;
}

.navbar-collapse {
    padding-right: 1rem;
}

.global-search {
    margin-right: var(--univ-margin);
}

.global-search__submit {
    display: none;
}

.navbar__avatar {
    max-height: 3.5rem;
    border-radius: 100%;
    margin: 0 1rem;
}

.navbar-text {
    padding-top: 1rem;
}

.super-container {
    padding: 0;
    display: grid;
    grid-template-columns: 3rem 1fr;
}

.global-nav {
    padding: 0;
    grid-column: 1;
    position: fixed;
    top: var(--height-navbar);
}

.global-nav__card-nav {
    padding: 0;
    list-style-type: none;
}

.global-nav__card-nav-item {
    display: block;
    border-radius: 0 .5rem .5rem 0;
    margin: 0.5rem 0;
    background-color: var(--ci-primary);
    writing-mode: vertical-lr;
    font-weight: bold;
}

.global-nav__link {
    display: block;
    color: white;
    transition: padding-left .3s ease;
    padding: 1.5rem .5rem;
}

.global-nav__link:hover {
    color: white;
    padding-left: 2rem;
}

.content {
    grid-column: 2;
}

.breadcrumb {
    margin-left: 4vw;
    margin-right: 4vw;
    margin-top: 1.5rem;
    background: rgba(250, 250, 250, 0.8);
    border-radius: 2rem;
    border: 1px solid #ccc;
    font-family: 'jetbrains-mono', monospace;
}

.breadcrumb img {
    height: 1.4rem;
    margin: 0 .6rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "//";
}

.landing-container, .main {
    grid-column: 2;
    padding: 3rem;
    margin-left: 4vw;
    margin-right: 4vw;
    margin-top: 1.5rem;
}

.main {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2rem;
    border: 1px solid #ccc;
}

.main > h2 {
    margin-top: 3rem;
}

h1 {
    font-weight: bold;
    color: var(--ci-primary);
}

h2 {
    font-weight: bold;
}

.tbl-toolbar {
    display: flex;
    margin-bottom: .5rem;
    padding-top: .2rem;
    padding-right: .2rem;
}

.tbl-toolbar .row-info {
    flex-grow: 99;
}

.tbl-toolbar .rows::before {
    content: " (";
}

.tbl-toolbar .rows::after {
    content: " Zeilen)";
}

.tbl-toolbar .search {
    display: inline;
    width: auto;
}

.tbl-toolbar button {
    margin-left: .5rem;
}

.tbl-toolbar .prev::after {
    content: " << ";
}

.tbl-toolbar .next::after {
    content: " >> ";
}

table [data-sort="desc"]::after {
    content: "⇩";
    display: inline;
}

table [data-sort="asc"]::after {
    content: "⇧";
    display: inline;
}

.markdown-content {
    margin-top: 3rem;
    padding-left: 1rem;
}

.markdown-content h1 {
    font-size: 2rem;
    margin-left: -1rem;
}

.markdown-content h1::before {
    display: inline-block;
    content: " ";
    background-image: url('../img/klammer.svg');
    width: .5rem;
    height: 1.8rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
    margin-right: .5rem;
}

.markdown-content h2 {
    font-size: 1.7rem;
}

.markdown-content h3 {
    font-size: 1.5rem;
}

.markdown-content h4 {
    font-size: 1.3rem;
}

.markdown-content blockquote {
    padding: 1rem .5rem 0 1rem;
    background-color: rgba(230, 230, 230, .5);
    border: 1px solid transparent;
    border-radius: 2rem;
}
