/* The palette lives in components.css, which info_template.html loads before this
   file. A duplicate :root used to sit here and had drifted: it still declared the
   pre-fix --text-muted (#6c757d, 4.30:1 on the footer) and --focus-ring (#a7a77b,
   2.48:1), so both accessibility fixes were silently reverted on About and
   Institutional Accounts. Inherit the canonical tokens instead of restating them. */

.main {
    background-color: var(--surface-subtle);
}

.main_title {
    min-height: 35vh;
    background-color: var(--brand-primary);
    color: var(--surface-subtle)
}

.title_text_secondary {
    color: var(--border-color);
}

.info-card {
    padding: 3rem;
    border-radius: 0px;
    position: relative;
    background-color: var(--surface-subtle);
    border-bottom: 0;
    border-right: 0;
}

.info-card::after {
    content: " ";
    position: absolute;
    left: -1.2rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 0.3rem var(--brand-primary) solid;
    background-color: var(--link-color);
    z-index: 10;
}

#first {
    margin-top: 5rem;
}

.timeline-box {
    width: 20px;
    height: 100%;
    /* background-color: grey; */
}

.timeline_content {
    width: 60%;
    margin-left: 25%;
    margin-right: 15%;
    border-left: 0.3rem solid var(--brand-primary);
}

.timeline {
    padding: 0;
    width: 100%;
}

.scroll-follower {
    position: sticky;
    top: 50%;
    width: 1rem;
    background-color: var(--link-color-strong);
    height: 3rem;
}

@keyframes scroll-up {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0%);
    }
}

.move_up {
    animation-name: scroll-up;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.side_image {
    position: absolute;
    left: -15rem;
    width: 12rem;
    border-radius: 10px;
}

@media screen and (max-width: 1200px) {
    .side_image {
        left: -10rem;
        width: 8rem;
    }
    .timeline_content {
        width: 70%;
        margin-right: 10%;
    }
}

@media screen and (max-width: 576px) {
    .side_image {
        display: none;
    }
    .timeline_content {
        width: 90%;
        margin: 0 5%;
    }
}