@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700");
 body {
	 font-family: 'Open Sans', sans-serif;
	 margin: 0;
	 padding: 0 4em;
}
@font-face {
    font-family: "Pocket-Moonk";
    src: url("../fonts/Pocket\ Monk.otf");
  }
 .timeline-main {
	 min-width: 300px;
	 max-width: 500px;
	 margin: auto;
}
.timeline-p {
	 font-size: 1em;
	 line-height: 1.75em;
	 border-top: 3px solid;
	 border-image: linear-gradient(to right, #d53a9d 0%, #ffc107 100%);
	 border-image-slice: 1;
	 border-width: 3px;
	 margin: 0;
	 padding: 40px;
	 counter-increment: section;
	 position: relative;
	 color: white;
}
.timeline-p span{
    font-size:30px; 
    font-family: "Pocket-Moonk";
}
.timeline-p:before {
    font-family: "Pocket-Moonk";
	     content: counter(section);
    position: absolute;
    border-radius: 50%;
    padding: 2px;
    height: 1.25em;
    width: 1.25em;
    background-color: black;
    text-align: center;
    line-height: 1.25em;
    color: #ffc107;
    font-size: 1.7em;
}
.timeline-p:nth-child(odd) {
	 border-right: 3px solid;
	 padding-left: 0;
}
.timeline-p:nth-child(odd):before {
	 left: 100%;
     margin-left: -16px;
}
.timeline-p:nth-child(even) {
	 border-left: 3px solid;
	 padding-right: 0;
}
.timeline-p:nth-child(even):before {
	 right: 100%;
	 margin-right: -17px;
}
.timeline-p:first-child {
	 border-top: 0;
	 border-top-right-radius: 0;
	 border-top-left-radius: 0;
}
.timeline-p:last-child {
	 border-bottom-right-radius: 0;
	 border-bottom-left-radius: 0;
}
 