:root {
  --primary-color: black;
  --secondary-color: linen;
  }

*{
	font-family: Computer Modern;
	color: var(--primary-color);
	box-sizing: border-box;
/*	margin: 0;*/
	padding: 0;
	font-size: 24px;
	text-decoration-thickness: 1px !important;
	text-underline-offset: 3px !important;
	text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
  font-kerning: normal;

}

.wrapper{
	padding: 0 3px 0 3px;
}

body, hr, pre{
	line-height: 1.2rem;
	font-weight: normal;
	word-spacing: -3px;
}

body, h1, h2{
	margin: 0;
}

.margin{
	margin: 1rem 0 !important;
}

a{
	text-decoration: underline;

}

i, h1, h1 > a{
	font-weight: normal;
	text-decoration: none;
}

h3{
	text-transform: uppercase;
	margin: 0;
	font-weight: normal;
}

.post > h1 > a {
	text-decoration: underline;
}

.minutes > p {
	display: inline;
	margin: 0;
}

h5{
	font-size: 1rem;
	font-weight: normal;
}

.sticky{
	position: sticky;
  top: 0px; 
  left: 0px;
  padding: 1px 3px 0px;
  z-index: 1000;
	margin: 1rem 0 -1.225rem; 
/*  box-shadow: 0px 0px 10px linen;*/
  display: table;
  background-color: linen;

}

iframe{
	display: block;
		width: auto;
    height: 95vh;
    border: none;
  }

 .image{
 	   height: auto;
 	   padding-bottom: 5px;
 }


main{
	position: relative;
}

section{
	padding-right: 80px;
}

s{
	font-size: inherit;
}

h2{
	font-weight: normal;
	text-decoration: underline;
}

h5 > a{
	font-size: inherit;
	text-decoration: inherit;
	margin: 0;
}

p, ol{
	margin: 1.2em 0 1.2em;

}

a + p{
	display: inline;
}

.links{
	display: block;
	overflow-x: hidden;
}

.link.content{
	padding-left: 3px;
	font-size: 0.5rem !important;
}




.link > p, .link > p > a, .link > p > em, .link > p > a > em{
	margin: 0;
	font-size: 0.75rem;
	line-height: 1rem;
}

.centered{
	display: flex;
	flex-direction: column;
	align-items: center;
}



.post > p{
	text-align: left;
}

.minutes > p > a{
	margin: 0 0 1.2em;
}

.img{

}

.minutes > li{
	list-style-type: none;
}

.assignment > ul,
.assignment > li{
	list-style-type: initial;
}


.post > ol{
	padding-left: 24px;
}

.posts{
	display: flex; 
/*	overflow-x: auto;*/
  gap: 20px;
}

.list{
	display: flex;
	flex-wrap: wrap;

}

.category {
	display: flex;
/*	overflow-x: hidden;*/
/*	flex-wrap: wrap;*/
padding-right: 3px;
}


.linklist > .post > p{
	margin-top: 0;
}

.linklist{
	flex-wrap: wrap;
}

.linklist > .post, .linklist > .post > p{
	flex-basis: auto; /* Passt sich der Größe des Inhalts an */
  max-width: 100%; /* Begrenze die Breite auf den verfügbaren Raum */
  white-space: normal; /* Erlaubt Umbrüche im Text */
  word-wrap: break-word; /* Lange Wörter umbrechen */
  overflow-wrap: break-word; /* Unterstützt das Umbruchverhalten */
}

.submissions{
	display: flex;
	flex-direction: row;
	gap: 20px;
}



.submission-00{
	text-align: center;
}



.assignment.post{
	flex: 0 0 640px;
	word-wrap: break-word;
/*  overflow-wrap: break-word;*/
  white-space: normal;  
}



.submissions > .post{
	flex: inherit;
}
.submissions > .post > img{
	text-align: center;
	margin: 10px 0;
	word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;  
}

.category > .post > p, .category > p {
	margin: 0;
}



.post-1{
		flex: 0 0 250px;
		visibility: hidden;
}

.pattern{
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: -10;
	padding: 0px;
	background-image:  linear-gradient(var(--primary-color) 0.5px, transparent 0.5px), linear-gradient(to right, var(--primary-color) 0.5px, var(--secondary-color) 0.5px);
	background-size: 10.025vw 9vh;
}

.strikethrough{
	text-decoration: striketrough;
}

.meta{
	position: fixed;
	right: 3px;
	top: -2.5px;
	text-align: right;
}

.blur{
	filter: blur(4px);
  user-select: none;
  pointer-events: none;
  color: red !important;
}

 
.submissions > .post > p > img{
	max-width: 200px;

}

.submission-00 > p > img{
	width: 300px;

}

.added_by{
	display: inline;
	font-size: 0.7rem;
	vertical-align: super;
	letter-spacing: .5px;
}

pre, code{
	font-family: "Courier New", monospace;
	background-color: linen;
	display: inline;
	font-size: .9rem;
}

p:empty {
  display: none;
}

.no-underline{
	text-decoration: none !important;
}

.hover-link::before {
	content: none;
    position: relative;
    display: inline-block;
    text-decoration: none;
    background-color: linen;
/*    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: auto; /* Standardbreite */
    height: auto; /* Standardhöhe */
    z-index: 0;
}

.hover-link:hover::before {
	content: "";
	position: fixed;
		width: 80%;
    height: 80%;
    object-fit: cover; 
    background-image: var(--background-image);  /* Verwende die CSS-Variable für das Bild */
    background-position: center;  /* Zentriere das Bild */
    z-index: -1;  /* Stelle sicher, dass das Bild über anderen Elementen liegt */

}

#login{
	position: fixed;
	bottom: 3px;
}

@media screen and (max-width: 900px){
	*{
		font-size: 22px;
	}
	.meta, .meta > h1, .meta > h1 >i{
		position: relative;
		font-size: .65rem;
		padding: 3px 2px 0px;
		left: 0;
		text-align: left;
	/*font-weight: 900;*/
		letter-spacing: .5px;
	}
	.sticky{
    margin: 1rem 0;
  }

	.post-1 {
		display: none;
	}

}
