@import url(https://fonts.googleapis.com/css?family=Merriweather:400,700,900);

#timeline {
    background-image: url("../img/textured_bg_tinted.webp");
    background-position: center;
    background-size: cover;
    background-repeat: repeat-x;
}

#timeline .section-color-overlay {
    background-color: #26232362;
    mix-blend-mode: multiply;
}

.timeline-image>img {
    height: 400px;
    border-radius: 15px;
    box-shadow: 0 0 8px 3px rgba(0, 0, 0, 0.651);
}

.block-content {
    min-height: 100dvh;
}

block-content p {
    font-size: 1.1em;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    margin: 0 auto 1em auto;
}

.block-content h2 {
    text-align: center;
    /* margin: 1em 0 0 0; */
    font-size: 3em;
    line-height: 1;
    letter-spacing: 0.02em;
}

@media all and (min-width: 40em) {
    .block-content h2 {
        font-size: 4.75em;
    }
}

.subtitle {
    font-family: "Merriweather", sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    text-align: center;
    font-size: 1.5em;
    margin: 0.5em 0;
}

.heading-group {
    margin: 0 0 3em 0;
}

.content h3 {
    font-size: 1.2em;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #fff;
}

@media all and (min-width: 40em) {
    .content h3 {
        font-size: 2.5em;
    }
}

h1,
h2,
h3 {
    font-family: "Merriweather", sans-serif;
    font-weight: 900;
}

p {
    font-family: "Merriweather", sans-serif;
    line-height: 1.5;
}

.l-block-spacing {
    min-height: 80vh;
    /* padding: 2em 0 4em 0; */
}

.l-contained {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media all and (min-width: 40em) {
    .l-contained {
        padding-left: 2em;
        padding-right: 2em;
    }
}

.timeline-list {
    padding-bottom: 1em;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-list:before {
    content: "";
    border-left: 5px solid #ccc;
    left: 90px;
    top: 2em;
    height: 100%;
    position: absolute;
    bottom: 0;
    top: 0;
    transform-origin: 0 0;
    animation: scaleVertical 3s 1s ease both 1;
}

.timeline-list:after {
    content: "";
    clear: both;
    position: absolute;
    bottom: 0px;
    left: 83px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: none repeat scroll 0% 0% #ddd;
    border: 5px solid #ddd;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    animation: revealScaleUp 0.75s 2.82s ease both 1;
}

.t-block-teal h2 {
    color: #fff;
}

.t-block-teal h3 {
    color: #034944;
}

.t-block-teal p {
    color: #034944;
}

.timeline-list li {
    margin: 0 0 3em 0;
    padding: 0 2em 0em 2em;
    position: relative;
}

.timeline-list li:before {
    content: "";
    position: absolute;
    top: 0px;
    left: 45.5px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: none repeat scroll 0% 0% #02aa9d;
    border: 5px solid #b32d2d;
    animation: revealScaleUp 0.75s 0s ease both 1;
}

.timeline-list li::marker {
    content: none;
}

.timeline-list {
    animation: reveal 2s 0 ease both 1;
}

.timeline-list li .content {
    animation: revealFromLeft 0.5s 0s ease both 1;
}

.timeline-list li:nth-child(1):before {
    animation-delay: 0.85s;
}

.timeline-list li:nth-child(1) .content {
    animation-delay: 1.05s;
}

.timeline-list li:nth-child(2):before {
    animation-delay: 1.2s;
}

.timeline-list li:nth-child(2) .content {
    animation-delay: 1.5s;
}

.timeline-list li:nth-child(3):before {
    animation-delay: 1.8s;
}

.timeline-list li:nth-child(3) .content {
    animation-delay: 2.1s;
}

.timeline-list li:nth-child(4):before {
    animation-delay: 2s;
}

.timeline-list li:nth-child(4) .content {
    animation-delay: 2.3s;
}

.timeline-list li:nth-child(5):before {
    animation-delay: 2.1s;
}

.timeline-list li:nth-child(5) .content {
    animation-delay: 2.5s;
}

.timeline-list li:nth-child(6):before {
    animation-delay: 2.4s;
}

.timeline-list li:nth-child(6) .content {
    animation-delay: 2.7s;
}

@keyframes revealFromLeft {
    0% {
        transform: translateX(-1em);
        opacity: 0;
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes reveal {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes scaleVertical {
    0% {
        transform: scaleY(0);
    }

    100% {
        transform: scaleY(1);
    }
}

@keyframes revealScaleUp {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    50% {
        opacity: 1;
        transform: scale(1.3);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .content h3 {
        font-size: 12px;
    }

    .content h5 {
        font-size: 12px;
    }

    .timeline-image>img {
        height: 100px;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .content h3 {
        font-size: 20px;
    }

    .content h5 {
        font-size: 16px;
    }

    .timeline-image>img {
        height: 200px;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .content h3 {
        font-size: 22px;
    }

    .timeline-image>img {
        height: 200px;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .content h3 {
        font-size: 30px;
    }

    .timeline-list:before {
        left: 50px;
    }

    .timeline-list li:before {
        left: 5px;
    }

    .timeline-list:after {
        left: 42.5px;
    }

    .timeline-image>img {
        height: 250px;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1100px) {
    .content h3 {
        font-size: 30px;
    }

    .timeline-list:before {
        left: 50px;
    }

    .timeline-list li:before {
        left: 5px;
    }

    .timeline-image>img {
        height: 250px;
    }
}

@media only screen and (min-width: 1350px) {
    .content h3 {
        font-size: 36px;
    }

    .timeline-list:before {
        left: 20px;
    }

    .timeline-list li:before {
        left: -24px;
    }

    .timeline-list:after {
        left: 12.5px;
    }

    .timeline-image>img {
        height: 400px;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1500px) {
    .content h3 {
        font-size: 36px;
    }

    .timeline-image>img {
        height: 400px;
    }
}