main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    height: calc(100vh - 52px - 20px - 65px); /* gesamte höhe - header - footer - nav = höhe main */
}

section {
    width: calc(100% - 10px);
    padding: 5px;
    position: relative;
}

section.greeting {
    font-size: xx-large;
    text-align: center;
    max-width: 100%;
    text-wrap: wrap;
}

section.cards {
    height: 400px;
    max-width: 500px;
    overflow: hidden;
}

.cardWrapper {
    position: absolute;
    height: 100%;
    max-height: 350px;
    bottom: 40px;
}

.cardWrapper#card1 {
    left: 41px;
    transform: rotate(-15deg);
    margin-bottom: -10px;
    animation: card1 3s cubic-bezier(1,0,.62,.89);
}

@keyframes card1 {
    0%{transform: rotate(0);margin-bottom: 0;margin-left: calc(50% - 168px);}
    100%{transform: rotate(-15deg);margin-bottom: -10px; margin-left: 0;}
}

.cardWrapper#card2 {
    left: calc(50% - 127px);
}

.cardWrapper#card3 {
    right: 41px;
    transform: rotate(15deg);
    margin-bottom: -10px;
    animation: card3 3s cubic-bezier(1,0,.62,.89);
}

@keyframes card3 {
    0%{transform: rotate(0);margin-bottom: 0;margin-right: calc(50% - 168px);}
    100%{transform: rotate(15deg);margin-bottom: -10px; margin-right: 0;}
}

.cardWrapper > img {
    height: 100%;
}

section.search {
}