#timeline {
  display: flex;
  column-gap: 12px;
  justify-content: space-between;
  flex: 1;
}

#timeline:hover .tl-item {
  /* width: 25%; */
}

.tl-item {
  width: 100%;
  transform: translate3d(0, 0, 0);
  position: relative;
  height: 70vh;
  color: #fff;
  overflow: hidden;
  transition: width 0.5s ease;
}

.tl-item:before,
.tl-item:after {
  transform: translate3d(0, 0, 0);
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.tl-item:after {
  background: rgba(6, 27, 43, 0.85);
  opacity: 1;
  transition: opacity 0.5s ease;
}

.tl-item:before {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 100%
  );
  z-index: 1;
  opacity: 0;
  transform: translate3d(0, 0, 0) translateY(50%);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.tl-item:hover:after {
  opacity: 0;
}

.tl-item:hover:before {
  opacity: 1;
  transform: translate3d(0, 0, 0) translateY(0);
  transition: opacity 1s ease, transform 1s ease 0.25s;
}

.tl-item:hover .tl-content {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.5s ease 0.5s;
}
.tl-item:hover .tl-title {
  top: 15%;
  transition: all 0.5s ease 0.5s;
}
.tl-item:hover .tl-bg {
  filter: grayscale(0);
}
.tl-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 1;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
.tl-content {
  transform: translate3d(0, 0, 0) translateY(25px);
  position: relative;
  z-index: 1;
  text-align: left;
  margin: 0 8px;
  top: 30%;
  opacity: 0;
}
/* .tl-content p {
  font-family: "Pathway Gothic One", Helvetica Neue, Helvetica, Arial,
    sans-serif;
  text-transform: uppercase;
  color: #1779cf;
  font-size: 1.44rem;
  font-weight: normal;
} */

.tl-bg {
  transform: translate3d(0, 0, 0);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center center;
  transition: filter 0.5s ease;
  filter: grayscale(100%);
}

@media only screen and (max-width: 768px) {
  #timeline {
    width: 85%;
    margin: 0 auto;
  }
  .tl-item:hover {
    width: 100% !important;
  }
  #timeline:hover .tl-item {
    width: 100%;
  }
  .tl-content li {
    justify-content: left;
  }
  .tl-item:hover .tl-title {
    top: 20%;
    transition: all 0.75s ease 0.5s;
  }
  .tl-content {
    top: 30%;
  }
}

/* .image-container {
  position: relative;
}

.image-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(6, 182, 212, 1);
  mix-blend-mode: screen; 
  opacity: 0.5; 
} */
