
  /* Timeline Container */
.timeline {
    background: var(--primary-color);
    margin: 20px auto;
    padding: 20px;
  }

  @media only screen and (max-width: 420px) {
    .timeline {
      padding: 60px;
    }
    }
  
  /* Card container */
  .card {
    position: relative;
    max-width: 400px;
    background: transparent;
    border: none;
  }

  .card .card-number-box-odd {
    position: absolute;
    left: -60px;
  }

  .card .card-number-box-even {
    position: absolute;
    right: -60px;
  }


  span.card-number {
    color: orangered;
    background: #fff;
    /* padding: 15px; */
    border: 5px solid orangered;
    font-weight: 700;
    border-radius: 50px;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}
  
  /* setting padding based on even or odd */
  .card:nth-child(odd) {
    padding: 15px 0 15px 30px;
  }
  .card:nth-child(even) {
    padding: 15px 30px 15px 0;
  }
  /* Global ::before */
  .card::before {
    content: "";
    position: absolute;
    width: 50%;
    border: solid orangered;
  }
  
  /* Setting the border of top, bottom, left */
  .card:nth-child(odd)::before {
    left: 0px;
    top: -5.5px;
    bottom: 0.5px;
    border-width: 5px 0 5px 5px;
    border-radius: 50px 0 0 50px;
  }
  
  /* Setting the border of top, bottom, right */
  .card:nth-child(even)::before {
    right: 0;
    top: -5px;
    bottom: 1px;
    border-width: 5px 5px 5px 0;
    border-radius: 0 50px 50px 0;
  }
  
  /* Removing the border if it is the first card */
  .card:first-child::before {
    border-top: 0;
    border-top-left-radius: 0;
  }
  
  /* Removing the border if it is the last card  and it's odd */
  .card:last-child:nth-child(odd)::before {
    border-bottom: 0;
    border-bottom-left-radius: 0;
  }
  
  /* Removing the border if it is the last card  and it's even */
  .card:last-child:nth-child(even)::before {
    border-bottom: 0;
    border-bottom-right-radius: 0;
  }
  
  /* Information about the timeline */
  .info {
    display: flex;
    flex-direction: column;
    /* background: #333; */
    color: gray;
    border-radius: 10px;
    padding: 10px;
  }
  
  /* Title of the card */
  .card .title {
    /* color: orangered; */
    color: darkslategray;
    position: relative;
    font-size: 1.1rem;
  }
  
  /* Timeline dot  */
  .card .title::before {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    background: white;
    border-radius: 999px;
    border: 3px solid orangered;
    background: #c8f4c8;
  }
  
  /* text right if the card is even  */
  .card:nth-child(even) > .info > .title {
    text-align: right;
  }
  
  /* setting dot to the left if the card is odd */
  .card:nth-child(odd) > .info > .title::before {
    left: -45px;
    top: 4px;
  }
  
  /* setting dot to the right if the card is odd */
  .card:nth-child(even) > .info > .title::before {
    right: -44px;
    top: 4px;
  }


  .card.even .info p {
    text-align: end;
  }
  .card .info p img {
    width: 43px;
    height: auto;
  }


  .timeline-right-img-box {
    display: flex;
    align-items: flex-end;
    width: 100%;
  }
  
  img.timeline-right-img {
    width: 100%;
    height: auto;
    border-bottom: 50px solid #fff;
    border-radius: 50px;
}


