body[data-md-color-scheme="default"] {
	--box-shadow-lighter: rgba(14, 30, 37, 0.12);
	--box-shadow-darker: rgba(14, 30, 37, 0.32);
	--announcement-font-color: rgb(86, 86, 86);
	--version-bg-color: rgb(225, 225, 225);
	color: black;
}

body[data-md-color-scheme="slate"] {
	--box-shadow-lighter: rgba(241, 220, 213, 0.05);
	--box-shadow-darker: rgba(241, 220, 213, 0.18);
	--announcement-font-color: rgb(183, 183, 183);
	--version-bg-color: rgb(50, 50, 50);
	color: white;

	.admonition.quote {
		color: white;
	}
}

.md-nav__link--active,
.md-typeset a {
	color: #f50056 !important;
	text-decoration: none;
}

.tabbed-labels--linked a {
	color: inherit !important;
}

.md-typeset a:hover {
	text-decoration: underline;
}

.md-grid {
	/* max-width: 2000px; */
}

.katex-display {
	margin: 0.5em 0em !important;
}

.katex {
	max-width: fit-content;
}

.screenshot {
	border-radius: 0.5em;
	border: rgb(202, 202, 202) solid 1px;
	box-shadow:
		var(--box-shadow-lighter) 0px 2px 4px 0px,
		var(--box-shadow-darker) 0px 2px 16px 0px;
}

.admonition table {
	background-color: inherit !important;
}

.announcement-custom {
	font-size: 0.9em !important;
	color: var(--announcement-font-color);
}

.footer-version {
	font-family: "JetBrains Mono";
}

.changelog {
	width: fit-content;
	border-radius: 0.5em;
	background-color: var(--version-bg-color);
	padding: 0.2em 0.45em;
	margin-top: 0.5em;
	margin-bottom: 2.5em;
	font-size: 0.9em;
	font-family: "JetBrains Mono";

	.label {
		font-family: initial;
		font-weight: 600;
	}
}

.changelog-page::before {
	/* content: "Seiten-Version:"; */
	font-weight: 600;
	font-family: initial;
}

.changelog-project::before {
	/* content: "Projekt-Version:"; */
}

.version,
.date {
	display: inline-block;
}

.version {
	font-family: "Atkinson Hyperlegible Next Bold";
}

.date::before {
	content: "(";
}

.date::after {
	content: ")";
}

.schema-svg {
	width: 100%;
}

.file-zip::before {
	content: "📦 ";
}

a[href$="pdf"],
a[href$="svg"],
a[href$="drawio"],
a[href$="zip"],
a[href$="typ"] {
	border-radius: 0.5em;
	padding: 0.2em 0.35em;
	background-color: rgba(245, 0, 86, 0.15) !important;
	transition: 0.5s all;
	margin-bottom: 1em !important;
}

a[href$="svg"]:hover {
	text-decoration: none !important;
	background-color: rgba(245, 0, 86, 0.75) !important;
	color: white !important;
	transition: 0.5s all;
}

a[href$="pdf"].glightbox,
a[href$="svg"].glightbox,
a[href$="drawio"].glightbox,
a[href$="zip"].glightbox,
a[href$="typ"].glightbox {
	background-color: transparent !important;
}

li {
	margin-bottom: 0px !important;
}

.div-logos {
	display: grid;
	grid-template-columns: 1;
	justify-items: center;
}

.logo-openaccess {
	width: 75px;
}

.logo-ccby {
	width: 150px;
	margin-top: 1em;
}

.old-schema-version {
	background-color: rgba(245, 0, 86, 0.15);
	width: fit-content;
	padding: 0.15em 0.5em;
	border-radius: 0.5em;
}

.old-schema-version::before {
	content: "🛈 Dieses Schema liegt noch in der älteren Version vor und wird demnächst erst noch auf das neue Format umgestellt.";
}
