#timeline-wrapper {
    position: relative;
    max-width: 1020px;
    margin: 0 auto;
}

#timeline-line {
    position: absolute;
    top: -4%;
    left: 50%;
    height: 104%;
    width: 1px;
    transform: translateX(-50%);
    content: '';
    background-color: #b827d0;
}

@media(max-width:768px){
    #timeline-line {
        top: 0;
        left: 0;
    }
}

.timeline-item {
    position: relative;
}

@media(max-width:768px){
    #timeline-wrapper .timeline-item {
        border: 0;
    }

    .timeline-item .timeline-content-wrapper::before {
        position: absolute;
        top: 30px;
        left: -18%;
        content: '';
        display: block;
        width: 50px;
        height: 1px;
        background-color: #b827d0;
    }
}

@media(max-width:768px){
    .timeline-item .timeline-content-wrapper {
        width: 80%;
        margin-left: 14%;
        padding-top: 20px;
        padding-left: 6%;
        background-color: #fff;
    }
}

.timeline-icon {
    position: absolute;
    top: 30px;
    right: -16px;
}

.timeline-item:nth-child(2n) .timeline-icon {
    left: -6px;
    right: auto;
}

.timeline-item:first-child .timeline-icon {
    right: -38px;
    top: 11px;
}

.timeline-item:first-child i.fa-heart {
    font-size: 60px;
}

@media (max-width: 768px) {
    #timeline-wrapper .timeline-item .timeline-icon {
        position: absolute;
        right: 6%;
        left: auto;
        transform: translateX(50%);
    }
    #timeline-wrapper .timeline-item:first-child .timeline-icon {
        top: 11px;
    }
    #timeline-wrapper .timeline-item .timeline-icon i {
        margin-left: -4px;
    }
}

.timeline-icon {
    color: #ffccd3;
}

#timeline-line .fa-heart {
    position: absolute;
    top: -36px;
    margin-left: -20px;
    left: 50%;
    font-size: 40px;
    color: #f7f7f7;
}

.timeline-content-wrapper {
    position: relative;
    width: 80%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .timeline-content-wrapper {
        margin-top: -10px;
    }

    .timeline-item:nth-child(even) .timeline-content-wrapper {
        margin-left: 20%;
    }
}

@media (min-width: 768px) {
    .timeline-item:nth-child(odd) .timeline-content-wrapper {
        margin-right: 20%;
    }
}

.timeline-content-wrapper .image-wrap {
    position: relative;
}

.timeline-content-wrapper .image-wrap div:first-child {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 15px;
    border: 1px solid #fff;
}

@media(min-width:768px){
    .timeline-item:nth-child(even) .timeline-content-wrapper .text-wrapper {
        padding-left: 20px;
    }
}

.timeline-item:nth-child(even) .timeline-content-wrapper .text-wrapper {
    background-color: #fff;
}

.timeline-content-wrapper .text-wrapper h3 {
    margin-bottom: 12px;
    text-transform: uppercase;
    line-height: 1;
}

.timeline-item:nth-child(odd) .text-wrapper h3 {
    background-color: #fff;
    display: inline-block;
    padding-right: 20px;
}

.timeline-content-wrapper .text-wrapper .date {
    display: block;
    margin: 0 0 20px;
}

.year-label {
    background-color: #b827d0;
    color: #fff;
    padding: 3px 13px;
    font-weight: 800;
    font-size: 2em;
}

@media(min-width:769px) {
    .year-label {
        position: absolute;
    }
}

@media(min-width:768px){
    .timeline-item:nth-child(odd) .year-label {
        right: 0;
        transform: translate(50%, -150%);
    }
}

.timeline-item:nth-child(even) .year-label {
    left: 0;
    transform: translate(-50%, -150%);
}

@media(min-width:769px){
    #timeline-last-element::before {
        position: absolute;
        left: 50%;
        transform: translate( -50%, -100% );
        content: '';
        display: block;
        width: 11px;
        height: 11px;
        border-radius: 50%;
        border: 1px solid #b827d0;
    }
}

#timeline-last-element {
    position: relative;
}

#timeline-last-element .timeline-icon {
    top: -16px;
    left: 50%;
    right: auto;
    z-index: 999;
    margin-left: -9px;
    font-size: 24px;
}

#timeline-last-element .timeline-content-wrapper {
    padding-bottom: 0;
}

@media(max-width:768px){
    #timeline-last-element .timeline-content-wrapper {
        width: 80%;
        margin-top: -6px;
        margin-left: 14%;
        padding-top: 20px;
        padding-left: 6%;
    }
}

@media(min-width:769px){
    #timeline-last-element .timeline-content-wrapper {
        width: 530px;
        margin: 11px auto 0;
        text-align: center;
    }
}

#timeline-last-element .timeline-content-wrapper .text-wrapper {
    padding: 40px 20px 40px
}

@media(max-width:768px){
    #timeline-last-element .timeline-content-wrapper .text-wrapper {
        padding: 0;
    }

    #timeline-last-element .timeline-content-wrapper .text-wrapper::before {
        position: absolute;
        top: 30px;
        left: -18%;
        content: '';
        display: block;
        width: 50px;
        height: 1px;
        background-color: #b827d0;
    }
}

#timeline-wrapper img {
    margin-top: 2rem;
    width: 100%;
    height: auto;
}
