.timeline {
  display: flex;
  gap: clamp(55px, 8vw, 100px);
  align-items: center;

  position: fixed;
  bottom: 0;
  left: 50%;

  transform: translateX(calc(-50% - 80px));

  padding: 20px 0;

  z-index: 900;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: -90px;
  height: 3px;
  background: dimgray;
}

.timeline::after {
  content: "";
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);

  width: 0;
  height: 0;

  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid dimgray;
}

.item {
  position: relative;
  margin: 60px 0;
  transition: transform 0.1s ease;
}

.item:hover {
  transform: scale(1.05);
}

.timeline_dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  background: dimgray;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.label {
  position: absolute;
  top: -5px;
  left: 0;

  transform-origin: 0 0;
  transform: rotate(-45deg) translate(20px, -16px);

  white-space: nowrap;
  font-size: 20px;
  color: #222;

  background: #f4f1e8;

  padding: 6px 12px;

  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.15),
  inset 0 0 2px rgba(0, 0, 0, 0.08);

  border: 1px solid rgba(0, 0, 0, 0.08);

  border-radius: 2px;

  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;

  display: inline-flex;
  align-items: center;
}

.label .label_dot {
  width: 10px;
  height: 10px;
  background: #888;
  border-radius: 50%;
  margin-right: 6px;
  flex-shrink: 0;
}

.label:hover {
  transform: rotate(-45deg) translate(20px, -16px) scale(1.05);
}

.label:focus {
  outline: 2px solid #666;
  outline-offset: 3px;
}

.node {
  position: relative;
  width: 0;
  height: 0;
}

#connectorLayer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 901;
}

.item {
  position: relative;
  z-index: 1;
}

.image-container {
  position: fixed;
  right: 140px;
  top: 100px;
}

