:root {
	--primary: rgba(135, 206, 250, 1);
	--weiß: rgba(255, 255, 255, 1);
	--blau: rgba(51, 131, 255, 1);
	--dunkelblau: rgba(0,51,153,1);
	--schwarz: rgba(0, 0, 0, 1);
	--rot: rgba(128, 0, 0, 1);
  box-sizing: border-box;
}

main {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 5px 20px auto;
	margin-top: 100px;
}

.navi {
	display: flex;
	flex-direction: column; /* Änderung von row auf column für vertikale Anordnung */
	grid-column: 1/4;
	text-align: center;
	max-height: 0;
	overflow: hidden;
	transition: all ease-in-out 0.4s;
	-o-transition: all cubic-bezier(.19, 1, .22, 1) 0.4s;
	-webkit-transition: all ease-in-out 0.4s;
}
.nav-checkbox input[type=checkbox] ~ .navi { max-height: 0; }
.nav-checkbox input[type=checkbox]:checked ~ .navi {
	height: auto;
	max-height: 400px;	
}
nav li { padding: 0; }
nav li:last-child { margin-right: 0; }
nav li a {
	font-size: 18px;
	display: block;
  transition: color 1.5s !important;
	background-color: var(--blau) !important;
	color: var(--weiß);
	text-shadow: none;
	box-shadow: none;
	padding: 10px;
}
nav ul li a::before, nav ul li a::after {
	transform: none;
	background: none;
	box-shadow: none;
}
nav ul li a:hover {
	background-color: var(--dunkelblau) !important;
  color: var(--rot);
	text-shadow: none;
}
	
/* HAMBURGER MENÜ */
.hamburger {
  display: block;
  position: absolute;
  top: 7px;
  right: 20px;
  height: 30px;
  width: 30px;
	padding: 5px;
  cursor: pointer;
  transition: all 1s cubic-bezier(.19, 1, .22, 1);
}

.line { /* Alle drei Linien */
	background-color: var(--weiß);
  position: absolute;
  display: block;
  height: 2px;
  border-radius: 5px;
  left: 0;
	top: 5px;
  transition: all .6s cubic-bezier(.5, .1, 0, 1);
}
.line-1 {
  top: 15px;
	left: 10px;
	width: 20px;
	background-color: var(--weiß);
	/* background-color: rgba(0, 0, 0, 1); */ /* Schwarz */
}
.line-2 {
  top: 22px;
	left: 10px;
	width: 20px;
  transform: translateX(0px);
  -webkit-transform: translateX(0px);
	background-color: var(--weiß);
	/* background-color: rgba(255, 0, 0, 1); */ /* Rot */
}
.line-3 {
  top: 29px;
	left: 10px;
	width: 20px;
	background-color: var(--weiß);
	/* background-color: rgba(255, 206, 0, 1); */ /* Gold */
}

input[type=checkbox]:checked ~ label .line-1 {
	transform: translateY(7px) rotate(-135deg);
	background-color: var(--rot);
  height: 3px;
}
input[type=checkbox]:checked ~ label .line-2 {
	background-color: rgba(0, 128, 0, 1);
  opacity: 0;
}
input[type=checkbox]:checked ~ label .line-3 {
	transform: translateY(-7px) rotate(135deg);
	background-color: var(--rot);
  height: 3px;
}

/* ZEITSTRAHL ZUR BIOGRAFIE */
.zeitstrahl {
	width: 100% !important;
	border: 0;
}
.zeitstrahl:before {
	left: 10px;
	width: 1px;
}
.zeitstrahl-block {
	width: 100%;
	margin-bottom: 30px;
}
.zeitstrahl-feld:nth-child(even) {
	float: none;
	direction: ltr;
	text-align: left;
}
.zeitstrahl-feld:nth-child(odd) {
	float: none;
	direction: ltr;
	text-align: left;
}
.zeitstrahl-feld:nth-child(odd) .zeitstrahl-inhalt {
	direction: ltr;
	float: left;
	text-align: left !important;
}
article.kalender {
	min-width: 100%;
	max-width: 100%;
	width: 100%;
}

/* ERFOLGSTABELLE */
.erfolge table, .erfolge thead, .erfolge tbody, .erfolge th, .erfolge td, .erfolge tr {
	display: block;
}
.erfolge thead tr {
	position: absolute;
	top: -9999px;
	left: -9999px;
	background-color: none !important;
}
.erfolge tbody { 
	padding-top: 20px; 
}
tr:hover {
	background: none;
	transition: none;
}
.erfolge tr { 
transition: none; 
background-color: none !important; 
}
.erfolge tr:hover { 
	background-color: none !important; 
}
.erfolge td {
	border: none;
	border-bottom: 1px solid #eee;
	position: relative;
	padding-left: 50%;
	white-space: normal;
	text-align: left;
	transition: background-color .5s;
}
.erfolge td:before {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
}
.erfolge td:before { 
    content: attr(data-title); 
}
.erfolge td:hover { 
    background-color: rgba(135, 206, 235, 1); 
}


/***** PORTFOLIO *****/
article.portfolio {
	min-width: 100%;
	max-width: 100%;
	width: 100%;
}
.portfolio-item {
	flex-direction: column;
	word-wrap: break-word;
	margin: 15px 0 0 0;
}
.portfolio-detail {
	flex-direction: column;
}
.portfolio-detail:not(:last-child) {
	border-bottom: 1px solid var(--himmelblau); /* Linie zwischen einzelnen details */
	padding: 10px; /* Abstand zur Linie */
}
.detail-name, .detail-beschreibung, .detail-bewertung {
	width: 100%;
	word-wrap: break-word;
}
.detail-bewertung {
	text-align: center; /* Zentriert das Rating-Image */
	justify-content: center; /* Zentriert das Rating-Image horizontal */
}
.detail-bewertung img {
	display: block;
	margin: 0 auto; /* Zentriert das Rating-Image */
	vertical-align: middle;
	text-align: center;
}

/* Verstecke die Beschreibungsspalte */
table.portfolio td:nth-child(2) {
	display: none;
}
table.portfolio th:nth-child(2) {
	display: none;
}    

/* Verstecke die Beschreibungsspalte */
table.biografie td:nth-child(3) {
	display: none;
}
table.biografie th:nth-child(3) {
	display: none;
}    


/* PDF-Datei richtig anzeigen */
/* Anpassungen für Mobilgeräte */
@media screen and (max-width: 768px) {
	.pdf-viewer {
		width: 700px;
		height: 100%; /* Weitere Reduzierung der Höhe für kleinere mobile Bildschirme */
	}
}

@media screen and (max-width: 480px) {
	.pdf-viewer {
		width: 280px;
		height: 100%; /* Weitere Reduzierung der Höhe für kleinere mobile Bildschirme */
	}
}