
/* Timeline Container */
.timeline {
  margin: 20px auto;
  padding: 20px;
}


/* blog-card container */
.blog-card {
  position: relative;
  max-width: 100%;
}

/* setting padding based on even or odd */
.blog-card:nth-child(odd) {
  padding: 30px 0 30px 30px;
}
.blog-card:nth-child(even) {
  padding: 30px 30px 30px 0;
}
/* Global ::before */
.blog-card::before {
  content: "";
  position: absolute;
  width: 50%;
  border: solid rgb(100, 100, 100);
}

/* Setting the border of top, bottom, left */
.blog-card:nth-child(odd)::before {
  left: 0px;
  top: -4.5px;
  bottom: -4.5px;
  border-width: 5px 0 5px 5px;
  border-radius: 50px 0 0 50px;
}

/* Setting the border of top, bottom, right */
.blog-card:nth-child(even)::before {
  right: 0;
  top: 0;
  bottom: 0;
  border-width: 5px 5px 5px 0;
  border-radius: 0 50px 50px 0;
}

/* Removing the border if it is the first blog-card */
.blog-card:first-child::before {
  border-top: 0;
  border-top-left-radius: 0;
}

/* Removing the border if it is the last blog-card  and it's odd */
.blog-card:last-child:nth-child(odd)::before {
  border-bottom: 0;
  border-bottom-left-radius: 0;
}

/* Removing the border if it is the last blog-card  and it's even */
.blog-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;
 color: gray;
  border-radius: 10px;
  padding: 10px;
}

/* Title of the blog-card */
.title {
  color: rgb(95, 95, 95);
  position: relative;
}



/* text right if the blog-card is even  */
.blog-card:nth-child(even) > .info > .title {
  text-align: right;
}

/* setting dot to the left if the blog-card is odd */
.blog-card:nth-child(odd) > .info > .title::before {
  left: -45px;
}

/* setting dot to the right if the blog-card is odd */
.blog-card:nth-child(even) > .info > .title::before {
  right: -45px;
}