#grafik{
  width: calc(100vw - 5rem);
  position: relative;
}
/* @font-face {
      font-family: "Recital";
      src: url(../../Schriften/Optimo-2505SZYFGJ/Recital/Recital-Regular/Recital-Regular.woff);
      font-weight: 400;
      font-style: normal;
    }
@font-face {
  font-family: "Recital";
  src: url(../../Schriften/Optimo-2505SZYFGJ/Recital/Recital-Italic/Recital-Italic.woff);
  font-weight: 400;
  font-style: italic;
}
    * {
      font-family: "Recital";
      box-sizing: border-box;
      font-weight: 400;
    } */
    #zeitstrahl-wrapper {
      width: 100%;
      overflow-x: scroll;
      position: relative;
    }

    #chart {
      min-width: 1024px;
      width: 100%;
      display: block;
    }

    .tooltip {
      position: absolute;
      z-index: 999;
      background-color: white;
      border: 1px solid #000000;
      padding: 5px 10px;
      border-radius: 0;
      pointer-events: none;
      font-size: 16px;
      line-height: 1.2;
      color: #000000;
      display: none;
      white-space: nowrap;
    }
    @keyframes float {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-10px); }
    100% { transform: translateY(0); }
    }
    .floating {
    animation-name: float;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
    }
    #grafik-text-container{
      display: flex;
      flex-direction: row;
    }
    #grafik-text-container h2, #grafik-text-container p{
        width: 50vw;
    }
    #filter {
    margin: 20px 0px;
    font-size: 16px;
    position: relative;
    left: 0vw;
    display: flex;
    flex-direction: row;
    gap: 36px;
    width: 100%;
    justify-content: flex-end;
    }
    .filter-item {
      margin-right: 20px;
      cursor: pointer;
      color: black;
      font-style: normal;
      position: relative;
      width: fit-content;
      white-space: nowrap;
    }
   #Raute{
    margin-right: 0px;
   }
    .filter-item.active, .filter-item:hover {
      font-style: normal;
      font-style: italic;
    }
    
    

#Kreis::before{content: url(asstes/Kreis.svg);margin-right: 8px;scale: 150%}
#Quadrat::before{content: url(asstes/Quadrat.svg);margin-right: 8px;scale: 150%}
#Dreieck::before{content: url(asstes/Dreieck.svg);margin-right: 8px;scale: 150%}
#Raute::before{content: url(asstes/Raute.svg);margin-right: 8px;scale: 150%}

#Kreis.active::before{content: url(asstes/Active-Kreis.svg);margin-right: 8px;scale: 150%}
#Quadrat.active::before{content: url(asstes/Active-Quadrat.svg);margin-right: 8px;scale: 150%}
#Dreieck.active::before{content: url(asstes/Active-Dreieck.svg);margin-right: 8px;scale: 150%}
#Raute.active::before{content: url(asstes/Active-Raute.svg);margin-right: 8px;scale: 150%}

@media (max-width: 1000px) {
  #grafik{
    height: 600px;
    overflow-y: hidden;
  }
  #chart{
    position: relative;
    height: 600px;
  }
  #filter{ 
    flex-direction: column;
    gap: 12px;
    position: absolute;
    z-index: 10;
  }
  .filter-item{
    margin: 0px;
  }
  #Alle::before{content: url(asstes/Kreis.svg);margin-right: 8px;scale: 150%; opacity: 0;}
}