
/*/////////////TIMELINE/////////////////////*/

.timeline {
    width: auto;
    padding: 0 1rem;
    margin: auto;
  }
  
  .timeline ul {
    padding: 0;
  }
  .timeline .default-line {
    content: "";
    position: absolute;
    left: 0;
    top:4px;
    width: 2px;
    background: transparent;
    height: 100%;
    z-index: 0;
  }
  .timeline .draw-line {
    width: 4px;
    height: 0;
    position: absolute;
    left:0;
    top:4px;
    background: var(--primary-color);
  }
  .timeline ul li {
    list-style-type: none;
    position: relative;
    margin: 0 auto 0 0;
    background: transparent;
  }
  .timeline ul li.in-view {
    transition: 0.125s ease-in-out, background-color 0.2s ease-out, color 0.1s ease-out, border 0.1s ease-out;
  }
  .timeline ul li.in-view::before {
    top: 3px;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    transition: 0.4s ease-in-out, background-color 0.2s ease-out, color 0.1s ease-out, border 0.1s ease-out;
  }
  
  .timeline ul li.in-view::before {
    background: var(--primary-color);
  }

  .timeline ul li.in-view .card {
    box-shadow: 0 0 18px 0 var(--primary-color-30-opacity);
  }
  
  .timeline ul li::before {
    content: "";
    position: absolute;
    left: -16px;
    top: 5px;
    transform: translateX(-50%);
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: inherit;
    background: var(--primary-color-30-opacity);
    transition: all 0.4s ease-in-out;
  }
  
  @media (max-width: 1200px) {
    .timeline {
      max-width: calc(1200px - 2rem);
      padding: 0 0.8rem 0 1rem;
    }
    .timeline .default-line {
      left: .875rem;
    }
    .timeline ul li::before {
      left: 0px;
    }
    .timeline ul li.in-view::before {
      left:1px;
      width: 30px;
      height: 30px;
    }
    .timeline .draw-line {
      left:14px;
    }
    .timeline .container h2 {
      margin-left: 14px;
      text-align: left;
      font-size: 2rem;
    }
    .timeline .stage-card {
      margin-top: 0rem;
    }
  }
  
  @media (max-width: 1024px) {
    .timeline .container h2 {
      margin: .6rem auto;
    }
  }
  