/* Media Queries */

/* Card sizing */

/* Colors */

/* Calculations */

/* Placeholders */

@media (min-width: 1000px) {
    #timeline .mt-card:nth-child(even) .head::after,
    #timeline .mt-card:nth-child(odd) .head::after {
        position: absolute;
        content: "";
        width: 0;
        height: 0;
        border-top: 15px solid transparent;
        border-bottom: 15px solid transparent;
    }

    #timeline .mt-card:nth-child(even) .head::before,
    #timeline .mt-card:nth-child(odd) .head::before {
        position: absolute;
        content: "";
        width: 9px;
        height: 9px;
        background-color: #bdbdbd;
        border-radius: 9px;
        box-shadow: 0px 0px 2px 8px #fff;
    }
}

/* Some Cool Stuff */

.mt-card:nth-child(1) {
    order: 1;
}

.mt-card:nth-child(2) {
    order: 5;
}

.mt-card:nth-child(3) {
    order: 2;
}

.mt-card:nth-child(4) {
    order: 6;
}

.mt-card:nth-child(5) {
    order: 3;
}

.mt-card:nth-child(6) {
    order: 7;
}

/* Border Box */

* {
    box-sizing: border-box;
}

/* Fonts */

body {
    font-family: Roboto;
}

#timeline {
    padding: 100px 0;
    background: #fff;
    border-top: none;
    border-bottom: none;
}

#timeline h1 {
    text-align: center;
    font-size: 3rem;
    font-weight: 200;
    margin-bottom: 20px;
}

#timeline p.leader {
    text-align: center;
    max-width: 90%;
    margin: auto;
    margin-bottom: 45px;
}

#timeline .mt-card-wrapper {
    position: relative;
    margin: auto;
}

@media (min-width: 1000px) {
    #timeline .mt-card-wrapper {
        display: flex;
        flex-flow: column wrap;
        width: 1170px;
        height: 1650px;
        margin: 0 auto;
    }
}

#timeline .mt-card-wrapper::after {
    z-index: 1;
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    border-left: none;
}

@media (min-width: 1000px) {
    #timeline .mt-card-wrapper::after {
        border-left: 1px solid #bdbdbd;
    }
}

#timeline .mt-card {
    position: relative;
    display: block;
    margin: 10px auto 80px;
    max-width: 94%;
    z-index: 2;
}

@media (min-width: 480px) {
    #timeline .mt-card {
        max-width: 60%;
        box-shadow: 0px 1px 22px 4px rgba(0, 0, 0, 0.07);
    }
}

@media (min-width: 720px) {
    #timeline .mt-card {
        max-width: 40%;
    }
}

@media (min-width: 1000px) {
    #timeline .mt-card {
        max-width: 450px;
        height: 400px;
        margin: 90px;
        margin-top: 45px;
        margin-bottom: 45px;
    }

    #timeline .mt-card:nth-child(odd) {
        margin-right: 45px;
    }

    #timeline .mt-card:nth-child(odd) .head::after {
        border-left-width: 15px;
        border-left-style: solid;
        left: 100%;
    }

    #timeline .mt-card:nth-child(odd) .head::before {
        left: 491.5px;
    }

    #timeline .mt-card:nth-child(even) {
        margin-left: 45px;
    }

    #timeline .mt-card:nth-child(even) .head::after {
        border-right-width: 15px;
        border-right-style: solid;
        right: 100%;
    }

    #timeline .mt-card:nth-child(even) .head::before {
        right: 489.5px;
    }

    #timeline .mt-card:nth-child(2) {
        margin-top: 180px;
    }
}

#timeline .mt-card .head {
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: 400;
}

#timeline .mt-card .head .number-box {
    display: inline;
    float: left;
    margin: 15px;
    padding: 10px;
    font-size: 35px;
    line-height: 35px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.17);
}

#timeline .mt-card .head h2 {
    text-transform: uppercase;
    font-size: 1.3rem;
    font-weight: inherit;
    letter-spacing: 2px;
    margin: 0;
    padding-bottom: 6px;
    line-height: 1rem;
}

@media (min-width: 480px) {
    #timeline .mt-card .head h2 {
        font-size: 165%;
        line-height: 1.2rem;
    }
}

#timeline .mt-card .head h2 span {
    display: block;
    font-size: 0.6rem;
    margin: 0;
}

@media (min-width: 480px) {
    #timeline .mt-card .head h2 span {
        font-size: 0.8rem;
    }
}

#timeline .mt-card .body {
    background: #fff;
    border: none;
    border-top: 0;
    padding: 15px;
}

@media (min-width: 1000px) {
    #timeline .mt-card .body {
        height: 315px;
    }
}

#timeline .mt-card .body p {
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 15px;
}

#timeline .mt-card .body img {
    display: block;
    width: 100%;
}

#timeline .mt-card--step1 {
    background-color: #46b8e9;
}

#timeline .mt-card--step1 .head::after {
    border-color: #46b8e9;
}

#timeline .mt-card--step2 {
    background-color: #3ee9d1;
}

#timeline .mt-card--step2 .head::after {
    border-color: #3ee9d1;
}

#timeline .mt-card--step3 {
    background-color: #ce43eb;
}

#timeline .mt-card--step3 .head::after {
    border-color: #ce43eb;
}

#timeline .mt-card--step4 {
    background-color: #4d92eb;
}

#timeline .mt-card--step4 .head::after {
    border-color: #4d92eb;
}

#timeline .mt-card--step5 {
    background-color: #46b8e9;
}

#timeline .mt-card--step5 .head::after {
    border-color: #46b8e9;
}

#timeline .mt-card--step6 {
    background-color: #3ee9d1;
}

#timeline .mt-card--step6 .head::after {
    border-color: #3ee9d1;
}
