/* Timeline Slider Styles */
.timeline-wrapper {
  height: 81vh;
}
.slider-wrapper {
  width: 100%;
  height: 100%;
  position: relative !important;
  overflow: hidden;
}
.slider-content {
  width: 100%;
  height: 100%;
}
.slider-item {
  background-size: cover !important;
  width: 100%;
  height: 100%;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: all ease-in-out 0.4s;
}
.slider-item.active {
  opacity: 1 !important;
}
.slide-caption {
  width: 45%;
  padding-bottom: 150px;
  color: #fff;
  text-align: center;
  opacity: 0;
  transform: translateX(-200px);
  transition: all ease-in-out 0.8s;
  z-index: 2;
}
.slider-item.active .slide-caption {
  opacity: 1;
  transform: translateX(0);
}
.slide-caption h3 {
  background-color: #F36C31;
  color: #fff;
  height: 20%;
  font-weight: bold;
  position: absolute;
  width: 100%;
}
.slide-year {
  font-size: 2rem;
  font-weight: bold;
  border-bottom: 5px solid;
  display: inline;
  border-color: #a3d237;
  width: 82px;
  margin: 0 auto 20px auto;
}
.slide-description {
  font-size: 1.2rem;
  max-width: 300px;
  margin: 0 auto;
}
.swipe-message {
  position: absolute;
  left: 50%;
  top: 5%;
  transform: translate(-50%, -50%);
  width: 100%;
}
.slide-details {
  display: flex;
  flex-direction: column;
  justify-content: end;
  height: 100%;
}

/* Connected Nav Bar */
.slider-navs {
  position: absolute !important;
  bottom: 40px;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 90% !important;
  max-width: 700px !important;
  min-width: 300px;
  display: flex !important;
  justify-content: space-between !important;
  z-index: 10 !important;
  position: relative;
}
.slider-navs::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #fff;
  z-index: 0;
  transform: translateY(-50%);
}

.slider-navs .nav-item {
  position: relative;
  width: 20vw;
  height: 60px;
  line-height: 60px;
  text-align: center;
  font-size: 16px;
  color: #aaa;
  cursor: pointer;
  transition: all ease-in-out 0.4s;
  z-index: 1;
  background: transparent;
  border: none;
}
.slider-navs .nav-item.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 25%;
  width: 50%;
  height: 3px;
  background-color: #fff;
  z-index: 2;
}

.slider-navs .nav-item.active {
  font-size: 22px;
  color: #fff;
}

/* Background overlay */
.slider-backdrop {
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #000;
  opacity: 0.6;
  z-index: 1;
}

/* Animations */
.fxSoftPulseOut {
  -webkit-animation: scaleUpFadeOut 0.8s forwards ease-in;
  animation: scaleUpFadeOut 0.8s forwards ease-in;
}
.fxSoftPulseIn {
  -webkit-animation: scaleDownFadeIn 0.8s forwards ease-out;
  animation: scaleDownFadeIn 0.8s forwards ease-out;
}
@-webkit-keyframes scaleUpFadeOut {
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  75% {
    transform: scale(1.1);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}
@keyframes scaleUpFadeOut {
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  75% {
    transform: scale(1.1);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}
@-webkit-keyframes scaleDownFadeIn {
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes scaleDownFadeIn {
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}