#content {
    margin-bottom: 4rem;
}


/* Media Queries */
/* Card sizing */
/* Colors */
/* Calculations */
/* Placeholders */
@media (min-width: 1024px) {
    #timeline .timeline-card:nth-child(odd) .timeline-card-head::after, #timeline .timeline-card:nth-child(even) .timeline-card-head::after {
        position: absolute;
        content: "";
        width: 0;
        height: 0;
        border-top: 15px solid transparent;
        border-bottom: 15px solid transparent;
    }
    #timeline .timeline-card:nth-child(odd) .timeline-card-head::before, #timeline .timeline-card:nth-child(even) .timeline-card-head::before {
        position: absolute;
        content: "";
        width: 9px;
        height: 9px;
        background-color: var(--color-second);
        border-radius: 9px;
        box-shadow: 0px 0px 2px 8px #f7f7f7;
    }
}
/* Some Cool Stuff */
.timeline-card:nth-child(1) {
    order: 1;
}
.timeline-card:nth-child(2) {
    order: 6;
}
.timeline-card:nth-child(3) {
    order: 2;
}
.timeline-card:nth-child(4) {
    order: 7;
}
.timeline-card:nth-child(5) {
    order: 3;
}
.timeline-card:nth-child(6) {
    order: 8;
}
.timeline-card:nth-child(7) {
    order: 4;
}
.timeline-card:nth-child(8) {
    order: 9;
}
.timeline-card:nth-child(9) {
    order: 5;
}
/* Border Box */
* {
    box-sizing: border-box;
}
/* Fonts */
timeline-card-body {
    font-family: Roboto;
}
#timeline {
    padding: 100px 0;
}
#timeline p.leader {
    text-align: center;
    max-width: 90%;
    margin: auto;
    margin-bottom: 45px;
}
#timeline .timeline-card-wrapper {
    position: relative;
    margin: auto;
}
@media (min-width: 1024px) {
    #timeline .timeline-card-wrapper {
        display: flex;
        flex-flow: column wrap;
        width: 1024px;
        height: calc(450px * 9 / 2);
        margin: 0 auto;
    }
}
#timeline .timeline-card-wrapper::after {
    z-index: 1;
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    border-left: 1px solid rgba(191, 191, 191, 1);
}
@media (min-width: 1024px) {
    #timeline .timeline-card-wrapper::after {
        border-left: 1px solid var(--color-main);
    }
}
#timeline .timeline-card {
    position: relative;
    display: block;
    margin: 10px auto 80px;
    max-width: 94%;
    z-index: 2;
}
#timeline .timeline-card > div {
    opacity: 0;
}

#timeline .timeline-card:nth-child(odd) > div:not(.active) {
    -webkit-animation: slide-out-left 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: slide-out-left 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
#timeline .timeline-card:nth-child(even) > div:not(.active) {
    -webkit-animation: slide-out-right 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: slide-out-right 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

#timeline .timeline-card:nth-child(odd) > div.active {
    -webkit-animation: slide-in-left 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: slide-in-left 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
#timeline .timeline-card:nth-child(even) > div.active {
    -webkit-animation: slide-in-right 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: slide-in-right 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@media (min-width: 480px) {
    #timeline .timeline-card {
        max-width: 60%;
    }
}
@media (min-width: 780px) {
    #timeline .timeline-card {
        max-width: 40%;
        max-width: 40%;
    }
}
@media (min-width: 1024px) {
    #timeline .timeline-card {
        max-width: 450px;
        height: 250px;
        margin: 16px;
        margin-top: 45px;
        margin-bottom: 45px;
    }
    #timeline .timeline-card:nth-child(odd) {
        margin-right: 45px;
    }
    #timeline .timeline-card:nth-child(odd) .timeline-card-head::after {
        border-left-width: 15px;
        border-left-style: solid;
        left: 100%;
    }
    #timeline .timeline-card:nth-child(odd) .timeline-card-head::before {
        left: 491.5px;
    }
    #timeline .timeline-card:nth-child(even) {
        margin-left: 45px;
    }
    #timeline .timeline-card:nth-child(even) .timeline-card-head::after {
        border-right-width: 15px;
        border-right-style: solid;
        right: 100%;
    }
    #timeline .timeline-card:nth-child(even) .timeline-card-head::before {
        right: 489.5px;
    }
    #timeline .timeline-card:nth-child(2) {
        margin-top: 180px;
    }
}
#timeline .timeline-card .timeline-card-head {
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: 400;
    border-radius: 20px 20px 0 0;
}
#timeline .timeline-card .timeline-card-head > div {
    display: flex;
    align-items: center;
    width: 100%;
}
#timeline .timeline-card .timeline-card-head .timeline-card-head-img {
    float: left;
    margin: 15px;
    padding: 5px;
    display: inline-flex;
    border-radius: 20px;
    background-color: #fff;
}
#timeline .timeline-card .timeline-card-head .timeline-card-head-img img {
    border-radius: 20px;
}
#timeline .timeline-card .timeline-card-head h2 {
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: inherit;
    letter-spacing: 2px;
    margin: 0;
    padding-bottom: 6px;
    line-height: 1rem;
    text-align: center;
}
@media (min-width: 480px) {
    #timeline .timeline-card .timeline-card-head h2 {
        /*font-size: 165%;*/
        line-height: 1.2rem;
    }
}
#timeline .timeline-card .timeline-card-body {
    background: #fff;
    border: 1px solid rgba(191, 191, 191, 1);
    border-top: 0;
    padding: 15px;
    border-radius: 0 0 20px 20px;
}
@media (min-width: 1024px) {
    #timeline .timeline-card .timeline-card-body {
        height: auto;
    }
}
#timeline .timeline-card .timeline-card-body p {
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 15px;
}

/* image */
.timeline-card--step1 .timeline-card-head {
    background-color: var(--color-main);
}
.timeline-card--step1 .timeline-card-head::after {
    border-color: var(--color-main);
}
.timeline-card--step2 .timeline-card-head {
    background-color: var(--color-main);
}
.timeline-card--step2 .timeline-card-head::after {
    border-color:var(--color-main);
}
.timeline-card--step3 .timeline-card-head {
    background-color: var(--color-main);
}
.timeline-card--step3 .timeline-card-head::after {
    border-color:var(--color-main);
}
.timeline-card--step4 .timeline-card-head {
    background-color: var(--color-main);
}
.timeline-card--step4 .timeline-card-head::after {
    border-color: var(--color-main);
}
.timeline-card--step5 .timeline-card-head {
    background-color: var(--color-main);
}
.timeline-card--step5 .timeline-card-head::after {
    border-color: var(--color-main);
}

.description-container{
    display: flex;
    align-items: center;
    flex-direction: column;
}


#description {
    margin: 2rem;
    font-size: 1.3rem;
    text-align: center;
    width: 60%;
    line-height: 2rem;
    background-color: var(--color-main);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

#description > p:not(:first-child) {
    margin-top: 20px;
}

.presentation-service{
    width: 80%;
    padding: 3rem;
    border: 2px solid var(--color-main);
    border-radius: 20px;
}

.presentation-service p{
    margin-bottom: 1rem;
}

.presentation-service ul li{
    list-style: inside;
    margin-top: 1rem;
}

@media only screen and (max-width:1024px) {
    .timeline-card-head > div {
        flex-direction: column;
    }
}

@media only screen and (max-width:650px) {
    #description {
        width: 100%;
        font-size: 1.1rem;
    }

    .presentation-service{
        width: 100%;
        padding: 1rem;
    }
    
    .presentation-service p {
        margin-bottom: 2rem;
    }
}