html, body {
    /*background-color: #222C32;*/
    height: 100%;
    font-family: "Open Sans", sans-serif;
    box-sizing: border-box;
}

.cd-container {
    width: 90%;
    max-width: 1080px;
    margin: 0 auto;
    /*background: #2B343A;*/
    padding: 0 10%;
    border-radius: 2px;
}

.cd-container * {
    box-sizing: content-box;
}

.cd-container::after {
    content: "";
    display: table;
    clear: both;
}

/* --------------------------------

Main components

-------------------------------- */
.cd-timeline {
    position: relative;
    padding: 2em 0;
    margin-top: 2em;
    margin-bottom: 2em;/**/
}

.cd-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 25px;
    height: 100%;
    width: 4px;
    background: goldenrod;  /* timeline color */
}

@media only screen and (min-width: 1170px) {
    .cd-timeline {
        margin-top: 3em;
        margin-bottom: 3em;/**/
    }

    .cd-timeline::before {
        left: 50%;
        margin-left: -2px;
    }
}
.cd-timeline-block {
    position: relative;
    margin: 2em 0;
}

.cd-timeline-block:after {
    content: "";
    display: table;
    clear: both;
}

.cd-timeline-block:first-child {
    /*margin-top: 0;*/
}

.cd-timeline-block:last-child {
    margin-bottom: 0;
}

@media only screen and (min-width: 1170px) {
    .cd-timeline-block {
        /*margin: 4em 0;*/
        margin: -2em 0;
    }

    .cd-timeline-block:first-child {
        margin-top: 0;
    }

    .cd-timeline-block:last-child {
        margin-bottom: 0;
    }
}

.cd-timeline-img {
    position: absolute;
    top: 18px;
    left: 22px;
    width: 10px;
    height: 10px;
    border-radius: 0%;
    rotate: 45deg;
    box-shadow: 0 0 0 4px goldenrod, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05);
}

.cd-timeline-block:nth-of-type(even) .cd-timeline-img {
    background: rgb(224, 17, 95); /* #0DCAF0, ruby: rgb(224, 17, 95), emerald: #50C878*/
}

.cd-timeline-block:nth-of-type(odd) .cd-timeline-img {
    background: aquamarine; /* #0DCAF0, ruby: rgb(224, 17, 95), emerald: #50C878*/
}

.cd-timeline-block:nth-of-type(even) .cd-timeline-content {
    border-image: linear-gradient(45deg, gold, goldenrod, darkgoldenrod, rgb(224, 17, 95)) 1;
}

.cd-timeline-block:nth-of-type(odd) .cd-timeline-content {
    border-image: linear-gradient(45deg, gold, goldenrod, darkgoldenrod, aquamarine) 1;
}

@media only screen and (min-width: 1170px) {
    .cd-timeline-img {
        width: 10px;
        height: 10px;
        left: 50%;
        margin-left: -5px;
        margin-top: 15px;
        rotate: 45deg;
        /* Force Hardware Acceleration in WebKit */
        -webkit-transform: translateZ(0);
        -webkit-backface-visibility: hidden;
    }
}
.cd-timeline-content {
    position: relative;
    margin-left: 60px;
    margin-right: 30px;
    background: #333C42;
    border-radius: 2px;
    /*padding: 1em;*/
    display: flex;
    flex-direction: row;
    border-image: linear-gradient(45deg, gold, goldenrod, darkgoldenrod, aquamarine) 1;
    border-width: 3px 0px;
    border-style: solid;
    /*height: 13.3em;*/
    height: min-content;
}

.reveal{
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: 1.5s all ease;
}

.reveal.active{
    transform: translateY(0);
    opacity: 1;
}

.cd-timeline-content .timeline-content-info {
    background: #2B343A;
    padding: 5px 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.08);
    border-radius: 2px;
}

.cd-timeline-block:nth-child(even) .cd-timeline-content {
    flex-direction: row-reverse;
}
.cd-timeline-quest {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: fit-content;
    flex-grow: 1;
    padding: 1.6em;
}

.cd-timeline-quest h2 {
    /*color: #FFC107 !important;
    color: #0DCAF0 !important;*/
}

.cd-timeline-content {
    padding: 0;
}

.cd-timeline-content img {
    height: 13.3em;
    flex-grow: 1;
    margin: 0;
    /*border: 1px solid #FFC107;*/
}

.cd-timeline-block:nth-child(odd) img {
    margin-right: 20px;
}

.cd-timeline-block:nth-child(even) img {
    margin-left: 20px;
}

.cd-timeline-content .timeline-content-info i {
    margin-right: 5px;
}
.cd-timeline-content .timeline-content-info .timeline-content-info-title, .cd-timeline-content .timeline-content-info .timeline-content-info-date {
    width: calc(50% - 2px);
    display: inline-block;
}
@media (max-width: 500px) {
    .cd-timeline-content .timeline-content-info .timeline-content-info-title, .cd-timeline-content .timeline-content-info .timeline-content-info-date {
        display: block;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .cd-timeline-content {
        /*flex-direction: column;*/
    }

    .cd-timeline-content img {
        display: none;
    }
}

.cd-timeline-content .content-skills {
    font-size: 12px;
    padding: 0;
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.cd-timeline-content .content-skills li {
    background: #40484D;
    border-radius: 2px;
    display: inline-block;
    padding: 2px 10px;
    color: rgba(255, 255, 255, 0.7);
    margin: 3px 2px;
    text-align: center;
    flex-grow: 1;
}

.cd-timeline-content:after {
    content: "";
    display: table;
    clear: both;
}

.cd-timeline-content h2 {
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0;
    margin-bottom: 5px;
}

.cd-timeline-content p, .cd-timeline-content .cd-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-size: 0.8125rem;
}

.cd-timeline-content .cd-date {
    display: inline-block;
}

.cd-timeline-content p {
    margin: 1em 0;
    line-height: 1.6;
}

.cd-timeline-content::before {
    content: "";
    position: absolute;
    top: 16px;
    right: 100%;
    height: 0;
    width: 0;
    border: 7px solid transparent;
    border-right: 7px solid #333C42;
}

@media only screen and (min-width: 768px) {
    .cd-timeline-content h2 {
        font-size: 20px;
        font-size: 1.25rem;
    }

    .cd-timeline-content p {
        font-size: 16px;
        font-size: 1rem;
    }

    .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
        font-size: 14px;
        font-size: 0.875rem;
    }
}
@media only screen and (min-width: 1170px) {
    .cd-timeline-content {
        color: white;
        margin-left: 0;
        /*padding: 1.6em;*/
        width: 36%;
        margin: 0 5%;
    }

    .cd-timeline-content::before {
        top: 24px;
        left: 100%;
        border-color: transparent;
        border-left-color: #333C42;
    }

    .cd-timeline-content .cd-date {
        position: absolute;
        width: 100%;
        left: 122%;
        top: 6px;
        font-size: 16px;
        font-size: 1rem;
    }

    .cd-timeline-block:nth-child(even) .cd-timeline-content {
        float: right;
    }

    .cd-timeline-block:nth-child(even) .cd-timeline-content::before {
        top: 24px;
        left: auto;
        right: 100%;
        border-color: transparent;
        border-right-color: #333C42;
    }

    .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-read-more {
        float: right;
    }

    .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date {
        left: auto;
        right: 122%;
        text-align: right;
    }
}

.modal-title {
    font-variant: small-caps;
}

.work {
    display: inline-block;
}

.work-title {
    color: rgb(224, 17, 95);    /* rgb(224, 17, 95)
    font-style: italic; */
}

.years {
    font-size: smaller;
}