body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: gray;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
  
  .wrapper:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(#A52A2A, #A52A2A, #FFA500, #FFA500);
    background-size: 100% 50%;
    clip-path: polygon(0 0, 100% 0, 0 100%);
  }

  .left-side {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to bottom, #A52A2A, #FFA500);
    clip-path: polygon(0 0, 100% 0, 0 100%);
  }
  
  .right-side {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to bottom left, #111111 50%, #333333 50%);
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
  }

  .menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
	  font-size: clamp(0.6rem, 1.8vh, 1.1rem);
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    z-index: 9999;
  }
  
  .menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
  }
  
  .menu li {
    display: inline;
  }
  
  .menu li.separator {
    margin-left: 10px;
    margin-right: 10px;
    border-right: 1px solid white;
  }
  
  .menu a {
    text-decoration: none;
    color: white;
    padding: 5px;
  }
  
  .menu a:hover {
    color: orange;
  }

.rounded-div1 {
    /*height: 20vh;*/
    width: 30%;
    min-width: 300px;
    margin-left: 2vh;
    margin-right: 2vh;
    margin-top: 1vh;
    margin-bottom: 2vh;
    padding-bottom: 10px;
    background-color: lightpink;
    border-radius: 0.7vh;
    overflow: hidden;
    z-index: 2;
}

.rounded-div2 {
  /*height: 20vh;*/
  width: 30%;
  min-width: 300px;
  margin-left: 2vh;
  margin-right: 2vh;
  margin-top: 1vh;
  margin-bottom: 2vh;
  background-color: lightgoldenrodyellow;
  border-radius: 0.7vh;
  overflow: hidden;
  z-index: 2;
}

.rounded-div3 {
  /*height: 20vh;*/
  margin-left: 2vh;
  margin-right: 2vh;
  margin-top: 1vh;
  margin-bottom: 2vh;
  background-color: lightgreen;
  border-radius: 0.7vh;
  overflow: hidden;
  z-index: 2;
}

.rounded-div4 {
  /*height: 20vh;*/
  margin-left: 2vh;
  margin-right: 2vh;
  margin-top: 1vh;
  margin-bottom: 2vh;
  background-color: rgb(171, 223, 255);
  border-radius: 0.7vh;
  overflow: hidden;
  z-index: 2;
}

.rounded-div5 {
  /*height: 20vh;*/
  margin-left: 2vh;
  margin-right: 2vh;
  margin-top: 1vh;
  margin-bottom: 2vh;
  background-color: rgb(130, 243, 215);
  border-radius: 0.7vh;
  overflow: hidden;
  z-index: 2;
}

.rounded-div6 {
  /*height: 20vh;*/
  margin-left: 2vh;
  margin-right: 2vh;
  margin-top: 1vh;
  margin-bottom: 2vh;
  background-color: rgb(130, 243, 215);
  border-radius: 0.7vh;
  overflow: hidden;
  z-index: 2;
}

#typewriter-header {
    position: absolute;
    top: 0;
    left: 70px;   /*wird überschrieben bei Mobile */
    width: calc(100% - 75px);   /*wird überschrieben bei Mobile */
    padding-left: 5px;
    padding-top: 1.2vh;
    padding-bottom: 1.2vh;
    background-color: rgba(0, 0, 0, 0.6);
    font-family: monospace;
	  font-size: clamp(0.8rem, 2.8vh, 1.5rem);
    color: white;
    border-color: white;
    border-width: 1px;
    text-align: center;
  }

  #head-container {
    position: absolute;
    top: 11vh;
    left: 10%;
    width: 80%;
    display: none;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
  }

  #additional-container {
    position: absolute;
    top: 26vh;
    left: 10%;
    width: 80%;
    display: none;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
  }
  
  .centered-image {
    text-align: center;
  }
  
  .centered-image img {
    display: inline-block;
    opacity: none;
    background-color: black;
    opacity: inherit;
  }

  h2.h2head{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 2.5vh;
    font-size: clamp(0.6rem, 2.3vh, 1.2rem);
    color: black;
    margin: 0;
    padding: 5px;
    text-align: center;
  }

  h1.h1div1{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: clamp(0.8rem, 1.8vh, 1.2rem);
    margin: 0;
    padding: 4px;
  }

  h2.h2div1{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: clamp(0.8rem, 1.6vh, 1.2rem);
    margin: 0;
    padding: 4px;
  }

  h1.h1div2{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: clamp(0.6rem, 1.8vh, 1.2rem);
    margin: 0;
    padding: 4px;
  }

  h2.h2div2{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: clamp(0.6rem, 1.6vh, 1.2rem);
    margin: 0;
    padding: 4px;
  }

  h1.h1div3{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: clamp(0.6rem, 1.8vh, 1.2rem);
    margin: 0;
    padding: 4px;
  }

  h2.h2div3{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: clamp(0.6rem, 1.6vh, 1.2rem);
    margin: 0;
    padding: 4px;
  }

  h1.h1div4{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: clamp(0.6rem, 1.8vh, 1.2rem);
    margin: 0;
    padding: 4px;
  }

  h2.h2div4{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: clamp(0.6rem, 1.6vh, 1.2rem);
    margin: 0;
    padding: 4px;
  }

  h1.h1div5{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: clamp(0.6rem, 1.8vh, 1.2rem);
    margin: 0;
    padding: 4px;
  }

  h2.h2div5{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: clamp(0.6rem, 1.3vh, 1.2rem);
    margin: 0;
    padding: 4px;
  }

  h1.h1div6{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: clamp(0.6rem, 1.8vh, 1.2rem);
    margin: 0;
    padding: 4px;
  }

  h2.h2div6{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: clamp(0.6rem, 1.3vh, 1.2rem);
    margin: 0;
    padding: 4px;
  }

  p.pdiv{
      font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
      font-size: 1.5vh;
      margin: 0;
      padding: 5px;
      pointer-events: none;
  }

  .imgdiv{
    padding-left: 2vh;
    padding-top: 2vh;
    width: 4vh;
    height: 4vh;
    pointer-events: none;
  }

/* .imgul siehe unten */



table.ki img.imgtable {
  max-height: 200px; /* Maximale Höhe des Bildes innerhalb der Tabelle */
  width: auto; /* Das Seitenverhältnis des Bildes bleibt erhalten */
  display: block; /* Verhindert vertikalen Abstand unter dem Bild */
}

table.seg img.imgsegtable {
  max-height: 200px; /* Maximale Höhe des Bildes innerhalb der Tabelle */
  width: auto; /* Das Seitenverhältnis des Bildes bleibt erhalten */
  display: block; /* Verhindert vertikalen Abstand unter dem Bild */
  border-color: #111111;
  border-style: solid;
  border-width: 1px;
}

  label.labelzaehl{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 1.6vh;
    margin: 15px;
    padding: 10px;
  }

  meter.meterstrecke{
    width: 100px;
  }

  dl {
    display: flex;
    background-color: white;
    flex-direction: column;
    position: relative;
    margin: 20px;
  }
  
  dt {
    align-self: flex-start;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: clamp(0.6rem, 1.6vh, 1.2rem);
    display: block;
    padding-left: 2%;
  }
  
  .text {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: clamp(0.6rem, 1.6vh, 1.2rem);
    display: flex;
    align-items: center;
    height: 30px;
    width: 40%;
    background-color: white;
    position: absolute;
    left: 5%;
    justify-content: flex-end;
  }

  .percentage {
    font-size: .8em;
    line-height: 1;
    width: 40%;
    height: 30px;
    margin-left: 50%;
    background: repeating-linear-gradient(
    to right,
    #ddd,
    #ddd 1px,
    #fff 1px,
    #fff 10%
  );
  }
  
  .percentage:after {
      content: "";
      display: block;
      background-color: #3d9994;
      width: 50px;
      margin-bottom: 10px;
      height: 90%;
      position: relative;
      top: 50%;
      transform: translateY(-50%);
      transition: background-color .3s ease;
    }

.percentage-12:after {
  width: 26%;
}

.percentage-18:after {
  width: 36%;
}

table.ki {
  border-collapse: collapse;
  /*border-style: dotted;*/
  background-color:#fbfbfb;
  width: 95%;
  margin: 2%;
}

table.seg {
  border-collapse: collapse;
  /*border-style: dotted;*/
  background-color:lightgray;
  width: 95%;
  margin: 2%;
}

table.mail {
  border-collapse: collapse;
  background-image: url(ki-mailbox_k.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  overflow: hidden;
  width: 95%;
  margin: 2%;
}

td.tdki {
  border-style: none;
}

td.tdseg {
  border-style: none;
}

table.geo {
  border-collapse: collapse;
  width: 95%;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-size: clamp(0.6rem, 1vh, 1.2rem);
  margin: 1%;
}

.geo th, td {
  border: 1px solid black;
  padding: 5px;
  text-align: center;
}

.geo td.tdgreen{
  background-color:forestgreen;
}

.geo th.header {
  /*background-color: #f2f2f2;*/
  white-space: nowrap;
  vertical-align: bottom;
  text-align: left;
  position: relative; /* Hinzugefügt */
}

.geo th.header:before {
  content: '';
  display: inline-block;
  vertical-align: bottom;
  height: 100%; /* Höhe der gedrehten Zelle */
  width: 1px; /* Breite der gedrehten Zelle */
  background-color: transparent;
}

.geo th.header span {
  display: inline-block;
  white-space: nowrap;
  transform: rotate(-90deg);
  transform-origin: left bottom;
  position: absolute;
  bottom: 45%; /* Ausrichtung am unteren Rand */
  left: 16px; /* Ausrichtung am linken Rand */
}

/* Zellenbreite anpassen */
.geo th, td {
  width: 20px; /* Beispielbreite */
}



ul.grid-list {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-size: clamp(0.6rem, 1.4vh, 1.7rem);
  list-style-type: none; /* Verwendet "none", da die Markierung durch das Bild erfolgt */
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 10px;
  padding-left: 2vh;
}

ul.grid-list li {
  display: flex; /* Hinzugefügt, um flexibles Layout zu verwenden */
  align-items: center; /* Hinzugefügt, um Bild und Text zu zentrieren */
}

.imgul {
  width: 2vh;
  height: 2vh;
  margin-right: 5px; /* Abstand zwischen Bild und Text */
  pointer-events: none;
}

ul.grid-list li span {
  display: inline-block;
  text-align: left;
}

span.spanmail {
  color: #fbfbfb;
}

/*das Menü */
/* Ihre vorhandenen CSS-Stile hier */

/* Menü-Icon-Stile */
.menu-icon {
  position: fixed;
  top: 5px;
  left: 10px;
  cursor: pointer;
  z-index: 9998;
}

.barwhite {
  width: 50px;
  height:9px;
  border-radius: 2px;
  background-color: white;
}

.barwhitemenu {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-size: 0.7rem;
  width: 50px;
  height: 15px;
  border-radius: 0;
  background-color: white;
  text-align: center;
}

.bargray {
  width: 50px;
  height: 5px;
  border-radius: 2px;
  background-color: rgba(128, 128, 128, 0.5);
}

.menu-container {
  position: fixed;
  top: 10vh;
  left: -300px; /* Menü ist standardmäßig ausgeblendet */
  width: 300px;
  /*height: 40%;*/
  background-color: lightyellow;
  border-radius: 10px;
  transition: left 0.3s ease-in-out;
  z-index: 9999;
}

.menu-content {
  padding: 20px;
}

.menu-content ul {
  list-style-type: none;
  padding: 0;
}

.menu-content li {
  margin-bottom: 10px;
}

.menu-content a {
  text-decoration: none;
  color: black;
  font-size: 18px;
}

li.li_erste{
  margin-left: 10px;
}

li.li_zweite{
  margin-left: 20px;
}

li.li_head{
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-size: clamp(0.6rem, 2vh, 3rem);
  color:black;
}

.menu-container a {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-size: clamp(0.8rem, 1.6vh, 2rem);
  text-decoration: none;
  color: black;
  padding: 5px;
}

.menu-container a:hover {
  color: orange;
}
