.item {
    display: flex;
    flex: auto;
    overflow-y: auto;
    padding: 0rem 1rem 0rem 1rem;
}

#timeline {
    position: relative;
    display: table;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5rem;
}

#timeline div:after {
    content: "";
    width: 2px;
    position: absolute;
    top: 0.5rem;
    bottom: 0rem;
    left: 60px;
    z-index: 1;
    background: #c5c5c5;
}

#timeline h3 {
    position: -webkit-sticky;
    position: sticky;
    top: 5rem;
    color: #888;
    margin: 0;
    font-size: 1em;
    font-weight: 400;
}

@media (min-width: 62em) {
    #timeline h3 {
        font-size: 1.1em;
    }
}

#timeline section.year {
    position: relative;
}

#timeline section.year:first-child section {
    margin-top: -1.3em;
    padding-bottom: 0px;
}

#timeline section.year section {
    position: relative;
    padding-bottom: 1.25em;
    margin-bottom: 2.2em;
}

#timeline section.year section h4 {
    position: absolute;
    bottom: 0;
    font-size: 0.9em;
    font-weight: 400;
    line-height: 1.2em;
    margin: 0;
    padding: 0 0 0 89px;
    color: #c5c5c5;
}

@media (min-width: 62em) {
    #timeline section.year section h4 {
        font-size: 1em;
    }
}

#timeline section.year section ul {
    list-style-type: none;
    padding: 0 0 0 75px;
    margin: -1.35rem 0 1em;
    max-width: 32rem;
    font-size: 1em;
}

@media (min-width: 62em) {
    #timeline section.year section ul {
        font-size: 1.1em;
        padding: 0 0 0 81px;
    }
}

#timeline section.year section ul:last-child {
    margin-bottom: 0;
}

#timeline section.year section ul:first-of-type:after {
    content: "";
    width: 10px;
    height: 10px;
    background: #c5c5c5;
    border: 2px solid #fff;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
    position: absolute;
    left: 54px;
    top: 3px;
    z-index: 2;
}

#timeline section.year section ul li {
    margin-left: 0.5rem;
}

#timeline section.year section ul li:before {
    content: "";
    margin-left: -0.5rem;
    padding-right: 0.3rem;
}

#timeline section.year section ul li:not(:first-child) {
    margin-top: 0.5rem;
}

#timeline section.year section ul li span.price {
    color: mediumturquoise;
    font-weight: 500;
}

#timeline a {
    text-decoration: none;
    border-bottom: 1px solid hsl(210deg 26.56% 60.33%);
    box-shadow: inset 0 -2px 0 hsl(210deg 26.56% 60.33%);
    color: inherit;
    transition: background 0.1s cubic-bezier(0.33, 0.66, 0.66, 1);
    color: hsl(210deg 26.56% 60.33%);
}

/* #timeline a:after {
    content: "";
    font-family: icomoon;
    display: inline;
    font-size: 0.9em"
} */

#timeline .grid-container {
    columns: 5 100px;
    column-gap: 1.5rem;
    width: 90%;
    margin: 0 auto;
    margin-top: 16px;
}

#timeline .grid-container div {
    width: 150px;
    margin: 0 1.5rem 1.5rem 0;
    display: inline-block;
    width: 100%;
    /* border: solid 2px black; */
    /* padding: 5px; */
    /* box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5); */
    /* box-shadow: 0 0 16px #333; */
    border-radius: 8px;
    transition: all 0.25s ease-in-out;
}

#timeline .grid-container div img {
    width: 100%;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    box-shadow: 2px 1px 8px 2px rgb(0 0 0 / 50%);
    cursor: pointer;
}

@media (hover: hover) {
    #timeline .grid-container div img:hover {
        transform: scale(1.1);
        /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
    }
}

#timeline .grid-container div p {
    margin: 5px 0;
    padding: 0;
    text-align: center;
    font-style: italic;
}


#timeline .yt-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

#timeline .yt-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    transition: all 0.25s ease-in-out;
    box-shadow: 2px 1px 8px 2px rgb(0 0 0 / 50%);
    /* bit of a hack to hide the timeline */
    z-index: 2;
}

#timeline .easeload {
    opacity: 0;
    -webkit-transition: all 2s ease;
    -moz-transition: all 2s ease;
    -ms-transition: all 2s ease;
    -o-transition: all 2s ease;
}

#timeline .easeload-gallery {
    opacity: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}
