@font-face {
    font-family: 'DINOT'; /*a name to be used later*/
    src: url("/static/DINOT.otf"); /*URL to font*/
}
@font-face {
    font-family: 'DINOT-Bold'; /*a name to be used later*/
    src: url("/static/DINOT-Bold.otf"); /*URL to font*/
}

body {
	background-color: var(--main-background);
	background-size: cover;
	background-position: center;
	color: var(--text);
	font-family: DINOT;
	margin: 0;
	width: 100%;
	height: 100%;
}

div.main {
	min-height: calc(100vh - 70px - 4rem);
	height: 100%;
}

.center-child {
	display: grid;
	height: 90vh;
}
div.flex{
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: center;
}
.headerwiki{
	background: var(--header-button-active);
}
.wiki-content {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 1rem;
    box-sizing: border-box;
	overflow-y: auto;
}
.main {
	height: 100vh;
    display: flex;
    justify-content: center;
    padding: 2rem;
}
.wiki-btns {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  align-items: center;
}
.wiki-btns form {
  margin: 0;
}
.eingabefeld{
	background: var(--header);
	border: none;
	padding: 8px;
	border-radius: 8px;
}
#title{
	width: calc(100% - 16px);
}
.search{
	margin-left: -16px;
	margin-bottom: 16px;
	width: 200px;
	margin-right: 5px;
}
.wikibtn{
	background: var(--header-button);
	border: none;
	padding: 8px;
	border-radius: 8px;
	cursor: pointer;
}
.wikibtn:hover{
	background: var(--header-button-hover);
}
.bottom{
	height: 20px;
	width: 100%;
	background: var(--main-background);
	overflow: hidden;
}
.result-snippet {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}
.result-snippet .highlight{
	font-family: DINOT-Bold;
}
.wiki-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 100%;
}

.wiki-header form {
	flex-grow: 1;
	padding-left: 1em;
}

.wiki-header .wiki-anzahl {
	margin: 0;
	color: var(--text-gray);
	font-family: DINOT;
	font-size: 0.9em;
	margin-bottom: 18px;
}
.suchleiste{
	width: calc(100% - 82px);
}
table {
  border-collapse: collapse;
  width: 100%;
}
table, th, td{
	border: 1px solid var(--text)
}
th {
  background-color: var(--header);
  font-family: DINOT-Bold;
}
.wiki-logo{
	margin-bottom: 12px;
	margin-right: 8px;
}
.CodeMirror {
  height: calc(100vh - 420px);
  width: 100%;
  border-radius: 8px;
}
