* {
  box-sizing: border-box;
}

body {
  background-color: #dedede;
  font-family: Arial, Helvetica, sans-serif;
}

#tl {
  padding: 0 0;
}

#tl h1 {
  color: rgb(0, 96, 169);
  text-align: center;
  font-size: 3rem;
  font-weight: 200;
  margin-bottom: 20px;
}

#tl h2 {
  color: rgb(0, 96, 169);
}

#tl p.leader {
  color: rgb(0, 96, 169);
  text-align: center;
  font-size: 2rem;
  font-weight: 200;
  margin-bottom: 20px;
}

#tl .timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* Linie zeichnen */
#tl .timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background-color: white;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

/* Text links */
#tl .container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;

  /* Wichtig für die richtige positionierung der Boxen */
  margin-left: 0%;
}

/* Punkt zeichnen */
#tl .container::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: rgb(0, 96, 169);
  border: 5px solid white;
  top: 20px;
  border-radius: 50%;
  z-index: 1;
}

/* Rahmen */
#tl .content {
  padding: 1px 30px 30px 30px;
  background-color: white;
  position: relative;
  border-radius: 8px;
}

/* Bild formatieren */
#tl .timeline img {
  width: 100%;
  height: auto;
}

/* Links von der Zeitlinie */
#tl .left {
  left: 0;
}

/* rechts von der Zeitlinie */
#tl .right {
  left: 50%;
}

/* links Dreieck zum Kreis */
#tl .left::before {
  content: "";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent white;
}

/* rechts Dreieck zum Kreis */
#tl .right::before {
  content: "";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
}

/* Punkt für rechte box nach links auf die Linie setzen */
#tl .right::after {
  left: -10px;
}

/* responsive */

@media screen and (max-width: 600px) {
  #tl .timeline::after {
    left: 31px;
  }

  #tl .container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  #tl .container::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

  #tl .left::after,
  #tl .right::after {
    left: 21px;
  }

  #tl .right {
    left: 0%;
  }
}
