
/* Fortschrittsbalken */
.laden {
    background: rgba(0, 0, 0, 0) linear-gradient(90deg, #f00, #ffa500, #ff0, #008000, #00f, #800080) repeat scroll 0 0;
    height: 1.5%;
    width: 100%;
    z-index: 2;
    animation: 6s ease-out 1s normal none infinite running balken;
    bottom: -98.5%;
    position: relative;
}

@keyframes balken {
    0% {opacity: 0; width: 0;}
   10% {opacity: 0.2; width: 0;}
   80% {opacity: 0.8; width: 100%;}
  100% {opacity: 0; width: 100%;}
}

/* Pause-Funktion */
.pause {
    color: #eee;
    font: bolder 1.3em/2 Impact;
    left: 95%;
    opacity: 0;
    position: relative;
    top: 2%;
    transition: all 0.5s ease 0s;
    z-index: 2;
}

.pause::after {
    content: "I I";
}

#stapel:hover .pause, #stapel3:hover .pause {
    opacity: 1;
}


/* Stapel-Definition */

#stapel2 {
   margin-top: 67%;
}

#stapel1 {
    background: #999 none repeat scroll 0 0;
    border: 5px solid #eee;
    box-shadow: 1px 1px 5px 2px #777;
    cursor: pointer;
    margin: 1em auto -2em;
    overflow: hidden;
    position: inline-block;
    width: calc(100%-20px);
    position: relative;

}

#stapel3 {
    position: absolute;
    top: 0;
    bottom: 0;:
    left: 0;
    right: 0;
    width: 100%;
}


#stapel3 figure {
    margin: 0;
    opacity: 0;
    position: absolute;
    width: 100%;
}

#stapel3 figcaption {
    color: #fff;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    font: 1.3em serif;
    letter-spacing: 0.1em;
    position: relative;
    text-align: center;
    margin: 0 auto;
    max-width: 100%;
    opacity: 0;
    overflow: hidden;
    bottom: 20px;
    transition: all 1s ease 0s;
}

#stapel3 figcaption::after {
    background: #fff none repeat scroll 0 0;
    bottom: 10%;
    content: "";
    height: 0.1em;
    left: 0;
    position: absolute;
    top: 0;
    transform: translate3d(-100%, 0px, 0px);
    transition: transform 0.5s ease 0s;
    width: 100%;
}

#stapel3:hover figcaption, #stapel3:hover figcaption::after {
    opacity: 1;
    transform: translate3d(0px, 0px, 0px);
}


