html {
	position: relative;
	min-height: 100%;
}

body {
	/* Padding top for navbar */
	padding-top: 56px;
	/* Margin bottom for footer height */
	margin-bottom: 60px;
}

section {
	padding: 150px 0;
}

img {
	max-width: 100%;
}


pre,
code {
	background: #f8f8f8;
	color: #333;
}

pre {
	border-left: 2px solid #ccc;
	padding: 10px;
}

code {
	display: inline-block;
	padding: 0 0.5em;
	line-height: 1.4em;
	border-radius: 3px;
}

table {
	empty-cells: show;
	border: 1px solid #cbcbcb;
	width: 100%;
	font-size: 0.9em;
	margin-bottom: 1rem;
}

thead {
	background-color: #e0e0e0;
	color: #000;
	text-align: left;
	vertical-align: bottom;
}

tr {
	display: table-row;
	vertical-align: inherit;
	border-color: inherit;
}

th,
td {
	padding: 0.5em 1em;
}

h1.title,
h2.title {
	font-size: 2.3rem;
}

blockquote {
	padding: 10px 20px;
	margin: 0 0 20px 20px;
	border-left: 5px solid #eee;
	font-style: italic;
}

/* Navbar */
img.nav-svg-icon {
	width: 1rem;
	height: 1rem;
	padding-bottom: 2px;
}

.nav-link {
	font-size: 0.8em;
}

/* Footer */
footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 60px;
	line-height: 60px;
	font-size: 0.8em;
}

.mini-logo {
	height: 22px;
	padding-bottom: 5px;
}

/* Plugins */
.plugin {
	margin-top: 3rem;
}

.plugin-label {
	font-size: 1em;
	text-transform: uppercase;
}

.plugin ul {
	list-style: none;
	padding: 0 0 0 10px;
}

.bi {
	margin-right: .5rem !important;
}

/* Custom */
.navbar-brand, h1, h2, h3, h4, h5, h6 {
  font-family: 'Libre Baskerville', serif;
}

body {
  font-family: 'Lora', system-ui, -apple-system, serif;
  line-height: 1.7;  /* etwas mehr Zeilenabstand für Serifen */
}

.text-muted a {
  color: #6c757d !important;
}

/* Kleinere Basis-Schriftgröße auf Mobile */
@media (max-width: 767.98px) {
  h1, .h1, h1.title {
    font-size: 1.8rem;
  }
  
  h2, .h2, h2.title {
    font-size: 1.5rem;
  }
  
  h3, .h3 {
    font-size: 1.3rem;
  }
  
  h4, .h4 {
    font-size: 1.2rem;
  }
  
  h5, .h5 {
    font-size: 1.1rem;
  }
  
  h6, .h6 {
    font-size: 1rem;
  }
}

/* Light Mode (Standard) */
.navbar {
  background-color: #fff;
  border-bottom-color: rgba(0, 0, 0, 0.125) !important;
}

/* Für die Social Media Icons */
.nav-svg-icon {
  filter: invert(1);
}

.navbar .navbar-toggler {
  color: rgba(0,0,0,.5);
  border-color: rgba(0,0,0,.1);
}

.navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
  .navbar {
    background-color: #212529;
    border-bottom-color: rgba(255, 255, 255, 0.125) !important;
  }
  
  .navbar .navbar-brand,
  .navbar .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
  }
  
  .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.125);
  }
  
  /* Für die Social Media Icons */
  .nav-svg-icon {
    filter: unset;
  }
  
  .navbar .navbar-toggler {
    color: rgba(255,255,255,.5);
    border-color: rgba(255,255,255,.1);
  }

  .navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
}

/* Light Mode (Standard) */
body {
  background-color: #fff;
  color: #212529;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #212529;
    color: #f8f9fa;
  }
  
  /* Text-Klassen anpassen */
  .text-dark,
  .text-dark:hover,
  .text-dark:focus,
  .text-dark:active,
  a.text-dark,
  a.text-dark:hover,
  a.text-dark:focus,
  a.text-dark:active {
    color: #f8f9fa !important;
  }
  
  .text-body {
    color: #fff !important;
  }
  
  /* Cards */
  .card {
    background-color: #212529;
    border-color: rgba(255, 255, 255, 0.125);
  }
  
  /* Navbar */
  .navbar-light {
    background-color: #343a40 !important;
  }
  .navbar-light .navbar-brand,
  .navbar-light .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
  }
  
  /* Standard Links */
  a {
    color: #6ea8fe;
  }
  a:hover {
    color: #8bb9fe;
  }
  
  /* Tabellen */
  .table {
    color: #f8f9fa;
  }
  .table-hover tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.075);
  }
  
  /* Forms */
  .form-control {
    background-color: #343a40;
    border-color: rgba(255, 255, 255, 0.125);
    color: #f8f9fa;
  }
  .form-control:focus {
    background-color: #495057;
    color: #f8f9fa;
  }
}
