:root {
    --white: #fff;
    --black: #323135;
    --crystal: #a8dadd;
    --columbia-blue: #cee9e4;
    --midnight-green: #01565b;
    --yellow: #e5f33d;
    --timeline-gradient: rgba(206, 233, 228, 1) 0%, rgba(206, 233, 228, 1) 50%,
      rgba(206, 233, 228, 0) 100%;
  }

.timeline {
    position: relative;
    white-space: nowrap;
    max-width: 1400px;
    padding: 0 10px;
    margin: 0 auto;
    /* display: grid;
    grid-template-columns: 320px auto;
    grid-gap: 20px; */
  }

  /* .timeline::before,
  .timeline::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 30px;
    width: 100px;
    z-index: 2;
  } */

  /* .timeline::after {
    right: 0;
    background: linear-gradient(270deg, var(--timeline-gradient));
  }

  .timeline::before {
    left: 340px;
    background: linear-gradient(90deg, var(--timeline-gradient));
  } */

  .timeline ol::-webkit-scrollbar {
    height: 8px;
  }

  .timeline ol::-webkit-scrollbar-thumb,
  .timeline ol::-webkit-scrollbar-track {
    border-radius: 92px;
  }

  .timeline ol::-webkit-scrollbar-thumb {
    width: 5px;
    background: #0A2258;
  }

  .timeline ol::-webkit-scrollbar-track {
    background: #D9D9D9;
  }

  .timeline ol {
    font-size: 0;
    padding: 20px 0 650px;
    transition: all 1s;
    overflow-x: scroll;
    overflow-y: hidden;
    -ms-scroll-snap-type: x mandatory;
        scroll-snap-type: x mandatory;
    scrollbar-color: #D9D9D9;
  }

  .timeline ol li {
    position: relative;
    display: inline-block;
    list-style-type: none;
    width: 380px;
    height: 5px;
    background: #D9D9D9;
    scroll-snap-align: start;
  }

  /* .timeline ol li:last-child {
    width: 340px;
  } */

  /* .timeline ol li:not(:first-child) {
    margin-left: 14px;
  } */
  .timeline ol li:first-child {
    /* height: 0px; */
    width: 0px;
  }
  .timeline ol li:first-child::after{
    top:51%;
  }

  .timeline ol li::after {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(100% + 1px);
    bottom: 0;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: #0A2258;
    z-index: 1;
  }

  .timeline ol li > div {
    position: absolute;
    left: calc(100% + 7px);
    width: 350px;
    font-size: 18px;
    white-space: normal;
    border-radius: 0 10px 10px 10px;
  }
  .timeline ol li .content{
    border: 1px solid #CACACC;
    padding: 15px;
    border-radius: 0 0 12px 12px;
  }

  .timeline ol li > div::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
  }

  .timeline ol li:nth-child(odd) > div {
    top: calc(100% + 40px);
    /* transform: translateY(-100%); */
    border-radius: 10px 10px 10px 0;
  }

  .timeline ol li:nth-child(odd) > div::before {
    top: 100%;
    border-width: 8px 8px 0 0;
    border-color: var(--white) transparent transparent transparent;
  }

  .timeline ol li:nth-child(even) > div {
    top: calc(100% + 40px);
  }

  .timeline ol li:nth-child(even) div::before {
    top: -8px;
    border-width: 8px 0 0 8px;
    border-color: transparent transparent transparent var(--white);
  }

  .timeline time {
    display: block;
    font-size: 20px;
    padding: 10px 15px;
    font-weight: 600;
    border-radius: 12px 12px 0 0;
    /* background-color: beige; */
    color: #fff;
    background: #0A2258;
}

  /* GENERAL MEDIA QUERIES
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  @media screen and (max-width: 800px) {
    .timeline {
      display: block;
    }

    .timeline::before,
    .timeline::after {
      width: 50px;
    }

    .timeline::before {
      left: 0;
    }

    .timeline .info {
      display: none;
    }
  }