:root {
  --primary-color: #4ba060;
  --secondary-color: #3a8a54;
  --background-color: #f9f9f9;
  --text-color: #222;
  --sidebar-width: 200px;
  --header-height: 70px;
}


body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.5rem;
    line-height: 1.8;
    margin: 0;
    background-color: #f9f9f9;
    color: #222;


}
.zoom-wrapper{
  
    padding: 2rem;
    margin: 8px;
}
h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

hr {
    margin-bottom: 2rem;
}

p {
    margin-bottom: 1.5rem;
    padding-left: 2em;   /* ersetzt text-indent für bessere Zeilenumbrüche */
    text-indent: 0;      /* keine Sonderbehandlung der ersten Zeile */
    padding-right: 2em;
}
li {
    margin-bottom: 1.5rem;
    margin-left: 3em;   /* ersetzt text-indent für bessere Zeilenumbrüche */
    text-indent: 0;      /* keine Sonderbehandlung der ersten Zeile */
}
ul {
  padding-left: 2em;
}

li.lilist {
  margin-bottom: 0.5em;
}


.lilist{
    margin-bottom: 0.01em;
    margin-left: 3em;   /* ersetzt text-indent für bessere Zeilenumbrüche */
    text-indent: 0; 
}

.definition {
    font-size: 1.7rem;
    background-color: #eef6ec;
    padding: 0.5rem 1rem;
    border-left: 4px solid #4ba060;
    border-radius: 0.4rem;
    margin-left: 0;          /* Avoid extra left offset */
    padding-left: 2em;       /* ← this is your real indent */
    text-indent: 0;          /* ← don't indent first line only */
}

.cursive {
    font-style: italic;
}
.comments{
    margin-top: -1.8rem;
    margin-bottom: -1.9rem;
    font-size: 1rem;
    vertical-align: sub;
    padding: 0.1rem;
}
.smaller {
    font-size: 1rem;
    vertical-align: sub;
    color: #4ba060;
}
.monospace{
    font-family: monospace;
    font-weight: bold;
}
.indent {
    display: inline-block;
    width: 2em;
}
code {
  background-color: #c2c2c2;
  font-family: monospace;
  padding: 0.1em 0.3em;
  border-radius: 4px;
  color: #222;
}
.codecomments{
    padding-top:0.01rem;
    padding-bottom: 0.01rem;
}
.bold{
    font-weight: bold;
}
.inline-image {
  float: right;
  width: 400px;
  margin-left: 1.5em;
  margin-bottom: 1em;

}

.inline-image-jecka {
  float: right;
  width: 300px;
  margin-left: 1.5em;
  margin-bottom: 1em;

}
.jeckamybelovedwife{

  float: right;
  width: 1000px;
  margin-left: 1.5em;
  margin-bottom: 1em;


}
.jeckamybelovedwife2{

  float: right;
  width: 400px;
  margin-left: 1.5em;
  margin-bottom: 1em;


}


/*
TABLE
*/
.op-table {
  width: 80rem;            /* schmaler als vorher */
  border-collapse: collapse;
  font-size: 1.2rem;
  background-color: #fff;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  border-radius: 0.4rem;
  overflow: hidden;
  margin-bottom: 2rem;     /* Abstand zwischen Tabellen */
  margin-left: 3rem;
  
}

.op-table thead {
  background-color: #4ba060;
  color: #fff;
}

.op-table th, .op-table td {
  padding: 0.6rem 1rem;
  text-align: left;
}

.op-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.op-table tr:hover {
  background-color: #dff0d8;
}

.op-table td:first-child {
  font-family: monospace;
  font-weight: bold;
  color: #2e7d32;
}







/*header (alt glaube ich)



.sticky-header {
  margin-left: -2.5rem;
  margin-right: 0.0001rem;
  position: sticky;
  top: 0;
  width: 100%;  
  padding: 1rem 2rem; 
  background-color: #f9f9f9;
  border-bottom: 1px solid #4ba060;
  padding: 1rem 2rem;
  z-index: 1000;
  box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.3);
}


.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: none; 
  margin: 0;
}
  
  .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #4ba060;
  }
  
  nav {
    display: flex;
    gap: 1.5rem;
  }
  
  nav a {
    color: #222;
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 4px;
  }
  
  nav a:hover {
    color: #4ba060;
    background-color: #eef6ec;
  }
  /*header ende*/




























/* THE LONGEST HEADER TO EVER EXIST */

header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--background-color);
  border-bottom: 1px solid var(--primary-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  overflow-x: hidden;
  z-index: 2000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-color);
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s;
}

nav a:hover {
  background-color: rgba(75, 160, 96, 0.1);
  color: var(--primary-color);
}


/* ========== Sidebar ========== */
.sidebar {
  width: var(--sidebar-width);
  min-height: 100%;
  background-color: transparent;
  padding: 20px;
  border-right: 1px dashed rgba(75, 160, 96, 0.3);
}

.right-sidebar {
  border-left: 1px dashed rgba(75, 160, 96, 0.3);
  border-right: none;
}

/* ========== Mobile Sidebar ========== */
.mobile-sidebar {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 80%;
  max-width: 300px;
  height: 100%;
  background: #ffffff;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
  padding: 2rem 1.5rem;
  flex-direction: column;
  z-index: 1500;
  border-right: 2px solid var(--primary-color);
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.mobile-sidebar .close-btn {
  align-self: flex-end;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  margin-bottom: 20px;
  transition: color 0.2s;
}

.mobile-sidebar .close-btn:hover {
  color: var(--secondary-color);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.mobile-nav a {
  font-size: 1.2rem;
  color: var(--text-color);
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 8px;
  transition: background-color 0.3s, color 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-nav a:hover {
  background-color: rgba(75, 160, 96, 0.1);
  color: var(--primary-color);
}



.flat-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #f0f0f0; /* helles Grau */
  color: #555; /* dunkleres Grau für guten Kontrast */
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  margin-right: 2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
  text-decoration: none; /* falls als <a> verwendet */
  overflow: hidden;
}

.flat-button:hover {
  background-color: #e0e0e0; /* etwas dunkleres Grau beim Hover */
  color: var(--primary-color); /* Akzentfarbe beim Hover */
  transform: scale(1.03);
}

.flat-button:active {
  transform: scale(0.97);
}

/* ========== Burger-Menü Button ========== */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--primary-color);
  background: none;
  border: none;
}

/* ========== Responsive Design ========== */
@media (max-width: 1100px) {
  :root {
    --sidebar-width: 150px;
  }
}



@media (max-width: 1000px) {
  .menu-toggle {
    display: block;
  }
  nav {
    display: none;
  }
  .flat-button {
    display: none;  /* hier verstecken */
  }
}

/* Minimalistische Sidebar-Links */
.sidebar-link {
  display: block;
  padding: 10px 16px;
  margin-bottom: 12px;
  background-color: #f0f0f0;
  color: #333;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.sidebar-link:hover {
  background-color: #e0e0e0;
  color: var(--primary-color);
  transform: translateX(4px);
}

.sidebar-link:active {
  transform: scale(0.98);
}









.button-container {
  display: flex;
  justify-content: space-between;
  max-width: 90%;
  margin: 100px auto;
}

.nav-button {
  background-color: #4CAF50;
  border: none;
  color: white;
  padding: 12px 24px;
  font-size: 26px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.nav-button:hover {
  background-color: #45a049;
}

/* Zusätzliche Klassen für Positionierung */
.button-left {
  align-self: flex-start;
}

.button-right {
  align-self: flex-end;
}
