.container {
    max-width: 100vw;
    width: 95%;
    margin: 0 auto;
}

headerscrolling {
    display: block;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    height: auto;
}

headerscrolling h2 {
    font-weight: 400;
}

.scroll-container {
    max-height: 100vh;
    min-height: 350px;
    height: auto;
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.scroll-container:nth-of-type(1) {
    background-color: rgba(240, 240, 240, 0.3);
}

.scroll-container:nth-of-type(2) {
    background-color: rgba(214, 214, 214, 0.3);
}

.scroll-container:nth-of-type(3) {
    background-color: rgba(215, 215, 215, 0.3);
}

.scroll-container:nth-of-type(4) {
    background-color: rgba(217, 217, 217, 0.3);
}

.scroll-container:nth-of-type(even) {
    flex-direction: row-reverse;
}

.scroll-element,
.scroll-caption {
    width: 50%;
}

.scroll-element {
    min-height: 350px;
    height: auto;
    background-color: rgba(255, 255, 255, 0);
}

.scroll-caption {
    margin: 1rem;
    font-size: 24pt;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

@media screen and (max-width: 650px) {
    .scroll-container,
    .scroll-container:nth-of-type(even) {
        flex-direction: column;
        align-content: inherit;
    }
    .scroll-element {
        height: 100%;
    }
    .scroll-element,
    .scroll-caption {
        width: 100%;
    }
}


/**Styling scrollable elements*/

.js-scroll {
    opacity: 0;
    transition: opacity 500ms;
}

.js-scroll.scrolled {
    opacity: 1;
}

.scrolled.fade-in {
    animation: fade-in 1s ease-in-out both;
}

.scrolled.fade-in-bottom {
    animation: fade-in-bottom 1s ease-in-out both;
}

.scrolled.slide-left {
    animation: slide-in-left 1s ease-in-out both;
}

.scrolled.slide-right {
    animation: slide-in-right 1s ease-in-out both;
}

@media (prefers-reduced-motion) {
    .js-scroll {
        opacity: 1;
    }
    .scrolled {
        animation: none !important;
    }
    .imgBordered {
        max-height: 150px;
        max-width: auto;
        padding: 5px;
        background-color: #ffffff;
        border: 8px solid #333333;
        border-radius: 10px;
        margin-right: 15px;
    }
    .startseiteText img {
        opacity: 1;
        object-fit: cover;
    }
}


/* ----------------------------------------------
   * Generated by Animista on 2021-2-11 23:32:31
   * Licensed under FreeBSD License.
   * See http://animista.net/license for more info. 
   * w: http://animista.net, t: @cssanimista
   * ---------------------------------------------- */

@keyframes slide-in-left {
    0% {
        -webkit-transform: translateX(-100vw);
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-in-right {
    0% {
        -webkit-transform: translateX(100vw);
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fade-in-bottom {
    0% {
        -webkit-transform: translateY(50px);
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}