.container {
    box-sizing: border-box;
}

/* The actual timeline (the vertical ruler) */
.timeline {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
    content: '';
    position: absolute;
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        #474e5d 50px,
        #474e5d calc(100% - 50px),
        transparent 100%
    );
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

/* Container around content */
.container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* The circles on the timeline */
.container::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    right: -3px;
    background-color: #474e5d;
    /* border: 3px solid #FF9F55; */
    /* top: 15px; <- to work with arrows */
    top: 55px;
    border-radius: 50%;
    z-index: 1;
}

/* Place the container to the left */
.left {
    left: 0;
}

/* Place the container to the right */
.right {
    left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    /* border: medium solid #474e5d; */
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #474e5d;
}

/* Add arrows to the right container (pointing left) */
.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    /* border: medium solid #474e5d; */
    border-width: 10px 10px 10px 0;
    border-color: transparent #474e5d transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
    left: -9px;
}

/* The actual content */
.content {
    padding: 15px 15px 10px 15px;
    background-color: white;
    position: relative;
    border-radius: 1.5rem;
    /* border: 3px solid #474e5d; */
}

/* Make it more visible if selected in URL | Ref.: https://stackoverflow.com/a/36552994 */
.container:target .content {
    padding: 14px 14px 9px 14px;
    background-color: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 30px -12px rgb(0 0 0 / 0.25);
}
.container.right:target::before {
    border-color: transparent #2e333d transparent transparent;
}
.container.left:target::before {
    border-color: transparent transparent transparent #2e333d;
}

.content .small {
    overflow: hidden !important;
    transition: max-height 0.2s ease-out;
}

/* Initially hide the long display */
.content .long {
    max-height: 0px;
    overflow: hidden !important;
    transition: max-height 0.2s ease-out;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
    /* Place the timelime to the left */
    .timeline::after {
        left: 30px;
    }

    /* Full-width containers */
    .container {
        width: 100%;
        /* padding-left: 60px; <- with arrows */
        padding-left: 45px;
        padding-right: 13px;
    }

    /* Make sure that all arrows are pointing leftwards */
    .container::before {
        left: 50px;
        /* border: medium solid #474e5d; */
        border-width: 10px 10px 10px 0;
        border-color: transparent #474e5d transparent transparent;
    }
    .container.left:target::before, .container.right:target::before {
        border-color: transparent #2e333d transparent transparent;
    }

    /* Make sure all circles are at the same spot */
    .left::after, .right::after {
        left: 21px;
    }

    /* Make all right containers behave like the left ones */
    .right {
        left: 0%;
    }
}

/* Content display */
.content h3, .content h4, .content h5, .description, .description h6, .content em {
    font-family: Inter, system-ui, -apple-system, "system-ui", "Segoe UI", Roboto, sans-serif;
    margin: 0;
}

.content .header {
    overflow: hidden;
}

.header img {
    float: left;
    height: 66px;
    max-width: 132px;
    padding: 0 7px 0 0;
}

.technos {
    margin: 5px 0 10px 10px;
}

.technos img {
    max-height: 30px;
    margin: 4px;
    position: relative;
    cursor: pointer;
}

/* Styling tooltips - Ref.: https://calebjacob.github.io/tooltipster/#styling */
/* This is how you would create a custom secondary theme on top of tooltipster-punk: */
.tooltipster-sidetip.tooltipster-punk.tooltipster-punk-customized .tooltipster-box {

}

.tooltipster-sidetip.tooltipster-punk.tooltipster-punk-customized .tooltipster-content {
    font-size: 14px;
}

.content h3 {
    font-family: Poppins, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
    color: rgba(0,0,0,.9);
}

.content h4, .description h6 {
    font-family: Poppins, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
    color: rgba(0,0,0,.9);
}

.content h5, .content em {
    font-family: Poppins, sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: rgba(0,0,0,.6);
}
.content em {
    color: rgba(0,0,0,.9);
}

.content .description {
    font-size: 14px;
    line-height: 20px;
    margin-top: 12px;
    padding: 1px;
    text-align: justify;
    color: #6b7280;
}

.description h6 {
    font-weight: 600;
    margin: 9px 0 0 0;
}

.details {
    font-style: italic;
    font-size: 13px;
}

.timeline .alinea {
    display: inline-block;
    margin: 21px 12px 0 0;
}

.content .know-more-indicator {
    color: #718cc2;
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.content .know-more-indicator .know-more-text {
    position: relative;
    top: 2px;
    font-size: 12px;
}