* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 100px auto;
}

.container {
    padding: 10px 50px;
    position: relative;
    width: 50%;
}

.text-box {
    padding: 20px 30px;
    background: rgb(240, 240, 240);
    position: relative;
    border-radius: 6px;
    font-size: 15px;
    -webkit-box-shadow: 0px 10px 31px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 10px 31px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 10px 31px 0px rgba(0, 0, 0, 0.75);
}

.left-container {
    left: 0;
}

.right-container {
    left: 50%;
}

.container img {
    position: absolute;
    width: 40px;
    border-radius: 50%;
    right: -20px;
    top: 32px;
    z-index: 10;
}

.right-container img {
    left: -20px;
}

.timeline::after {
    content: "";
    position: absolute;
    width: 3px;
    height: 100%;
    background: black;
    top: 0;
    left: 50%;
    margin-left: -1px;
    z-index: -1;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.text-box h3 {
    font-weight: 600;
}

.section-header {
    text-align: center;
}

.container small {
    font-size: medium;
}

@media screen and (max-width: 600px) {
    .timeline {
        margin: 50px auto;
    }

    .timeline::after {
        left: 30px;
    }

    .container {
        width: 100%;
        padding-left: 80px;
        padding-right: 25px;
    }

    .text-box {
        font-size: 13px;
    }

    .right-container {
        left: 0;
    }

    .left-container img,
    .right-container img {
        left: 10px;
    }
}
