
/* Start Time Line */
.timeline {
    padding-bottom: var(--main-padding-bottom);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .timeline .container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70%;
  }
  
  .timeline h2 {
    margin: auto;
    width: 225px;
    height: 45px; 
  }
  
  .timeline ul {
      /* background: #456990; */
      padding: 50px 0;
    }
  .timeline ul li {
    list-style-type: none;
    position: relative;
    width: 6px;
    margin: 0 auto;
    padding-top: 50px;
    background: #fff; /* vertical line color */
  }
    
  .timeline ul li::after {
    position: absolute;
    left: 50%;
    top: 50px;
    transform: translateX(-50%);
    width: 35px;
    height: 35px;
    padding: 10px;
    border-radius: 50%;
    background: white; /* background of circle */
    z-index: 1;
  }
     
  .timeline ul li:nth-child(1)::after {
    content: url('../imgs/git2.png');
  }
  
  .timeline ul li:nth-child(2)::after {
    content: url('../imgs/git2.png');
  }
  
  .timeline ul li:nth-child(3)::after {
    content: url('../imgs/git2.png');
  }
  
  .timeline ul li:nth-child(4)::after {
    content: url('../imgs/git2.png');
  }
  
  .timeline ul li:nth-child(5)::after {
    content: url('../imgs/git2.png');
  }
  
  .timeline ul li:nth-child(6)::after {
    content: url('../imgs/git2.png');
  }
  
  .timeline ul li:nth-child(7)::after {
    content: url('../imgs/git2.png');
  }
  
  .timeline ul li:nth-child(8)::after {
    content: url('../imgs/git2.png');
  }
  
  .timeline ul li:nth-child(9)::after {
    content: url('../imgs/git2.png');
  }
     
  .timeline ul li:nth-child(10)::after {
    content: url('../imgs/git2.png');
  }
  
  .timeline ul li:nth-child(11)::after {
    content: url('../imgs/git2.png');
  }
  
  .timeline ul li:nth-child(12)::after {
    content: url('../imgs/git2.png');
  }
  
  .timeline ul li div {
    position: relative;
    bottom: 0;
    width: 400px;
    padding: 15px;
    color: white;
    background: #393045;
    border-bottom: 3px solid white;
  }
  
  .timeline ul li div a {
    color: white;
    text-decoration: underline;
  }

  .timeline ul li div a i {
    color: white;
    margin-left: 10px;
    font-size: 15px;
  }
  
  .timeline ul li div::before {
    content: "";
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
    border-style: solid;
  }
  
  .timeline ul li:nth-child(odd) div {
    /* left: 45px; + 20px */
    left: 65px;
  }
  
  .timeline ul li:nth-child(odd) div::before {
    left: -15px;
    border-width: 8px 16px 8px 0;
    border-color: transparent #393045 transparent transparent;
  }
     
  .timeline ul li:nth-child(even) div {
    /* left: -439px; + 20px */
    left: -459px;
  }
  
  .timeline ul li:nth-child(even) div::before {
    right: -15px;
    border-width: 8px 0 8px 16px;
    border-color: transparent transparent transparent #393045;
  }
  
  time {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 8px;
  }
     
     
     /* EFFECTS
     –––––––––––––––––––––––––––––––––––––––––––––––––– */
     
  .timeline ul li::after {
    transition: background 0.5s ease-in-out;
  }
  
  .timeline ul li.in-view::after {
    background: #393045;
    outline: 3px solid white; /* circle outline color */
  }
  
  .timeline ul li div {
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s ease-in-out;
  }
  
  .timeline ul li:nth-child(odd) div {
    transform: translate3d(200px, 0, 0);
  }
  
  .timeline ul li:nth-child(even) div {
    transform: translate3d(-200px, 0, 0);
  }
  
  .timeline ul li.in-view div {
    transform: none;
    visibility: visible;
    opacity: 1;
  }
     /* GENERAL MEDIA QUERIES
     –––––––––––––––––––––––––––––––––––––––––––––––––– */
     
  @media screen and (max-width: 900px) {
    .timeline ul {
      margin-left: 20px;
    }
    .timeline ul li div {
      width: 250px;
    }
    .timeline ul li:nth-child(even) div {
      left: -289px;
      /*250+45-6*/
    }
  }
     
  @media screen and (max-width: 600px) {
    .timeline .container {
      width: 100%;
    }
    .timeline ul {
      width: 100%;
    }
    .timeline ul li {
      margin-left: 10px;
      /* width: 100%; */
    }
    .timeline ul li div {
      /* margin-right: -200px; */
      width: calc(100vw - 127px);
      /* width: 100% ; */
    }
    .timeline ul li:nth-child(even) div {
      left: 65px;
    }
    .timeline ul li:nth-child(even) div::before {
      left: -15px;
      border-width: 8px 16px 8px 0;
      border-color: transparent #393045 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 div::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;
     }
    /* End Time Line */
  
  @keyframes scaleAnimation {
    0% {
      transform: translateX(-50%) scale(1);
    }
    50% {
      transform: translateX(-50%) scale(1.25);
    }
    100% {
      transform: translateX(-50%) scale(1);
    }
  }
  