/* *,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  color: inherit;
}

body {
  font: normal 16px/1.5 "Helvetica Neue", sans-serif;
  background: #456990;
  color: #fff;
  overflow-x: hidden;
  padding-bottom: 50px;
} */


/* INTRO SECTION
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* .intro {
  background: #f45b69;
  padding: 100px 0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

h1 {
  font-size: 2.5rem;
} */


/* TIMELINE
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.timeline.lemonline img {
  max-width: 150px;
}

.timeline.lemonline ul {
  padding: 0;
}

.timeline.lemonline ul li {
  list-style-type: none;
  position: relative;
  width: 2px;
  margin: 0 auto;
  /* padding-top: 10px; */
  background: #ecf5ff;
}

.timeline.lemonline ul li::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 52px;
  transform: translateX(-50%);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #377574;
  z-index: 1;
}

.timeline.lemonline ul li .timeline-sec-wrapper {
  position: relative;
  bottom: 0;
  width: 400px;
  padding: 15px;
  /* background: #FEFEDE; */
  border-radius: 5px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.timeline.lemonline ul li .timeline-sec-wrapper div {
  width: 400px;
}

/* .timeline.lemonline ul li .timeline-sec-wrapper::before {
  content: "";
  position: absolute;
  bottom: 7px;
  width: 0;
  height: 0;
  border-style: solid;
} */

.timeline.lemonline ul li:nth-child(odd) .timeline-sec-wrapper {
  left: 45px;
}

.timeline.lemonline ul li:nth-child(odd) .timeline-sec-wrapper::before {
  left: -15px;
  border-width: 8px 16px 8px 0;
  border-color: transparent #FEFEDE transparent transparent;
}

.timeline.lemonline ul li:nth-child(even) .timeline-sec-wrapper {
  justify-content: flex-end;
  text-align: right;
  left: -439px;
}

.timeline.lemonline ul li:nth-child(even) .timeline-sec-wrapper::before {
  right: -15px;
  border-width: 8px 0 8px 16px;
  border-color: transparent transparent transparent #FEFEDE;
}

.timeline.lemonline time {
  display: block;
  font-family: "Abril Fatface";
  font-size: 1.5rem;
  /* margin-bottom: 8px; */
  margin: 0.5rem 0 0 0;
}

.timeline.lemonline .timeline-text {
  font-style: italic;
  color: #a0a4af;
  font-size: 1.1rem;
}


/* EFFECTS
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.timeline.lemonline ul li::after {
  transition: background 0.5s ease-in-out;
}

.timeline.lemonline ul li.in-view::after {
  background: #204A49;
}

.timeline.lemonline ul li .timeline-sec-wrapper {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

/* .timeline.lemonline ul li:nth-child(odd) .timeline-sec-wrapper {
  transform: translate3d(200px, 0, 0);
}

.timeline.lemonline ul li:nth-child(even) .timeline-sec-wrapper {
  transform: translate3d(-200px, 0, 0);
} */

.timeline.lemonline ul li.in-view .timeline-sec-wrapper {
  transform: none;
  visibility: visible;
  opacity: 1;
}


/* GENERAL MEDIA QUERIES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@media screen and (max-width: 900px) {
  .timeline.lemonline ul li .timeline-sec-wrapper {
    width: 250px;
  }
  .timeline.lemonline ul li:nth-child(even) .timeline-sec-wrapper {
    left: -289px;
    /*250+45-6*/
  }
}

@media screen and (max-width: 600px) {
  .timeline.lemonline ul li {
    margin-left: 20px;
  }
  .timeline.lemonline ul li .timeline-sec-wrapper {
    width: calc(100vw - 125px);
  }
  .timeline.lemonline ul li:nth-child(even) .timeline-sec-wrapper {
    left: 45px;
    text-align: left;
    justify-content: flex-start;
  }
  .timeline.lemonline ul li:nth-child(even) .timeline-sec-wrapper::before {
    left: -15px;
    border-width: 8px 16px 8px 0;
    border-color: transparent #f45b69 transparent transparent;
  }
}


/* EXTRA/CLIP PATH STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.timeline-clippy ul li::after {
  width: 40px;
  height: 40px;
  border-radius: 0;
}

.timeline-rhombus ul li::after {
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.timeline-rhombus ul li .timeline-sec-wrapper::before {
  bottom: 12px;
}

.timeline-star ul li::after {
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}

.timeline-heptagon ul li::after {
  clip-path: polygon(
    50% 0%,
    90% 20%,
    100% 60%,
    75% 100%,
    25% 100%,
    0% 60%,
    10% 20%
  );
}

.timeline-infinite ul li::after {
  animation: scaleAnimation 2s infinite;
}

@keyframes scaleAnimation {
  0% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.25);
  }
  100% {
    transform: translateX(-50%) scale(1);
  }
}


/* FOOTER STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.page-footer {
  position: fixed;
  right: 0;
  bottom: 20px;
  display: flex;
  align-items: center;
  padding: 5px;
  color: black;
  background: rgba(255, 255, 255, 0.65);
}

.page-footer a {
  display: flex;
  margin-left: 4px;
}