* {
    box-sizing: border-box;
  }
  
  .timeline-wrapper {
    position: relative;
    max-width: 100%;
    margin: auto;
    height: auto; /* Stellt sicher, dass der Wrapper wächst */
    background: transparent;
  }

  .timeline {
    position: relative;
    min-height: 100vh;
  }
  
  .timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #ccc;
    transform: translateX(-50%);
    z-index: 0;
  }
  
  .timeline-entry {
    position: absolute;
    width: 49%;
  }
  
  .timeline-entry.left {
    left: 0;
    text-align: right;
  }
  
  .timeline-entry.right {
    right: 0;
    text-align: left;
  }
  
  .timeline-content {
    position: relative;
    background: white;
    border-radius: 0.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 10px;
    margin: 10px;
    z-index: 1;
    border: 1px solid #000;
    box-sizing: border-box;
  }
  .timeline-content.timeline-entry-youtube {
    background-color: #cc181e;
    border-color: #881014;
    color: #FFF;
  }
  .timeline-content.timeline-entry-tiktok {
    background-color: #14171a;
    border-color: #000000;
    color: #FFF;
  }
  .timeline-content.timeline-entry-twitch {
    background-color: #432b6e;
    border-color: #6441a5;
    color: #FFF;
  }
  .timeline-content.timeline-entry-instagram {
    background-color: #f56040;
    border-color: #dd310c;
    color: #FFF;
  }
  .timeline-content.timeline-entry-twitter {
    background-color: #14171a;
    border-color: #000000;
    color: #FFF;
  }
  .timeline-content.timeline-entry-blog {
    background-color: #43afa9;
    border-color: #2e7874;
    color: #FFF;
  }
  .timeline-content.timeline-entry-spotify {
    background-color: #1DB954;
    border-color: #137736;
    color: #FFF;
  }
  
  .timeline-content.timeline-entry-trenner {
    background-color: var(--varired-backgroundcolor);
    border-color: var(--varired-bordercolor);
    color: #FFF;
    font-size: 20px;
    font-weight: bold;
  }

  .triangle {
    position: absolute;
    top: 1rem;
    width: 0;
    height: 0;
    border-style: solid;
  }
  
  .timeline-entry.left .timeline-entry-youtube .triangle {
    border-color: transparent transparent transparent #881014;
  }
  .timeline-entry.right .timeline-entry-youtube .triangle {
    border-color: transparent #881014 transparent transparent ;
  }
  .timeline-entry.left .timeline-entry-twitch .triangle {
    border-color: transparent transparent transparent #432b6e;
  }
  .timeline-entry.right .timeline-entry-twitch .triangle {
    border-color: transparent #432b6e transparent transparent ;
  }
  .timeline-entry.left .timeline-entry-tiktok .triangle {
    border-color: transparent transparent transparent #000000;
  }
  .timeline-entry.right .timeline-entry-tiktok .triangle {
    border-color: transparent #000000 transparent transparent ;
  }
  .timeline-entry.left .timeline-entry-twitter .triangle {
    border-color: transparent transparent transparent #000000;
  }
  .timeline-entry.right .timeline-entry-twitter .triangle {
    border-color: transparent #000000 transparent transparent ;
  }
  .timeline-entry.left .timeline-entry-instagram .triangle {
    border-color: transparent transparent transparent #dd310c;
  }
  .timeline-entry.right .timeline-entry-instagram .triangle {
    border-color: transparent #dd310c transparent transparent ;
  }
  .timeline-entry.left .timeline-entry-spotify .triangle {
    border-color: transparent transparent transparent #137736;
  }
  .timeline-entry.right .timeline-entry-spotify .triangle {
    border-color: transparent #137736 transparent transparent ;
  }
  .timeline-entry.left .timeline-entry-blog .triangle {
    border-color: transparent transparent transparent #2e7874;
  }
  .timeline-entry.right .timeline-entry-blog .triangle {
    border-color: transparent #2e7874 transparent transparent ;
  }

  .timeline-entry.left .triangle {
    right: -20px;
    border-width: 20px 0 20px 20px;
    border-color: transparent transparent transparent #0d6efd;
  }
  
  .timeline-entry.right .triangle {
    left: -20px;
    border-width: 20px 20px 20px 0;
    border-color: transparent #0d6efd transparent transparent;
  }

  @media (max-width: 768px) {
    .timeline {
      position: relative;
      height: auto !important;
      min-height: unset !important;
    }
  
    .timeline-wrapper {
      height: auto !important;
    }
  
    .timeline-entry {
      position: relative !important;
      top: auto !important;
      left: 0 !important;
      right: 0 !important;
      width: 100% !important;
      margin-bottom: 2rem;
      text-align: left;
    }
  
    .timeline-line {
      left: -10px;
    }
  
    .timeline-entry .triangle {
      left: -10px !important;
      right: auto !important;
      border-width: 10px 10px 10px 0 !important;
      border-color: transparent #0d6efd transparent transparent !important;
    }
  
    .timeline-entry.left,
    .timeline-entry.right {
      left: 0;
      text-align: left;
    }
  }