* {
  padding: 0;
  margin: 0;
}
.timeline {
  position: relative;
  height: fit-content;
  /* overflow: scroll; */
  z-index: 1;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  margin-top: 0px;
  /* padding-top: calc(-125px + 50vh); */
  width: 177px;
}
.polygon-container {
  height: 24px;
  width: 24px;
}
.timeline-content {
  height: 112px;
  position: relative;
  transform: translateZ(0px);
}
.btn {
  position: absolute;
  bottom: 0px;
  right: 0px;
  opacity: 0.5;
  transform: translate3d(50%, 50%, 0px);
  transition: opacity 0.25s ease-out;
  background: none;
  border: none;
  padding: 0.5em;
}
.timeline-year {
  display: block;
  color: white;
  position: absolute;
  bottom: 0px;
  right: 24px;
  opacity: 1;
  font-size: 60px;
  transform: translate3d(0px, 50%, 0px) scale(0.267);
  transform-origin: right center;
  transition: opacity 0.25s ease-out, transform 0.3s ease-out;
}
.timeline-year.yearActive {
  font-size: 70px;
  transform: translate3d(5px, 50%, 0px) scale(1);
  color: white;
}
.btn.active {
  opacity: 1;
}

.img {
  width: 100%;
  height: 100%;
}

.years-text {
  color: white;
  opacity: 0;
  transform: translateY(-60px);
  font: normal 70px/80px "Inter Bold";
}
.years-subText {
  color: white;
  opacity: 0;
  transform: translateY(-30px);
  text-transform: uppercase;
  font: normal 24px/34px "Inter Bold";
}
.years-bodyText {
  color: white;
  font-weight: 400;
  opacity: 0;
  transform: translateY(-40px);
  font: normal 20px/30px "Inter Regular";
}
.yearsTextAnimation {
  animation: fadeInYearsText 2s forwards;
}

.yearsSubTextAnimation {
  animation: fadeInYearssubText 1.8s forwards;
}

.yearsBodyTextAnimation {
  animation: fadeInYearsBody 2s forwards;
}
@keyframes fadeInYearsText {
  0% {
    opacity: 0;
    transform: translateY(-60px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}
@keyframes fadeInYearssubText {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}
@keyframes fadeInYearsBody {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}
.xcontent {
display: none;
}
.xcontent.activeContent {
 display: block;
}
.empty-1 {
  height: 20vh;
  background-color: #30318c;
}
.empty-2 {
  height: 40vh;
  background-color: red;
}
.bg-container {
  height: 650px;
  background-image: url("./images/img0.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  background: #00000091;
  width: 100%;
  height: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: center;
  height: 600px;
  position: sticky; /* Sticky positioning */
  top: 0; /* Keeps it at the top as the user scrolls */
  z-index: 10; /* Ensure it remains above the scrolling content */

}
.section {
  max-height: 600px;
  overflow-y: scroll; /* Enable vertical scrolling */
  overflow-x: auto; /* Allow horizontal scrolling */
  scrollbar-width: none; /* Hide scrollbar for Firefox */
  -ms-overflow-style: none;
  position: relative;
}

.section::-webkit-scrollbar {
  display: none;
}
/* Slide up animation */
.xcontent.slide-up {
  transform: translateY(100px);
  opacity: 0;
  animation: slideUp 0.8s forwards;
}

@keyframes slideUp {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Slide down animation */
.xcontent.slide-down {
  transform: translateY(-100px);
  opacity: 0;
  animation: slideDown 0.8s forwards;
}

@keyframes slideDown {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@media only screen and (max-width: 768px) {
 .section{
  justify-content: space-between;
 }
}
@media only screen and (max-width: 576px) {
  .timeline {
width: 56px;
}
.timeline-year.yearActive {
  /* display: none; */
  font-size: large;
  font-weight: bolder;

}; 

 }