@font-face {
    font-family: 'orkney-regular';
    src: url('../fonts/orkney-regular.otf') format('opentype');
  }

:root {
    --color: skyblue;
    --lineColor: rgba(223, 1, 30, 0.5);
    --fontColor: rgba(200, 184, 219);
    --bgColor1: #222;
    --bgColor2: #444;
    --yearBgColor: #333;
    --breakpoint: 700px;
}

h1 {
    text-align: center;
}

.timeline {
    position: relative;
    padding: 1rem;
    margin: 0 auto;
    max-width: 1300px;
    z-index: -45;
}




@media screen and (min-width: var(--breakpoint)) {
    .timeline {
        padding: 2rem;
    }
    
}

.timeline__item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border: 2px solid var(--lineColor);
    border-image: linear-gradient(to right, var(--color) 0%, var(--lineColor) 100%);
    border-image-slice: 1;
    position: relative;
    clear: both;
}



@media screen and (min-width: var(--breakpoint)) {
    .timeline__item {
        width: 44%;
        margin: 1rem;
    }
    .timeline__item:nth-of-type(2n) {
        float: right;
        margin: 1rem;
        border-image: linear-gradient(to right, var(--lineColor) 0%, var(--color) 100%);
        border-image-slice: 1;

        .timeline__item::before {
            right: auto;
            left: -10px;
            border-color: transparent transparent var(--lineColor) var(--lineColor);
        }
    }
}

.timeline__item--year {
    text-align: center;
    margin: 0 48px 0 auto;
    font-size: 1.8rem;
    line-height: 1;
    border-image: none;
    padding: .5rem 1rem 1rem;
    border: none;

}



@media screen and (min-width: var(--breakpoint)) {
    .timeline__item--year {
        text-align: center;
        margin: 0 auto;
    }
    .timeline__item--year:nth-of-type(2n) {
        float: none;
        margin: 0 auto;
        border-image: none;

       
    }
}

@media (max-width: 425px) {

    .poster{
        width: 50vw;
    }

}
.timeline__title {
    margin: 0;
    font-size: 1.5em;
}

.timeline__blurb {
    line-height: 1.5;
    font-size: 1rem;
    margin: .5rem 0 0;
}