.timeline-wrap__inner-container {
  padding: 8rem 1rem 4rem;
}

.timeline {
  margin: 0 auto;
  max-width: 30rem;
  width: 100%;
  position: relative;
  z-index: 2;
  opacity: 0;
  transition: opacity 1s linear;
  transition-delay: 0.75s;
}
.is-initialized .timeline {
  opacity: 1;
}
.timeline::after {
  border-left: 3px solid rgba(255, 255, 255, 0.4);
  bottom: 4rem;
  content: "";
  display: block;
  left: 3rem;
  position: absolute;
  top: 4rem;
  width: 1px;
  z-index: 1;
}

.timeline-intro {
  color: #ffffff;
  margin: 0 auto 5rem;
  max-width: 40rem;
  position: relative;
  padding: 0 2rem;
  text-align: center;
  z-index: 3;
}
.timeline-intro h1 {
  margin-bottom: 1.75rem;
}
.timeline-intro * {
  display: none;
}
.is-initialized .timeline-intro * {
  display: block;
}

.timeline-items {
  position: relative;
  z-index: 2;
}

.timeline-item {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 3rem;
  opacity: 0;
  transform: scale(0.85);
  transition: transform 1s ease, opacity 1s ease;
}
.timeline-item__inner-container {
  align-items: center;
  display: flex;
  position: relative;
}
.timeline-item img {
  border-radius: 20rem;
  display: block;
  height: 6rem;
  width: 6rem;
  object-fit: cover;
  position: relative;
  transition: object-fit 0.5s ease;
  z-index: 2;
}
.timeline-item a {
  display: flex;
  position: relative;
}
.timeline-item a span {
  height: 2rem;
  left: 50%;
  margin-left: -1rem;
  margin-top: -1rem;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: scale(0.6);
  transform-origin: center center;
  transition: opacity 0.5s ease, transform 0.5s ease;
  width: 2rem;
  z-index: 3;
}
.timeline-item a span svg {
  display: block;
  height: 100%;
  width: 100%;
}
.timeline-item a::before {
  background-color: rgba(30, 76, 175, 0);
  border-radius: 20rem;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: background-color 0.25s ease;
  z-index: 3;
}
.timeline-item a::after {
  background-color: white;
  border-radius: 20rem;
  content: "";
  position: absolute;
  top: -0.25rem;
  left: -0.25rem;
  right: -0.25rem;
  bottom: -0.25rem;
  transition: transform 0.25s ease;
  z-index: 1;
}
.timeline-item a:hover span {
  opacity: 1;
  transform: scale(1.2);
}
.timeline-item a:hover::after {
  background-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.12);
}
.timeline-item a:hover::before {
  background-color: rgba(30, 76, 175, 0.7);
}
.timeline-item h2 {
  margin: 0 0 0 1.5rem;
}
.timeline-item h2 span {
  color: #ffffff;
  display: block;
  margin: 0;
}
.timeline-item h2 span:first-child {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 3px;
  display: inline-block;
  letter-spacing: 0.07rem;
  margin-bottom: 0.25rem;
  padding: 0.25rem 0.5rem;
}
.timeline-item.animated {
  opacity: 1;
  transform: scale(1);
}

.timeline-connectors {
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}

.timeline-connector {
  display: block;
  min-height: 4rem;
  opacity: 1 !important;
  position: absolute;
  transition: opacity 0.25s ease;
  z-index: 1;
}
.timeline-connector svg {
  display: none;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
.timeline-connector svg line {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  stroke: rgba(255, 255, 255, 0.4);
  stroke-width: 1;
}
.timeline-connector.animated {
  opacity: 1;
}
.timeline-connector.animated:not(.animated-reverse) svg line {
  animation: dash 1s linear forwards;
}
.timeline-connector.animated.animated-reverse svg line {
  animation: dashreverse 1s linear forwards;
}
.timeline-connector:nth-child(even) svg {
  transform: scaleX(-1);
}

.timeline-backgrounds {
  height: 100vh;
  left: 0;
  opacity: 0;
  position: fixed;
  top: 0;
  transition: opacity 1s linear;
  width: 100vw;
  z-index: 0;
}
.is-initialized .timeline-backgrounds {
  opacity: 1;
}
.timeline-backgrounds::after {
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.timeline-background {
  background-size: cover;
  background-position: center center;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.timeline-background-gradient {
  background-image: linear-gradient(180deg, #497295 0%, #8A8376 100%);
  height: 100vh;
  left: 0;
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: -1;
}

.timeline-navigator {
  align-items: center;
  bottom: 0;
  display: none;
  flex-direction: column;
  justify-content: center;
  left: 1.25rem;
  opacity: 0;
  position: fixed;
  transition: opacity 0.5s ease;
  transition-delay: 1.5s;
  top: 5rem;
  z-index: 4;
}
.timeline-navigator .social-sharing-expander {
  margin-bottom: 1rem;
}
.timeline-navigator ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.timeline-navigator ul li {
  margin: 0 0 1rem 0;
  position: relative;
}
.timeline-navigator ul li::after {
  border: 1px solid rgba(255, 255, 255, 0.4);
  content: "";
  display: block;
  width: 1px;
  height: 1rem;
  left: 0.45rem;
  position: absolute;
  top: 100%;
}
.timeline-navigator ul li:last-child::after {
  display: none;
}
.timeline-navigator ul li a {
  color: #ffffff;
  display: block;
  height: 1rem;
  font-weight: bold;
  opacity: 0.4;
  position: relative;
  transition: opacity 0.15s ease;
  width: 1rem;
}
.timeline-navigator ul li a::before {
  background-color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 1rem;
  content: "";
  display: block;
  overflow: hidden;
  height: 1rem;
  width: 1rem;
}
.timeline-navigator ul li a .timeline-navigator-date {
  height: 1rem;
  position: absolute;
  line-height: 1;
  left: 1.5rem;
  opacity: 0;
  top: 0;
  transition: opacity 0.15s ease;
}
.timeline-navigator ul li a:hover {
  opacity: 0.8;
}
.timeline-navigator ul li a:hover .timeline-navigator-date {
  opacity: 0.5;
}
.timeline-navigator ul li.is-active a, .timeline-navigator ul li.is-active:hover a {
  opacity: 1;
}
.timeline-navigator ul li.is-active a::before, .timeline-navigator ul li.is-active:hover a::before {
  background-color: #000;
}
.timeline-navigator ul li.is-active .timeline-navigator-date, .timeline-navigator ul li.is-active:hover .timeline-navigator-date {
  opacity: 1;
}
.is-initialized .timeline-navigator {
  opacity: 1;
}

.timeline-spinner {
  align-items: center;
  display: flex;
  height: 100vh;
  justify-content: center;
  left: 0;
  padding: 2rem;
  position: fixed;
  top: 0;
  transition: opacity 1s ease;
  text-align: center;
  width: 100vw;
  z-index: 1;
}
.is-initialized .timeline-spinner {
  opacity: 0;
}

.timeline-spinner .spinner {
  width: 40px;
  height: 40px;
  position: relative;
  margin: 0 auto;
}

.timeline-spinner .double-bounce1,
.timeline-spinner .double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #ffffff;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-animation: sk-bounce 2s infinite ease-in-out;
  animation: sk-bounce 2s infinite ease-in-out;
}

.timeline-spinner .double-bounce2 {
  -webkit-animation-delay: -1s;
  animation-delay: -1s;
}

@media (min-width: 860px) {
  .timeline-wrap__inner-container {
    padding: 8rem 2rem 32rem 8rem;
  }

  .timeline-intro {
    left: -3rem;
    margin: 0 auto 7rem;
    position: relative;
  }
  .timeline-intro h1 {
    margin-bottom: 2.5rem;
  }

  .timeline {
    max-width: 68rem;
  }
  .timeline h2 {
    margin-left: 2rem;
  }
  .timeline h2 span + span {
    margin-top: 0.25rem;
  }
  .timeline::after {
    display: none;
  }

  .timeline-item {
    margin-bottom: 4rem;
  }
  .timeline-item h2 {
    max-width: 18rem;
  }
  .timeline-item img {
    height: 10rem;
    width: 10rem;
  }
  .timeline-item:nth-child(even) {
    justify-content: flex-end;
  }
  .timeline-item:nth-child(even) img {
    height: 18rem;
    width: 18rem;
  }
  .timeline-item:nth-child(6n+1) {
    padding-left: 20%;
  }
  .timeline-item:nth-child(6n+4) {
    padding-right: 20%;
  }
  .timeline-item:nth-child(2) {
    transition-delay: 0.2s;
  }
  .timeline-item:nth-child(3) {
    transition-delay: 0.4s;
  }

  .timeline-connector svg {
    display: block;
  }

  .timeline-navigator {
    display: flex;
  }
}
@media (min-width: 950px) {
  .timeline-wrap__inner-container {
    padding-top: 14rem;
  }
}
@media (min-width: 1100px) {
  .timeline-intro {
    max-width: 50rem;
  }
}
@keyframes dash {
  from {
    stroke-dashoffset: 2000;
  }
  to {
    stroke-dashoffset: 1000;
  }
}
@keyframes dashreverse {
  from {
    stroke-dashoffset: 3000;
  }
  to {
    stroke-dashoffset: 4000;
  }
}
@-webkit-keyframes sk-bounce {
  0%, 100% {
    -webkit-transform: scale(0);
  }
  50% {
    -webkit-transform: scale(1);
  }
}
@keyframes sk-bounce {
  0%, 100% {
    transform: scale(0);
    -webkit-transform: scale(0);
  }
  50% {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}
