body,h1 {font-family: "Lato", sans-serif}
body, html {height: 100%}
.bgimg {
  background-image: url('genusstreff_lorenzkirche.jpg');
  min-height: 100%;
  background-position: center;
  background-size: cover;
}
.flip-box {
  background-color: transparent;
  width: 397px;
  height: 397px;
  perspective: 1000px;
  margin:0 auto;
}

.flip-box img {
	width:397px;
	height:397px
}

.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transform-style: preserve-3d;
  
    animation-delay: 0s;
    animation-duration: 6s;
    animation-name: flipp;
    animation-iteration-count: infinite;

}

.flip-box-front, .flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-box-back {
  transform: rotateY(180deg);
}

.flip-box-back img {
	position: absolute;
	top:0;
	left:0;
	}
	
.eins {
    animation: eins 24s infinite;
	animation-delay: 0s;
	z-index:1;
}

.zwei {
	animation: zwei 24s infinite;
	animation-delay: 0s;
	z-index:1;
}

.drei {
	animation: drei 24s infinite;
	animation-delay: 0s;
	z-index:1;
}

.vier {
	animation: vier 24s infinite;
	animation-delay: 0s;
	z-index:1;
}

h1, h2 {
	font-weight: 300!important;
	line-height:1.1em;
	margin:0 0 20px 0;
	font-family: 'Lato', sans-serif;
		-webkit-text-shadow: 0 0 2px rgba(0,0,0,0.75), 0 0 6px rgba(0,0,0,0.75), 0 0 10px rgba(0,0,0,0.75);
		-moz-text-shadow: 0 0 2px rgba(0,0,0,0.75), 0 0 6px rgba(0,0,0,0.75), 0 0 10px rgba(0,0,0,0.75);
	text-shadow: 0 0 2px rgba(0,0,0,0.75), 0 0 6px rgba(0,0,0,0.75), 0 0 10px rgba(0,0,0,0.75);
}

.w3-jumbo {
    font-size: 48px !important;
}

@keyframes eins {
  0% { opacity: 1; }
  24% { opacity: 1; }
  25% { opacity: 0; }
  49% { opacity: 0; }
  50% { opacity: 0; }
  74% { opacity: 0; }
  75% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes zwei {
  0% { opacity: 0; }
  24% { opacity: 0; }
  25% { opacity: 1; }
  49% { opacity: 1; }
  50% { opacity: 0; }
  74% { opacity: 0; }
  75% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes drei {
  0% { opacity: 0; }
  24% { opacity: 0; }
  25% { opacity: 0; }
  49% { opacity: 0; }
  50% { opacity: 1; }
  74% { opacity: 1; }
  75% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes vier {
  0% { opacity: 0; }
  24% { opacity: 0; }
  25% { opacity: 0; }
  49% { opacity: 0; }
  50% { opacity: 0; }
  74% { opacity: 0; }
  75% { opacity: 1; }
  100% { opacity: 1; }
}
@keyframes flipp {
  0% {
  transform: rotateY(0deg);
  }
  50% {
  transform: rotateY(180deg);
  }
  100% {
  transform: rotateY(360deg);
  }
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/lato-v23-latin-300.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/lato-v23-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/lato-v23-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/lato-v23-latin-300.woff') format('woff'), /* Modern Browsers */
       url('fonts/lato-v23-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/lato-v23-latin-300.svg#Lato') format('svg'); /* Legacy iOS */
}