
/* = = = = = = = = = = = = = = = = = datei animation.css = = = = = = = = = = = = = = = = = = = = = = = = = */


/* ############################################################ */
/* diese datei regelt die css-animationen  */
/* 1. animation drehen = angewendet auf startseite index.html sowie unterseiten bei mausberührung (hover) auf den fotos */
/* 2. animation slide-left = angewendet auf startseite index.html bei mausberührung (hover) auf den pfeil-icons in den bereichen 1-4  */
/* 3. animation slide-top plus slide-left = angewendet auf startseite index.html bei mausberührung (hover) auf den social media icons in bereich4  */
/* ############################################################ */


/* ====== DREHEN ======  */

.drehen ,.drehen:hover {
transition: transform 10s ease-in-out;
}

.drehen:hover , .drehen a:hover, .drehen img:hover , .drehen i:hover , .drehen span:hover {
transform: rotate(2000deg);
}

/* ====== SLIDE  TOP ======  */

.slide-top:hover {
animation-name: slide-top;
animation-duration: 4s;
animation-iteration-count: 1;
animation-timing-function: linear;
}

@keyframes slide-top  {
0% {transform: translateY(0px);}
50% {transform: translateY(-30px);}
}

/* ====== SLIDE  Left ======  */

.slide-left:hover  {
animation-name: slide-left;
animation-duration: 1s;
animation-iteration-count: 1;
animation-timing-function: linear;
}


@keyframes slide-left  {
0% {transform: translateX(0px);}
50% {transform: translateX(-30px);}
}



/* / / / / / / / / / / / / / / / / / / / / / / code ende  / / / / / / / / / / / / / / / / / / / / / / / / */