[data-carousel-item] {
    transition: transform 0.7s ease-in-out !important;
}

body {
    font-family: "Lato", sans-serif;
    color: #1a202c;
    line-height: 1.5;
}

.timeline-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.title {
    font-size: 38px;
    color: #616161;
    font-weight: 800;
}

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

.timeline .swiper-container {
    height: 600px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

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

.timeline .swiper-slide {
    z-index: 0;
    height: 100%;
    width: 100%;
    position: relative;
    color: #fff;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.timeline .swiper-slide::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
    pointer-events: none;
    /* Damit es keine Klicks blockiert */
}

.timeline .swiper-slide-content {
    position: absolute;
    text-align: center;
    width: 80%;
    max-width: 500px;
    right: 50%;
    top: 13%;
    transform: translate(50%, 0);
    font-size: 12px;
    z-index: 2;
}

.timeline .swiper-slide .timeline-year {
    display: block;
    font-size: 42px;
    margin-bottom: 50px;
    transform: translate3d(20px, 0, 0);
    color: #b6252e;
    font-weight: 600;
    opacity: 0;
    transition: 0.2s ease 0.4s;
}

.timeline .swiper-slide .timeline-title {
    font-weight: 600;
    font-size: 32px;
    margin: 0 0 30px;
    opacity: 0;
    transform: translate3d(20px, 0, 0);
    transition: 0.2s ease 0.5s;
}

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

.timeline .swiper-slide-active .timeline-year {
    z-index: 10;
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: 0.4s ease 1.6s;
}

.timeline .swiper-slide-active .timeline-title {
    z-index: 10;
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: 0.4s ease 1.7s;
}

.timeline .swiper-slide-active .timeline-text {
    z-index: 10;
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: 0.4s ease 1.8s;
}

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

.timeline .swiper-pagination::before {
    content: "";
    position: absolute;
    left: -4vw;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: white;
}

.timeline .swiper-pagination-bullet {
    width: auto;
    height: auto;
    text-align: center;
    opacity: 1;
    background: transparent;
    color: white;
    margin: 15px 0 !important;
    position: relative;
}

.timeline .swiper-pagination-bullet::before {
    content: "";
    position: absolute;
    top: 8px;
    left: -4.15vw;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background-color: #b6252e;
    transform: scale(0);
    transition: 0.2s;
}

.timeline .swiper-pagination-bullet-active {
    font-weight: 500;
}

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

@media screen and (min-width: 768px) {
    .timeline .swiper-slide::after {
        right: 0%;
        bottom: 0%;
        width: 100%;
        height: 100%;
        background: linear-gradient(to left, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
        pointer-events: none;
        /* Damit es keine Klicks blockiert */
    }

    .timeline .swiper-slide-content {
        right: 30%;
        top: 50%;
        transform: translateY(-50%);
        width: 400px;
        font-size: 11px;
        text-align: right;
    }

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

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

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

}

@media screen and (min-width: 1024px) {
    .timeline .swiper-slide::after {
        right: 0%;
        bottom: 0%;
        width: 100%;
        height: 100%;
        background: linear-gradient(to left, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
        pointer-events: none;
        /* Damit es keine Klicks blockiert */
    }

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

@keyframes zoomInUp {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }

    60% {
        opacity: 1;
        transform: scale(1.05) translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.animate-zoomInUp {
    animation: zoomInUp 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    will-change: opacity, transform;
}

.hero-slider::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(37, 37, 37, 0) 75%, #011d2f 100%);
    z-index: 10;
}

#content {
    background-image: linear-gradient(to bottom, #011d2f, #003a63);

}