body
{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

.timeline
{
    position: relative;
    margin: 50px auto;
    padding: 40px 0;
    width: 1000px;
    box-sizing: border-box;

}

.timeline:before
{
content: '';
position: absolute;
left: 50%;
width: 2px;
height: 100%;
background: #c5c5c5;
}

.timeline ul
{
    margin: 0;
    padding: 0;
}

.timeline ul li
{
    list-style: none;
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.timeline ul li:nth-child(odd)
{
    float: left;
    text-align: right;
    clear: both;
}

.timeline ul li:nth-child(even)
{
    float: right;
    text-align: left;
    clear: both;
}

.content
{
    padding-bottom: 20px;
}

.timeline ul li:nth-child(odd):before
{
    content: '';
    position: absolute;
    top: 24px;
    right: -6px;
    width: 10px;
    height: 10px;
    background: rgb(233,33,99,1);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(233,33,99,2);
}

.timeline ul li:nth-child(even):before
{
    content: '';
    position: absolute;
    top: 24px;
    left: -4px;
    width: 10px;
    height: 10px;
    background: rgb(233,33,99,1);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(233,33,99,2);
}

.timeline ul li h3
{
    margin: 0;
    padding: 0;
    font-weight: 600;
    color: rgb(233,33,99,1);
}

.timeline ul li p
{
    margin: 10px 0 0;
    padding: 0;
}

.timeline ul li .time h4
{
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.timeline ul li:nthchild(odd) .time
{
    position: absolute;
    top: 12px;
    right: -165px;
    margin: 0;
    padding: 8px 16px;
    background: rgb(233,33,99,1);
    color: #fff;
    border-radius: 18px;
    box-shadow: 0 0 0 3px rgb(233,33,99,1);
}
h1
{
    text-align: center;
    font-size: 60px;
}
@media(max-width: 1000px)
{
    .timeline
    {
        width: 100%;
    }
}

@media(max-width: 767px)
{
    h1
    {
        text-align: center;
        font-size: 40px;
        padding: 0 20px;
    }
    .timeline
    {
        width: 100%;
        padding-bottom: 0;
    }
    .timeline:before
    {
        left: 20px;
    }
    .timeline li:nth-child(odd),
    .timeline li:nth-child(even)
    {
        width: 100%;
        text-align: left;
        padding-left: 50px;
        padding-bottom: 50px;
    }
    .timeline li:nth-child(odd):before,
    .timeline li:nth-child(even):before
    {
        top: -18px;
        left: 16px;
    }
    .timeline li:nth-child(odd) .time,
    .timeline li:nth-child(even) .time
    {
        top: -30px;
        left: 50px;
        right: inherit;
    }
}

.timeline ul li:nthchild(even) .time
{
    position: absolute;
    top: 12px;
    left: -165px;
    margin: 0;
    padding: 8px 16px;
    background: rgb(233,33,99,1);
    color: #fff;
    border-radius: 18px;
    box-shadow: 0 0 0 3px rgb(233,33,99,1);
}

