section img{
    width: 20%;
    height: 20%;
    margin-top: 5%;
    float: left;
}

section {
    margin: auto;
    width: 90%;
    overflow-x: hidden;
}

h2{
    text-align: center;
}

h3{
    margin-top: 1%;
}

.trainer {
    display: flex;
    justify-content: flex-start;
    left: 0;
    align-items: center;
}

.beschreibung {
    margin:auto;
}


.trainerliste:nth-child(odd){
    background-color: yellow;
}

.slideleft{
    animation: slidetotheleft 3s ease;
    text-align: center;
}

.slideright{
    animation: slidetotheright 3s ease;
    text-align: center;
}

@media screen and (max-width: 992px) {
    .trainer {
        flex-direction: column;
        margin-bottom: 20%;
    }

    .trainer img {
        height: 57.5%;
        width: 57.5%;
    }
}

@keyframes slidetotheright {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0%);
        opacity: 1;
    }
}

@keyframes slidetotheleft {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0%);
        opacity: 1;
    }
}