.timeline {
    text-align: center;
    padding: 50px;
}

.timeline-content,
.timeline-content-r {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: auto;
}


.text-left h1,
.text-right h1 {
    padding-top: 5px;
    transition: opacity 0.1s, filter 0.1s;
}


.text-left p {
    line-height: 145%;
    text-align: right;
}

.text-right p {
    line-height: 145%;
    text-align: left;
}

.pic-left {
    display: flex;
    align-items: center;
    border-right: 2px white solid;
    padding: 5%;
    width: 45%
}

.pic-right {
    display: flex;
    align-items: center;
    border-left: 2px white solid;
    padding: 5%;
    width: 45%
}

.pic-left img,
.pic-right img {
    width: 100%;
}

.text-left {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 5%;
    width: 45%;
}

.text-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 5%;
    width: 45%;
}

@media (max-width: 768px) {

    .text-left h1,
    .text-right h1 {
        font-size: 50px;
    }

    .text-left p,
    .text-right p {
        font-size: 13px;
    }

    .pic-left img,
    .pic-right img {
        width: 90%;
    }
}

@media (max-width: 555px) {

    .text-left h1,
    .text-right h1 {
        font-size: 45px;
    }

    .text-left p,
    .text-right p {
        font-size: 12px;
    }

    .pic-left img,
    .pic-right img {
        width: 100%;
    }
}

@media (max-width: 414px) {

    .timeline {
        padding: 30px;
    }

    .timeline-content {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }


    .timeline-content-r {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .text-left,
    .text-right {
        display: flex;
        align-items: center;
        width: 60%;
        padding: 2%;
    }

    .text-left h1,
    .text-right h1 {
        font-size: 24px;
    }

    .text-left p,
    .text-right p {
        font-size: 11px;
        text-align: center;
        width: 100%;

    }

    .pic-left,
    .pic-right {
        display: flex;
        justify-content: center;
        border: none;
    }

    .pic-left img,
    .pic-right img {
        width: 90%;
    }
}