.timeline-desktop {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  position: relative;
  padding-top: 2.5rem;
}

.timeline-row {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  position: relative;
}

.timeline-row::before {
  content: '';
  position: absolute;
  top: -2.5rem;
  left: 35px;
  width: 3px;
  height: calc(100% + 5rem);
  background-color: #3cb2c9;
  z-index: 0;
}

.timeline-row:last-child::before {
  display: none;
}

.timeline-row .year {
  min-width: 70px;
  text-align: right;
  font-size: 1.5rem;
  font-weight: 600;
  color: #000;
  background: #fff;
  position: relative;
  z-index: 2;
  padding: 10px 0;
}

.timeline-row:last-child .year {
  color: #7f7f7f;
  background: #fff;
  padding: 10px 0;
}

.timeline-events-container {
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  position: relative;
  z-index: 1;
  padding-top: 20px;
}
.timeline-events-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.timeline-events-scroll {
  display: flex;
  gap: 40px;
  padding-bottom: 0.5rem;
  min-width: max-content;
}

.timeline-row:last-child .timeline-events-container {
  opacity: 0.5;
}

.timeline-event {
  position: relative;
  background: #fff;
  border-radius: 8px;
  padding-right: 30px;
  max-width: 300px;
  min-width: 300px;
  padding-top: 30px;
}
.timeline-desktop
  .timeline-events-container:last-child
  .timeline-events-scroll {
  padding-right: 100px;
}

.timeline-desktop .timeline-event::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  background-color: #d9d9d9;
  border-radius: 3.125rem;
}
.timeline-desktop .timeline-event::before {
  content: '';
  position: absolute;
  top: 0.438rem;
  left: 25px;
  width: 100%;
  height: 2px;
  background-color: #d9d9d9;
  border-radius: 50px;
}
.timeline-desktop .timeline-event:last-child:before {
  display: none;
}

.timeline-row:nth-last-child(2)::before {
  background: linear-gradient(
    to bottom,
    #3cb2c9 0%,
    hsla(190, 57%, 51%, 0.1) 100%
  );
}

.timeline-events-container {
  flex: 1;
  position: relative;
}

.white-shadow-container-vertical {
  position: absolute;
  top: 0;
  right: 0;
  width: 70px;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    #ffffff 100%
  );
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  pointer-events: none;
  z-index: 9;
}
.white-shadow-container-vertical::-webkit-scrollbar {
  display: none;
}

.timeline-events-scroll {
  display: flex;
  gap: 40px;
  min-width: max-content;
}
