*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.tlbody {
    font: normal 12px 'Titillium Web', sans-serif;
    background: linear-gradient(90deg, #544e5a, #60727c);
    color: #3c3f64;
    overflow-x: hidden;
    padding-bottom: 10px;
}
/* width of centerline */
.timeline ul li {
    list-style-type: none;
    position: relative;
    width: 6px;
    margin: 0 auto;
    padding-top: 50px;
    background: #fff;
}
/* event line markers */
.timeline ul li::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -35px;
    transform: translateX(-50%) rotate(45deg);
    width: 20px;
    height: 20px;
    z-index: 2;
    background: #eee;
}
/* width of the event blocks */
.timeline ul li div {
    position: relative;
    bottom: 0;
    width: 500px;
    padding: 10px;
    background: #fff;
    box-shadow: 4px 13px 30px 1px rgba(252, 56, 56, 0.2);
    border-radius: 5px;
    display: flex;
    align-items: center;
}
/* the year/time boxes */
.timeline ul li div time {
    position: absolute;
    background: #f1d1cf;
    width: 80px;
    height: 30px;
    top: -25px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 2px;
    font-weight: bold;
}
/* height of event box */
.timeline ul li div div {
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 1px;
}
.timeline ul li div div p {
    text-align: center;
}
.timeline ul li div div img {
    margin:1px;
    max-width:100%;
    max-height:100%;
    vertical-align: middle;
}
/* space between boxes in event */
.timeline ul li div .discovery {
    margin-right: 3px;
}
/* placing of event boxes */
.timeline ul li:nth-of-type(odd) > div {
    left: -250px;
}
.timeline ul li:nth-of-type(even) > div {
    left: -250px;
}
/* time to fadein */
.timeline ul li div {
    visibility: hidden;
    opacity: 0;
    transition: all 1s ease-in-out;
}
.timeline ul li:nth-of-type(odd) div {
    transform: translate3d(100px, -10px, 0) rotate(10deg);
}
.timeline ul li:nth-of-type(even) div {
    transform: translate3d(-100px, -10px, 0) rotate(10deg);
}
.timeline ul li.in-view div {
    transform: none;
    visibility: visible;
    opacity: 1;
}
@media screen and (max-width: 900px) {
    .timeline ul li {
        margin-left: 20px;
   }
   .timeline ul li div {
        width: calc(100vw - 91px);
        flex-direction: column;
   }

    /* .timeline ul li div div {
        width: 95%;
        margin: 2px;
   } */
    .timeline ul li:nth-of-type(even) > div {
        left: 20px;
    }
    .timeline ul li:nth-of-type(odd) > div {
        left: 20px;
    }

@media screen and (max-width: 600px) {
    /* body {
        background: #8bfff4;
   } */
    .timeline ul li {
        margin-left: 20px;
   }
    .timeline ul li div {
        width: calc(100vw - 91px);
   }
    .timeline ul li:nth-of-type(even) > div {
        left: 20px;
   }
}
}