#timeline {
  min-height: 400px;
  display: grid;
  position: relative;
  align-items: center;
  
}
#timeline h2 {
	font-family: 'Avenir Next LT Pro' !important;
    margin: 0;
}
#timeline ul {
	display: flex;
	flex-direction: column;
	align-content: flex-start;
}
@media only screen and (min-width: 768px) {
#timeline ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  align-items: center;
  justify-items: center;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
  top: -24px;
  position: relative;
}
#timeline li {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding-left: 1rem;
  position: relative;
}
@media (hover: hover) {
#timeline li:hover {
  border-left: 1px solid #00427B;
}
#timeline li:nth-child(even):hover::before {
	top: calc(100% - 8px);
}
#timeline li:hover::before {
	content: '';
	width: 10px;
	height: 10px;
	left: -6px;
	top: 0;
	background: #00427B;
	position: absolute;
	border-radius: 12px;
	outline: 2px solid #B2D4F1;
}
}
#timeline h2::before {
    content: '';
    width: 10px;
    height: 10px;
    left: -6px;
    bottom: 5px;
    border: 1px solid #00427B;
    position: absolute;
}
#timeline li:nth-child(even):hover h2::before {
	top: 39px;
}

#timeline li:nth-child(odd) {
  flex-direction:column-reverse;
}
#timeline p {
  display: none;
}
.bars {
 display: block;
}
}

#timeline p {
  flex-direction: column;
  outline: 1px solid #00427B;
  padding: .5rem;
  font-family: 'Dense' !important;
  font-size: 1.2rem;
  line-height: 22px;
}

#timeline .ystart {
  border-bottom: 8px solid #00427b;
}
@media (hover: hover) {
#timeline li:hover p {
display: block;
	transition: 1s;
	animation: fadeInOut 1.2s ease-in-out;
	margin-top: 0.6rem;
	backdrop-filter: blur(2px);
	background: #FFF9;
	z-index: 1;
}
}
.lastnum {
	font-size: 3rem;
	position: relative;
	top: 12px;
	left: 2px;
	font-family: 'Dense';
}
@keyframes fadeInOut {
    0% {
        opacity: 0;
        display: none;
        max-height: 0;
    }
    100% {
        opacity: 1;
        display: block;
        max-height: 100vh;
    }
}

.bars, .microbars {
	display: none;
	margin: 5em auto;
	display: flex;
	width: 100%;
	align-items: center;
	height: 150px;
	gap: 1px;
	position: absolute;
}

.bar {
  flex: auto;
  animation: animate-bar 5s linear infinite alternate;
}

.animated-line line {
  animation: dash-move 1s linear infinite;
}

@keyframes dash-move {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -80;
  }
}


@media (max-width: 1305px),(min-width: 1201px) {
  .fs-2 {
    font-size: 1.7rem!important;
  }
}