/* Fonts */
@font-face {
    font-family: 'kongtextregular';
    src: url('../font/kongtext-webfont.woff2') format('woff2'),
         url('../font/kongtext-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

body{
  background: #000;
  font-family: 'kongtextregular';
}


/* Transition */

.flip-enter-active,
.flip-leave-active
 {
  transition: transform 0.2s ease-out;
}
.flip-enter {
  transform: rotateY(90deg);
}
.flip-leave-to {
  transform: rotateY(90deg);
}

/* Social */
#icons{
  position: fixed;
  bottom: 10px;
  right: 15px;
  z-index: 100;
}

/* App */

#app{
  height: 70vh;
  z-index: 0;
  padding: 10% 5% 20% 5%;
  font-family: 'kongtextregular';
  overflow: scroll;
}

#app::-webkit-scrollbar {
    display: none;
}

#app h1{
  color: #fff;
  font-size: 1.5em;
  text-align: center;
  text-shadow: 2px 2px #208fd8;
  margin-bottom: 40px;
}

#app h1 span{
  animation: change-color 4s ease infinite;
}

#randomize{
  position: fixed;
  bottom: 50px;
  width: 30% !important;
  margin: 20% 35% 10% 35%;
  left: 0;
  z-index: 100;
  display: block;
  animation: randomizemove 3s ease infinite;
}


#randomize.active{
  animation: randomizeactivemove 0.8s linear;
  animation-iteration-count: 1;
}

@media only screen and (min-width: 768px) {
  #app{
    height: 85vh;
    overflow-x: hidden;
    width: 50%;
    margin-left: 25%;
  }
  #randomize{
    width: 10% !important;
    margin: 20% 45% 10% 45%;
    animation: none;
    bottom: 10px;
  }

  @keyframes randomizemove {
    0% {
      bottom: 50px;
      margin: 20% 45% 10% 45%;
    }
    10% {
      bottom: 53px;
      margin: 20% 35% 10% 31%;
    }
    20% {
      bottom: 46px;
      margin: 20% 35% 10% 34%;
    }
    30% {
      bottom: 49px;
      margin: 20% 35% 10% 38%;
    }
    40% {
      bottom: 44px;
      margin: 20% 35% 10% 35%;
    }
    50% {
      bottom: 58px;
      margin: 20% 35% 10% 30%;
    }
    60% {
      bottom: 53px;
      margin: 20% 35% 10% 40%;
    }
    70% {
      bottom: 46px;
      margin: 20% 35% 10% 36%;
    }
    80% {
      bottom: 58px;
      margin: 20% 25% 10% 30%;
    }
    90% {
      bottom: 100px;
      margin: 20% 35% 10% 32%;
    }
    100% {
      bottom: 52px;
      margin: 20% 35% 10% 35%;
    }
  }
}

@keyframes randomizeactivemove {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(0.4);
  }

  80% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes randomizemove {
  0% {
    bottom: 50px;
    margin: 20% 35% 10% 35%;
  }
  10% {
    bottom: 53px;
    margin: 20% 35% 10% 31%;
  }
  20% {
    bottom: 46px;
    margin: 20% 35% 10% 34%;
  }
  30% {
    bottom: 49px;
    margin: 20% 35% 10% 38%;
  }
  40% {
    bottom: 44px;
    margin: 20% 35% 10% 35%;
  }
  50% {
    bottom: 58px;
    margin: 20% 35% 10% 30%;
  }
  60% {
    bottom: 53px;
    margin: 20% 35% 10% 40%;
  }
  70% {
    bottom: 46px;
    margin: 20% 35% 10% 36%;
  }
  80% {
    bottom: 58px;
    margin: 20% 25% 10% 30%;
  }
  90% {
    bottom: 100px;
    margin: 20% 35% 10% 32%;
  }
  100% {
    bottom: 52px;
    margin: 20% 35% 10% 35%;
  }
}

@keyframes change-color {
  0% {
    color: red;
  }
  24% {
    color: red;
  }
  25% {
    color: violet;
  }
  49% {
    color: violet;
  }
  50% {
    color: yellow;
  }
  74% {
    color: yellow;
  }
  75% {
    color: blue;
  }
  100% {
    color: blue;
  }
}

/* Text */
#app h2{
  color: #fff;
  font-size: 1.3em;
  text-align: center;
  text-shadow: 2px 2px #208fd8;
  margin: 20px 0;
}

#app h3{
  color: #fff;
  font-size: 1.1em;
  text-align: center;
  margin: 20px 0;
}

#app p{
  color: #fff;
  font-size: 1em;
  text-align: center;
}

/* Assets */
#app iframe, #app img{
  width: 100%;
}

#app audio{
  width: 100%;
}

/* Background */
#bg{
  width: 100%;
  position:fixed;
  bottom:-100px;
  z-index: 99;
}
@media only screen and (max-width: 768px) {
  #bg img{
    animation: bgmove 60s linear infinite;
  }
}

@keyframes bgmove {
  0% {
    margin-left:0;
    bottom: 100px;
  }
  50% {
    margin-left: -1000px;
    bottom: -120px;
  }
  100% {
    margin-left: 0;
    bottom: 100px;
  }
}

@keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}
@-webkit-keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}
@-moz-keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}
@-ms-keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}

@keyframes move-clouds-back {
    from {background-position:0 0;}
    to {background-position:10000px 0;}
}
@-webkit-keyframes move-clouds-back {
    from {background-position:0 0;}
    to {background-position:10000px 0;}
}
@-moz-keyframes move-clouds-back {
    from {background-position:0 0;}
    to {background-position:10000px 0;}
}
@-ms-keyframes move-clouds-back {
    from {background-position: 0;}
    to {background-position:10000px 0;}
}

.stars, .twinkling {
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  width:100%;
  height:100%;
  display:block;
}

.stars {
  background: url('../img/stars.jpg') repeat top center;
  z-index:-100;
}

.twinkling{
  background:transparent url('../img/twinkling.png') repeat top center;
  z-index:-99;

  -moz-animation:move-twink-back 200s linear infinite;
  -ms-animation:move-twink-back 200s linear infinite;
  -o-animation:move-twink-back 200s linear infinite;
  -webkit-animation:move-twink-back 200s linear infinite;
  animation:move-twink-back 200s linear infinite;
}

/***** Content *****/

/* Logbuch */
#app .logbuch span{
  color: #fff;
  font-size: 0.8em;
  display: block;
  text-align: center;
}

#app .logbuch .images{
  margin-top: 20px;
}

#app .logbuch img{
  border: 5px dashed #fff;
  margin: 10px 0;
}


/* Spinning Heads */

#app .spinning_heads .head{
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  background: url(../img/animation/floriam.png);
  background-size: 20%;
  z-index: 100;
  -moz-animation:blink 0.3s ease infinite;
  -ms-animation:blink 0.3s ease infinite;
  -o-animation:blink 0.3s ease infinite;
  -webkit-animation:blink  0.3s ease infinite;
  animation:blink  0.3s ease infinite;
}

#app .spinning_heads .head.dennit{
  background: url(../img/animation/dennit.jpg);
}
@keyframes blink  {
  from {opacity: 100; background-size: 20%;}
  to {opacity: 0; background-size: 40%;}
}
@-webkit-keyframes blink  {
  from {opacity: 100; background-size: 20%;}
  to {opacity: 0; background-size: 40%;}
}
@-moz-keyframes blink  {
  from {opacity: 100; background-size: 20%;}
  to {opacity: 0; background-size: 40%;}
}
@-ms-keyframes blink  {
  from {opacity: 100; background-size: 20%;}
  to {opacity: 0; background-size: 40%;}
}

/* Error */
#error_div{
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: fixed;
  background: red;
  z-index: 99;
}

#error_div h2{
  margin: 40% 0 0 0;
}

/* Booom */
#app #logbuch_frost_2018 h3 .o1{
  color: red;
  animation: change-color-1 4s ease infinite;
}
#app #logbuch_frost_2018 h3 .o2{
  color: green;
  animation: change-color-2 4s ease infinite;
}
#app #logbuch_frost_2018 h3 .o3{
  color: yellow;
  animation: change-color-3 4s ease infinite;
}

@keyframes change-color-1 {
  0% {
    color: red;
  }
  24% {
    color: red;
  }
  25% {
    color: violet;
  }
  49% {
    color: violet;
  }
  50% {
    color: yellow;
  }
  74% {
    color: yellow;
  }
  75% {
    color: blue;
  }
  100% {
    color: blue;
  }
}

@keyframes change-color-2 {
  0% {
    color: blue;
  }
  24% {
    color: blue;
  }
  25% {
    color: pink;
  }
  49% {
    color: pink;
  }
  50% {
    color: red;
  }
  74% {
    color: red;
  }
  75% {
    color: violet;
  }
  100% {
    color: violet;
  }
}

@keyframes change-color-3 {
  0% {
    color: yellow;
  }
  24% {
    color: yellow;
  }
  25% {
    color: green
  }
  49% {
    color: green;
  }
  50% {
    color: orange;
  }
  74% {
    color: orange;
  }
  75% {
    color: white;
  }
  100% {
    color: white;
  }
}

/* Bier */

#fill{
  margin: 0 auto;
  display: block;
  width: 300px;
  margin-top:20px;
  margin-bottom: 20px;
}

.glass {
  height: 300px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  top: -20px;
  width: 248px;
}

.glass.active{
  animation: glassactivemove 0.8s linear;
  animation-iteration-count: 1;
}

@keyframes glassactivemove {
  0% {
    transform: skew(0deg);
  }
  50% {
    transform: rotate(-10deg);
  }
  100% {
    transform: skew(0deg);
  }
}

.glass div { position: absolute; }

.pour {
  position: absolute;
  left: 45%;
  width: 20px;
  height: 0px;
  background-color: #edaf32;
  border-radius: 10px
}

#beaker {
  border: 10px solid #FFF;
  border-top: 0;
  border-radius: 0 0 30px 30px;
  height: 200px;
  left: 14px;
  bottom: 0;
  width: 200px;
}

#liquid {
  background-color: #edaf32;
  border: 10px solid #edaf32;
  border-radius: 0 0 20px 20px;
  bottom: 0;
  height: 190px;
  overflow: hidden;
  width: 180px;
}

#liquid:after {
  background-color: rgba(255, 255, 255, 0.25);
  bottom: -10px;
  content: '';
  height: 200px;
  left: -40px;
  position: absolute;
  transform: rotate(30deg);
  -webkit-transform: rotate(15deg);
  width: 110px;
}

#liquid .bubble {
  -webkit-animation-name: bubble;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  background-color: rgba(255, 255, 255, 0.2);
  bottom: 0;
  border-radius: 10px;
  height: 20px;
  width: 20px;
}

@-webkit-keyframes bubble {
  0% { bottom: 0; }

   50% {
     background-color: rgba(255, 255, 255, 0.2);
      bottom: 80px;
   }

   100% {
     background-color: rgba(255, 255, 255, 0);
      bottom: 160px;
   }
}

.bubble1 {
  left: 10px;
  -webkit-animation-delay: 1000ms;
  -webkit-animation-duration: 1000ms;
}

.bubble2 {
  left: 50px;
  -webkit-animation-delay: 700ms;
  -webkit-animation-duration: 1100ms;
}

.bubble3 {
  left: 100px;
  -webkit-animation-delay: 1200ms;
  -webkit-animation-duration: 1300ms;
}

.bubble4 {
  left: 130px;
  -webkit-animation-delay: 1100ms;
  -webkit-animation-duration: 700ms;
}

.bubble5 {
  left: 170px;
  -webkit-animation-delay: 1300ms;
  -webkit-animation-duration: 800ms;
}

/* Foam */

.beer-foam {
  position: absolute;
  bottom: 200px;
}

.foam-1, .foam-2, .foam-3, .foam-4,
.foam-5, .foam-6, .foam-7 {
  float: left;
  position: absolute;
  z-index: 999;
  width: 50px;
  height: 50px;
  border-radius: 30px;
  background-color: #fefefe;
}
.foam-1 {
  top: -30px;
  left: -20px;
}
.foam-2 {
  top: -35px;
  left: 10px;
}
.foam-3 {
  top: -25px;
  left: 40px;
}
.foam-4 {
  top: -35px;
  left: 70px;
}
.foam-5 {
  top: -30px;
  left: 100px;
}
.foam-6 {
  top: -20px;
  left: 130px;
}
.foam-7 {
  top: -30px;
  left: 150px;
}

/* Drunk Text */

.animated {
  -webkit-animation-fill-mode:both;
     -moz-animation-fill-mode:both;
          animation-fill-mode:both;

  -webkit-animation-duration:5s;
     -moz-animation-duration:5s;
          animation-duration:5s;

  -webkit-animation-delay:3.5s;
     -moz-animation-delay:3.5s;
          animation-delay:3.5s;
}


.animated.drunk {
  -webkit-animation-duration:2s;
     -moz-animation-duration:2s;
          animation-duration:2s;
}

@-webkit-keyframes drunk {
	0% {
    -webkit-transform: rotate(0);
    -webkit-transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
  }

  20%, 60% {
    -webkit-transform: rotate(80deg);
    -webkit-transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
  }
	40% {
    -webkit-transform: rotate(60deg);
    -webkit-transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
  }

	80% {
    -webkit-transform: rotate(60deg) translateY(0);
    -webkit-transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
    opacity: 1;
  }

	100% {
	  -webkit-transform: translateY(700px);
    opacity: 0;
  }
}

@-moz-keyframes drunk {
	0% {
    -moz-transform: rotate(0);
    -moz-transform-origin: top left;
    -moz-animation-timing-function: ease-in-out;
  }

	20%, 60% {
    -moz-transform: rotate(80deg);
    -moz-transform-origin: top left;
    -moz-animation-timing-function: ease-in-out;
  }

	40% {
    -moz-transform: rotate(60deg);
    -moz-transform-origin: top left;
    -moz-animation-timing-function: ease-in-out;
  }

	80% {
	  -moz-transform: rotate(60deg) translateY(0); opacity: 1;
    -moz-transform-origin: top left;
    -moz-animation-timing-function: ease-in-out;
  }

	100% {
    -moz-transform: translateY(700px);
    opacity: 0;
  }
}

@keyframes drunk {
	0% {
    transform: rotate(0);
    transform-origin: top left;
    animation-timing-function: ease-in-out;
  }

	20%, 60% {
    transform: rotate(80deg);
    transform-origin: top left;
    animation-timing-function: ease-in-out;
  }

	40% {
    transform: rotate(60deg);
    transform-origin: top left;
    animation-timing-function: ease-in-out;
  }

	80% {
    transform: rotate(60deg) translateY(0);
    opacity: 1; transform-origin: top left;
    animation-timing-function: ease-in-out;
  }
	100% {
    transform: translateY(700px);
    opacity: 0;
  }
}

.drunk {
	-webkit-animation-name: drunk;
	-moz-animation-name: drunk;
	animation-name: drunk;
}

/* Atelier Käfte */

#atelier_k .outer{
  position: relative;
  width: 100%;
}

#atelier_k .inner{
    position: absolute;
    left: 50%;
    margin-left: -10%;
    display: block;
    width: 100px;
    height: 100px;
    z-index: -1;
    border-radius: 15px;
    background: linear-gradient(-45deg, #EE7752, #E73C7E, #23A6D5, #23D5AB);
	  -webkit-animation: atelier_gradient 4s ease infinite;
	  -moz-animation: atelier_gradient 4s ease infinite;
	  animation: atelier_gradient 4s ease infinite;
}

#atelier_k h3{
  text-align: center;
  font-size:2.4em;
  padding-top:20px;
  font-family: 'Permanent Marker', cursive;
}

#atelier_k p{
  color: #fff;
  font-family: 'Permanent Marker', cursive;
  text-align: center;
  padding: 40px 0 0 0;
  font-size: 1.4em;
}

#atelier_k h4{
  color: #fff;
  font-family: 'Permanent Marker', cursive;
  font-size: 1.4em;
}

#atelier_k img{
  margin: 50px 0 0 0;
}

@-moz-keyframes atelier_gradient {
	0% {
		background: linear-gradient(-45deg, #EE7752, #E73C7E, #23A6D5, #23D5AB);
	}
  25% {
    background: linear-gradient(45deg, #EE7752, #E73C7E, #23A6D5, #23D5AB);
  }
  50% {
    background: linear-gradient(90deg, #EE7752, #E73C7E, #23A6D5, #23D5AB);
  }
  75% {
    background: linear-gradient(-90deg, #EE7752, #E73C7E, #23A6D5, #23D5AB);
  }
	100% {
		background: linear-gradient(180deg, #EE7752, #E73C7E, #23A6D5, #23D5AB);
	}
}

@keyframes atelier_gradient {
  0% {
		background: linear-gradient(-45deg, #EE7752, #E73C7E, #23A6D5, #23D5AB);
	}
  25% {
    background: linear-gradient(45deg, #EE7752, #E73C7E, #23A6D5, #23D5AB);
  }
  50% {
    background: linear-gradient(90deg, #EE7752, #E73C7E, #23A6D5, #23D5AB);
  }
  75% {
    background: linear-gradient(-90deg, #EE7752, #E73C7E, #23A6D5, #23D5AB);
  }
	100% {
		background: linear-gradient(180deg, #EE7752, #E73C7E, #23A6D5, #23D5AB);
	}
}

/* Werbung */
#werbung_bier_d{
    bottom:20px;
}

#werbung_bier_d img{
}

/* Solitaire */
.imgbg {
  width: 150px;
  height: 112px;
  background-image: url(../img/stuff/aua.png);
  background-repeat: no-repeat;
}
.imgpos {
  position:absolute;
  background-position: 0px 0px;
}

/* Ende */
#ende_d p{
  font-family: 'Lobster', cursive;
  font-size: 1.6em;
}
#ende_d span{
  font-size: 1.8em;
}
