
html {
    font-size: clamp(14px, 1.5vw, 18px);
}

body {
    font-family: 'Roboto Mono', monospace;
    color: #fff;
}


/* Roboto Mono Regular (normal) */
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto Mono'),
       local('RobotoMono-Regular'),
       url('./fonts/RobotoMono-Regular.ttf') format('truetype');
}

/* Roboto Mono Medium */
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 500;
  src: local('Roboto Mono Medium'),
       local('RobotoMono-Medium'),
       url('./fonts/RobotoMono-Medium.ttf') format('truetype');
}

/* Roboto Mono Italic (normal italic) */
@font-face {
  font-family: 'Roboto Mono';
  font-style: italic;
  font-weight: 400;
  src: local('Roboto Mono Italic'),
       local('RobotoMono-Italic'),
       url('./fonts/RobotoMono-Italic.ttf') format('truetype');
}

/* Roboto Mono Bold (normal bold) */
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 700;
  src: local('Roboto Mono Bold'),
       local('RobotoMono-Bold'),
       url('./fonts/RobotoMono-Bold.ttf') format('truetype');
}

/* Roboto Mono Bold Italic */
@font-face {
  font-family: 'Roboto Mono';
  font-style: italic;
  font-weight: 700;
  src: local('Roboto Mono Bold Italic'),
       local('RobotoMono-BoldItalic'),
       url('./fonts/RobotoMono-BoldItalic.ttf') format('truetype');
}

@font-face {
  font-family: 'Bauhaus 93';
  font-weight: normal;
  font-style: normal;
  src: url('https://www.imachination.net/fonts/Bauhaus93.ttf') format('truetype');
}



/* Grundtext */
p {
    font-size: 1rem;        /* fluid */
    line-height: 1.4;
}

p.small-red {    
  font-size: 0.8rem;   
  color: #FF0000;
  line-height: 1.5;
  margin: 0;
}

p2 {
  font-size: 0.8rem;   
  color: #FF0000;
  line-height: 0.8;
  margin: 0;
  
}

strong { font-weight: 700; }   /* nutzt Bold */
em { font-style: italic; }     /* nutzt Italic */

/* Überschriften */
h1 { font-size: clamp(22px, 4vw, 36px); font-weight: 700; }
h2 { font-size: clamp(20px, 3vw, 28px); font-weight: 600; color: #0ff; }
h3 { font-size: clamp(18px, 2.6vw, 24px); font-weight: 500; }
h4 { font-size: clamp(16px, 2.2vw, 20px); font-weight: 500; color: #FF0000;}
h5 { font-size: clamp(12px, 1.8vw, 16px); font-weight: 400; font-style: italic; }
h6 { font-size: clamp(12px, 1.8vw, 16px); font-weight: 400; text-align: right; color: #FF0000; font-style: italic;}
h7 { font-size: clamp(12px, 1.8vw, 16px); font-weight: 400; font-style: italic; color: #0ff;}

span.bauhaus {
  font-family: 'Bauhaus 93', monospace !important;  /* Fallback wie Roboto */
}
	 
span {
	font-size: 1.6rem;        /* fluid */
    line-height: 1.6;
	color: #0ff;
	 }

/* Formatierung für Minipfeile in Historie*/
.miniarrow {
	color:  rgba(255, 0, 0, 1);
	display: inline;
}
.cyan {
	color:  rgba(0, 255, 255, 0.9);
	display: inline;
}

/* Links */
a {
    text-decoration: underline;
    color: #999;
}

.container {
    max-width: 900px;        /* optional max width */
    margin: 0 auto;           /* centers horizontally */
    padding: 20px;            /* optional spacing inside */
    display: flex;
    flex-direction: column;   /* stack elements vertically */
    align-items: center;      /* center children horizontally */
    box-sizing: border-box;   /* include padding in width */
}

.container-right {
  align-items: flex-start;  /* links statt center */
  width: 70%;
   margin-left: auto; 
background: rgba(0,0,0,0.5);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
	border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}


/* Outer capsule container - no pseudo-elements */
.mod_changelanguage.block {
  display: inline-block;
  position: relative;
  padding: 0.15rem 0.75rem;
  border: 1px solid #f00;
  border-radius: 999px;
}

/* Horizontal layout inside */
.mod_changelanguage .level_1 {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.5rem; /* spacing between pills */
  
}

/* Base pill for language labels */
.mod_changelanguage .level_1 a,
.mod_changelanguage .level_1 strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  padding: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  box-sizing: border-box;
  font-family: 'Roboto Mono', monospace;
}

/* Inactive languages */
.mod_changelanguage .level_1 a {
  color: #555;
  background: transparent;


}

.mod_changelanguage .level_1 a:hover,
.mod_changelanguage .level_1 a:focus {
  color: #f00;
  background: rgba(255,0,0,0.1);

}

/* Active language: dark background + inverted text */
.mod_changelanguage .level_1 .active strong {
  background: #0ff;
  color: #000;
}

.navbar {
    width: 100%;
    display: flex;
    justify-content: center;

   
	
}

.navbar ul {
    width: 100%;             /* füllt bis max aus */
    list-style: none;
	margin: 0 auto;          /* zentriert */
    display: flex;
    justify-content: left; /
    gap: 0;
    padding: 10px 0;
	background:none;
	    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
	border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    overflow: hidden;   
}

.navbar a { 
color:white; 
text-decoration:none; 
padding:10px; 
background: rgba(0,0,0,0.5);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
	border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    overflow: hidden;   
}

/* Tabs base style */
.navbar ul.tab li a {
    display: inline-block;
    color: #CCC;
    text-align: center;
    padding: 10px 12px;
    text-decoration: none;
    transition: 0.3s;
    font-size: 17px;
    font-family: 'Roboto Mono', monospace;
    font-weight: bold;

    border: 1px solid #ccc;
    border-radius: 0;
    margin: 0;
	background-color: rgba(0,0,0,0.5);
    background-size: cover;

}

/* Hover */
.navbar ul.tab li a:hover {
    background-color: #eee;
    color: #000;
    border-color: #999;
}

/* Active tab */
.navbar ul.tab li a.active {
    background-color: #0ff;
    color: #FF0000;
    border-color: #0ff;
}

/* nur äußere Ecken abrunden */
ul.tab li:first-child a {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

ul.tab li:last-child a {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.tabcontent {
    width: 100%;
	/*margin-top: 10px;
    margin: 0px auto;
    padding: 0px;
    /*background: rgba(0, 0, 0, 0.5); */
	border-top-left-radius: 12px;
    border-top-right-radius: 12px;
	border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
	
}

.content {
    width: 100%;
	margin-top: 0px;
    margin: 30px auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
	border-top-left-radius: 12px;
    border-top-right-radius: 12px;
	border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
	overflow: hidden;
}

.excontent {
    width: 100%;
	margin-top: 10px;
    margin: 30px auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
	border-top-left-radius: 12px;
    border-top-right-radius: 12px;
	border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
	overflow: hidden;
}

.refcontent {
    width: 100%;
	margin-top: 10px;
    margin: 30px auto;
    padding: 20px;
    background: rgba(125, 125, 125, 0.5);
	border-top-left-radius: 12px;
    border-top-right-radius: 12px;
	border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
	overflow: hidden;
}


.hamburger { 
display:none; 
font-size:28px; 
padding:10px; 
background:#333; 
color:white; 
cursor:pointer; 
margin-bottom: 10px;
}
#nav-toggle { display:none; }

.top-link {
  position: fixed;      /* klebt rechts unten fest */
  bottom: 40px;
  right: 40px;
  background: rgba(0,0,0,0.7);
  color: #FF0000;
  padding: 10px 12px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 2.2rem;
  opacity: 0.8;
  transition: opacity 0.3s;
  font-family: "Roboto Mono", monospace;
}

.top-link:hover {
  opacity: 1;
  background: rgba(0,0,0,0.9);
}

img {
    max-width: 100%;
    height: auto;
	border-radius: 5px; 
}

.simple-slider {
  position: relative;
}


/* Slides */

.simple-slider .slide {
  display: none;
}

.simple-slider .slide.active {
  display: block;
}

/* Stack image and caption vertically */
.simple-slider .slide-inner {
  display: flex;
  flex-direction: column;  /* image on top, caption below */
  overflow: hidden;     /* nichts darf überstehen */
  border-radius: 10px; 
}


.simple-slider .slide-inner img {
  width: 100%;
  height: 500px;        /* feste Höhe für alle Bilder, nach Bedarf anpassen */
  object-fit: cover;    /* Bild wird beschnitten statt verzerrt */
  display: block;

}


/* Caption */

.simple-slider .slide-caption {
  position: relative;        /* no overlay */
  bottom: auto !important;
  margin-top: 1rem;
  padding: 0;              /* no overlay box */
  font-size: 0.9rem;
  color: white;             
  text-align: center;
  background: rgba(0,0,0,0.6);
   z-index: 5 !important;
}

/* Arrows */

.simple-slider .slider-prev,
.simple-slider .slider-next {
   width: 50px;
    height: 50px;
    border: none;
    background: rgba(256, 0, 0, 0.4);
    border-radius: 50% !important;  /* 50% = perfekte Ovale/Kreise */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
	font-size: 20px;
}

.simple-slider .slider-prev { left: 10px; 
color: cyan; }
.simple-slider .slider-next { right: 10px; color: cyan; }


/* Dots */

.simple-slider .slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 0.5rem;  /* space above dots */
}

.simple-slider .slider-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background: rgba(255,0,0,0.6);
  cursor: pointer;
  margin-right: 15px;  /* Adjust this value for desired spacing */
  display: inline-block; /* Ensures consistent alignment */
  
}

.simple-slider .slider-dot.active {
  background: rgba(0,255,255,0.6);
}



.caption {
    position: absolute;
    bottom: 0;
	left: 0;
	right: O; 
    background: linear-gradient(transparent 0%, rgba(0,0,0,0.9) 40%);
	text-align: left;
    color: white;
    padding: 30px 20px 20px;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 1.4;
    max-height: 80px;
   }
   
.caption p {
  font-family: Roboto Mono;
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
  
}

.caption img {
  font-family: Roboto Mono;
  font-size: clamp(12px, 1.8vw, 16px); 
  font-weight: 300; 
  font-style: italic;
  color: #FF0000;
  line-height: 1.4;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
  
}


.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.rslides img {
          display: block;
          
          float: left;
    max-height: 400px;
          width: 100%;
          border: 0;
          }

.video-slider {
    max-width: 900px; 
	margin: 20px auto;
}
.main-video iframe {
    width: 100%; height: 400px; border-radius: 8px;
}
/* Thumbs-Leiste */
.video-playlist {
    display: flex;
    gap: 20px !important; /* Abstand zwischen den Thumbs */
    overflow-x: auto;
    padding: 10px 0;
	 flex-wrap: nowrap;
}

.playlist-item {
    flex: 0 0 160px !important; /* Breite gegebenenfalls gerinter, wenn mehr Thumbs angezeigt werden sollen. Feste Breite - Abstand= verteilbare Breite für Thumbs */
	min-width: 160px !important;
    max-width: 160px !important;  /* NEU: feste maximale Breite */
    height: 140px !important;     /* NEU: feste Gesamthöhe */
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
	display: flex;
	flex-direction: column;       /* Inhalt vertikal anordnen */
	background: rgba(255, 0, 0, 0.5); 
   
}

.playlist-item.active {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Nur notwendig, wenn in der Playlist wirklich iframes sind
.playlist-item.active iframe { border: 3px solid #007cba; border-radius: 8px; }
.playlist-item iframe { width: 100%; height: 120px; border-radius: 6px; }
*/

.video-title { 
	flex: 1; 
	font-size: 14px; 
    text-align: center;
    padding: 8px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumb {
    height: 95px !important;      /* Feste Thumbnail-Höhe */
    flex-shrink: 0;               /* NEU: Höhe nicht verkleinern */
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Bild füllt Container ohne Verzerrung */
    object-position: center;
    display: block;
}



.warning { background:rgba(255,0,0,0.6); padding:10px; margin-bottom:10px; }

.lit-item {
  overflow: auto;      /* räumt Floats auf */
  margin-bottom: 1.5em;
}
.lit-item img {
  float: left;
  margin-right: 10px;
}

/* ------------------------------- */
/* MOBILE HAMBURGER MODE           */
/* ------------------------------- */
@media (max-width: 768px) {

    /* show hamburger */
    .hamburger {
        display: block;
		background: none;
        border: none;
        box-shadow: none;
		
		 /* Move hamburger to the left */
        margin: 0;
        margin-right: auto;
    }

    /* hide menu initially */
    .navbar ul {
        display: none;
		flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
        background: none;
        list-style: none;
		
		  /* Left alignment */
        justify-content: flex-start;
        align-items: flex-start;
        text-align: left;
    }

    /* show menu when checkbox checked */
    #nav-toggle:checked + .hamburger + ul {
        display: flex;
    }

    /* hide the hamburger when active */
    #nav-toggle:checked + .hamburger {
        display: none;
    }

    /* MOBILE LINK STYLE – no borders, no rounded corners */
    .navbar ul li a {
        display: block;
        width: 100%;
        padding: 14px 20px;

        /* REMOVE all desktop tab styling */
        border: none !important;
        border-radius: 0 !important;
        background: none !important;
        background-image: none !important;
        box-shadow: none !important;

        text-align: left;
        color: #fff;
        font-size: 1.1rem;
    }

    /* simple mobile separator between items */
    .navbar ul li + li a {
        border-top: 1px solid rgba(255,255,255,0.12);
    }

    /* disable hover color-change (optional) */
    .navbar ul li a:hover {
        background: rgba(0,0,0,0.6) !important;
        color: #fff !important;
        border: none !important;
    }

    /* disable desktop active style */
    .navbar ul li a.active {
        background: none !important;
        border: none !important;
        color: #00aaff !important; /* subtle highlight */
    }
    .simple-slider .slide-inner {
        display: flex !important;
        flex-direction: column !important;
    }
	
		 .simple-slider .slide-inner img {
      height: 250px; 
  }
    
    .simple-slider .slide-caption {
        position: static !important;
        bottom: auto !important;
        background: rgba(0,0,0,0.6) !important;  
        color: white !important;
        margin-top: 0.5rem !important;
        z-index: 1 !important;
    }
	



  /* slightly smaller arrows on mobile */
  .slick-prev,
  .slick-next {
    width: 36px;
    height: 36px;
  }

  .slick-prev:before,
  .slick-next:before {
    font-size: 26px;
  }

  /* keep dots close to bottom of slide */
  .slick-dots {
    bottom: 5px;
  }
}

/* Juggle with extended content in divs by option to expand*/
.content-wrap {
position: relative;
margin-bottom: 1rem;
}
.excontent {
max-height: 350px; /* collapsed height; adjust as needed */
overflow: hidden;
transition: max-height 0.75s ease;
position: relative;
}
.excontent.blur {
/* gradient blur effect at bottom to imply more content */
mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
-webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}
.content-wrap .toggle-content {
display: block;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 4px;
background: rgba(0,255,255,0.7);
border: none;
border-radius: 12px;
padding: 4px 8px;
cursor: pointer;
font-size: 20px;
font-family: 'Roboto Mono', monospace;
}
.content-wrap[data-expanded="true"] .excontent {
max-height: 1000px; / large enough to show full content; adjust as needed /
}
.content-wrap[data-expanded="true"] .toggle-content {
/*transform: translateX(-50%) rotate(180deg);*/
bottom: 6px;
/ optional label change handled in JS /
}
.content-wrap .toggle-content[aria-label="Show more"] { / default state /
/ styling when collapsed */
}
.content-wrap[data-expanded="true"] .excontent { overflow: visible; }

.video-playlist {
        gap: 6px !important;
    }
.playlist-item {
        flex: 0 0 calc(50% - 6px); /* 2 Spalten */
    }

