﻿*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  margin: 20px 0;
  1background: #6589F9;
}

p, h2, h3, h4 {
    font-family: 'BioRhyme', serif;
	font-size: 2rem;
	font-weight:normal;
}

.grid {
  /* max-width: 960px; */
  max-width: 400px;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background-image:url('../../img/bg01-kiba.png');
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
}

.kiepertbus{
	position:fixed;
	bottom:100px;
	left:-150px;
	width:200px;
	height:118px;
	background-image:url('../../img/schnecke02.png');
	background-repeat:no-repeat;
	z-index:100;
}

.kiepertbus {
    -webkit-transition: 21s ease-in-out;
    -moz-transition: 21s ease-in-out;
    -o-transition: 21s ease-in-out;
    transition: 21s ease-in-out;
}

.kiepertbus:hover {
    -webkit-transform: translate(130em,0);
    -moz-transform: translate(130em,0);
    -o-transform: translate(130em,0);
    -ms-transform: translate(130em,0);
    transform: translate(130em,0);
}

.vogel{
	position:fixed;
	top:120px;
	right:-110px;
	width:150px;
	height:130px;
	background-image:url('../../img/vogel02b.png');
	background-repeat:no-repeat;
	z-index:100;
}

.vogel {
    -webkit-transition: 21s ease-in-out;
    -moz-transition: 21s ease-in-out;
    -o-transition: 21s ease-in-out;
    transition: 21s ease-in-out;
}

.vogel:hover {
    -webkit-transform: translate(-130em,0);
    -moz-transform: translate(-130em,0);
    -o-transform: translate(-130em,0);
    -ms-transform: translate(-130em,0);
    transform: translate(-130em,0);
}


.text-center {
    text-align: center !important;
}

.card {
  position: relative;
  -webkit-transition: all .4s linear;
  -o-transition: all .4s linear;
  transition: all .4s linear;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  margin: 10px 5px 10px 5px;
}

.card,
.back,
.front {
  height: 120px;
  width: 120px;
}

.back,
.front {
  position: absolute;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

.front {
  background: #FAB942 url('../img/question-rm.gif') no-repeat center center / contain;
}

.back {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
  1background-color: #6589F9;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

.selected {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
}

.match .front {
  background: #6589F9 !important;
  opacity: 0.0;
}
