.timeline {
    background-color: #fff;
    box-shadow: 0 5px 25px 5px rgba(0, 0, 0, 0.2);
    width: 100%;
}

.timeline .swiper-container {
    height: 56rem;
    /* height: 70vh; */
    position: relative;
    width: 100%;
}

.timeline .swiper-wrapper {
    transition: 2s cubic-bezier(0.68, -0.4, 0.27, 1.34) 0.2s;
}

.timeline .swiper-slide {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.timeline .swiper-slide::after {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 100%;
    bottom: -10%;
    box-shadow: -230px 0 150px 60vw rgba(0, 0, 0, 0.7);
    content: "";
    height: 100%;
    position: absolute;
    right: -115%;
    width: 100%;
    z-index: 1;
}

.timeline .slide-content {
    max-width: 70%;
    position: absolute;
    right: 60%;
    text-align: center;
    transform: translate(50%, 0);
    -webkit-transform: translate(50%, 0);
    top: 13%;
    width: 80%;
    z-index: 2;
}

.timeline .swiper-slide .timeline-year {
    color: #d4a024;
    display: block;
    font-size: 42px;
    font-style: italic;
    font-weight: 300;
    margin-bottom: 50px;
    opacity: 0;
    transform: translate3d(20px, 0, 0);
    -webkit-transform: translate3d(20px, 0, 0);
    /* transition: .2s ease .2s; */
}

.timeline .swiper-slide .timeline-title {
    font-size: 34px;
    font-weight: 300;
    margin: 0 0 30px;
    opacity: 0;
    transform: translate3d(20px, 0, 0);
    -webkit-transform: translate3d(20px, 0, 0);
    transition: .2s ease .3s;
}

.timeline .swiper-slide .timeline-text {
    line-height: 1.5;
    opacity: 0;
    transform: translate3d(20px, 0, 0);
    -webkit-transform: translate3d(20px, 0, 0);
    transition: .2s ease .4s;
}

.timeline .swiper-slide-active .timeline-year {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    /* transition: .4s ease 1.6s; */
}

.timeline .swiper-slide-active .timeline-title {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    transition: .4s ease .3s;
}

.timeline .swiper-slide-active .timeline-text {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    transition: .4s ease .4s;
}

.timeline .swiper-pagination {
    display: none;
    flex-direction: column;
    font-size: 18px;
    font-style: italic;
    font-weight: 300;
    height: 100%;
    justify-content: center;
    right: 15% !important;
    z-index: 1;
}

.timeline .swiper-pagination::before {
    background-color: rgba(255, 255, 255, 0.2);
    content: "";
    height: 100%;
    left: -30px;
    position: absolute;
    top: 0;
    width: 1px;
}

.timeline .swiper-pagination-bullet {
    background: transparent;
    color: #d4a024;
    height: auto;
    margin: .45rem 0 !important;
    opacity: 1;
    position: relative;
    text-align: center;
    width: auto;
}

.timeline .swiper-pagination-bullet::before {
    background-color: #d4a024;
    border-radius: 100%;
    content: "";
    height: 6px;
    left: -32.5px;
    position: absolute;
    top: 8px;
    transform: scale(0);
    -webkit-transform: scale(0);
    transition: .2s;
    width: 6px;
}

.timeline .swiper-pagination-bullet-active {
    color: #d4a024;
}

.timeline .swiper-pagination-bullet-active::before {
    transform: scale(1);
    -webkit-transform: scale(1);
}

.timeline .swiper-button-next,
.timeline .swiper-button-prev {
    background-size: 20px 20px;
    height: 20px;
    margin-top: 0;
    top: 15%;
    transition: .2s;
    width: 20px;
    z-index: 2;
}

.timeline .swiper-button-prev {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23d4a024'%2F%3E%3C%2Fsvg%3E");
    left: 8%;
}

.timeline .swiper-button-prev:hover {
    transform: translateX(-3px);
    -webkit-transform: translateX(-3px);
}

.timeline .swiper-button-next {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23d4a024'%2F%3E%3C%2Fsvg%3E");
    right: 8%;
}

.timeline .swiper-button-next:hover {
    transform: translateX(3px);
    -webkit-transform: translateX(3px);
}

.slide-content {
    --slide-content-background-color: rgba(0, 0, 0, 0.25);
    --slide-content-hover-background-color: rgba(0, 0, 0, 0.65);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    overflow: hidden;
    position: relative;

    font-size: 16px;
    max-width: 40vw;
    position: absolute;
    right: 50%;
    text-align: center;
    transform: translate(50%, 0);
    -webkit-transform: translate(50%, 0);
    top: 13%;
    width: 80%;
    z-index: 2;
}

.fbds-content {
    /* background: var(--slide-content-background-color); */
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(0.5rem);
    -webkit-backdrop-filter: blur(0.5rem);
    border-bottom: var(--top-menu-border);
    border-radius: 0.5rem;
    box-shadow: var(--top-menu-shadow);
    padding: 1rem;
    text-align: right;

    .fbds-txt {
        margin-left: 30%;
    }
    .external-content {
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(0.5rem);
        border-radius: 0.5rem;
        color: var(--pm-color-offblack);
        margin-top: 3rem;
        padding: 1rem;
        text-align: left;
        transition: .2s ease .4s;
        width: 50%;
    }
}



@media screen and (min-width: 768px) {
    .timeline .swiper-slide::after {
        right: -30%;
        bottom: -8%;
        width: 240px;
        height: 50%;
        box-shadow: -230px 0 150px 50vw rgba(0, 0, 0, 0.7);
    }

    .timeline .swiper-slide-content {
        font-size: 16px;
        right: 30%;
        /* width: 50vw; */
        width: 45%;
        text-align: right;
        /* top: 50%; */
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);

        p {
            position: absolute;
            right: 0;
            width: 30vw;
        }
    }

    .timeline .swiper-slide .timeline-year {
        margin-bottom: 0;
        font-size: 32px;
    }

    .timeline .swiper-slide .timeline-title {
        font-size: 46px;
        margin: 0;
    }

    .timeline .swiper-pagination {
        display: flex;
    }

    .timeline .swiper-button-prev {
        top: 15%;
        left: auto;
        right: 15%;
        -webkit-transform: rotate(90deg) translate(0, 10px);
        transform: rotate(90deg) translate(0, 10px);
    }

    .timeline .swiper-button-prev:hover {
        -webkit-transform: rotate(90deg) translate(-3px, 10px);
        transform: rotate(90deg) translate(-3px, 10px);
    }

    .timeline .swiper-button-next {
        top: auto;
        bottom: 15%;
        right: 15%;
        -webkit-transform: rotate(90deg) translate(0, 10px);
        transform: rotate(90deg) translate(0, 10px);
    }

    .timeline .swiper-button-next:hover {
        -webkit-transform: rotate(90deg) translate(3px, 10px);
        transform: rotate(90deg) translate(3px, 10px);
    }
}

@media screen and (min-width: 1024px) {
    .timeline .swiper-slide::after {
        right: -20%;
        bottom: -12%;
        width: 240px;
        height: 50%;
        box-shadow: -230px 0 150px 39vw rgba(0, 0, 0, 0.7);
    }

    .timeline .swiper-slide-content {
        right: 25%;
    }
}
