Responsive horizontal timeline like thing

HTML

<div class="container">
    <div class="timeline-bar"></div>
    <div class="timeline">
        <div class="entry" data-text="South Station"></div>
        <div class="entry" data-text="Back Bay"><span>501</span>

        </div>
        <div class="entry" data-text="Yawkey"></div>
        <div class="entry" data-text="Newtonville"></div>
        <div class="entry" data-text="West Newton"></div>
        <div class="entry" data-text="Auberndale"></div>
        <div class="entry" data-text="Wellesley Farms"></div>
        <div class="entry" data-text="Wellesley Hills"></div>
        <div class="entry" data-text="Wellesley Square"></div>
        <div class="entry" data-text="West Natick"></div>
        <div class="entry" data-text="Natick Center"></div>
        <div class="entry" data-text="Framingham"></div>
    </div>
</div>

CSS

* {
    box-sizing: border-box;
}
.container {
    position: relative;
    top: 30px;
    height: 150px;
}
.timeline-bar {
    height: 4px;
    background: #eee;
    width: 100%;
    position: absolute;
    top: calc(100% - (8px + 2px));
    left: 0;
}
.timeline {
    display: flex;
    align-items: baseline;
    height: 100%;
    font-family: sans-serif;
}
.entry {
    flex: 1;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}
.entry:before {
    content:'';
    background: #000;
    width: 2px;
    height: 16px;
    position: relative;
}
.entry:after {
    content: attr(data-text)' ';
 
    font-size: 12px;
    transform-origin: top left;
    display: block;
    width: 100%;
    white-space: nowrap;
    position: relative;
    left: 50%;
    top: 5px;
}
.entry:first-child:after, .entry:last-child:after {
    font-weight: bold;
}
.entry span {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: -17px;
    font-size: 10px;
    line-height: 2;
}
.entry span:before {
    content:'';
    width: 10px;
    height: 10px;
    display: block;
    background: red;
    border-radius: 5px;
    margin: 0 auto;
}