@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Roboto:100,300,400,600,900");
@import url("https://fonts.googleapis.com/css?family=Pacifico");
@import url("https://fonts.googleapis.com/css?family=Comfortaa");
@import url("https://fonts.googleapis.com/css?family=Alfa Slab One");
@import url("https://fonts.googleapis.com/css?family=Aleo");
body {
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  height: 100%;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.container {
  display: block;
  margin:  120px auto;
  width:  370px;
  text-align: center;
  height: 100vh;
}

h1 {
  font-family: 'Alfa Slab One';
  font-weight: 200;
  color: #fff;
}
h1 .hb {
  display: block;
}
h1 .david {
  display: block;
}
h1 .wahl {
  display: block;
}
h1 .liebe {
  display: block;
}
h1 .flip {
  display: inline-block;
  text-align: left;
  position: relative;
  width: 370px;
  height: 40px;
  position: relative;
  top: 0px;
  font-size: 35px;
  line-height: 1em;
  letter-spacing:  0.1em; 
  -moz-perspective: 500;
  -webkit-perspective: 500;
  perspective: 500;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
h1 .flip span {
  font-weight: 600;
  display: block;
  width: 370px;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  opacity: 0;
  -moz-transform-origin: 0% 0%;
  -ms-transform-origin: 0% 0%;
  -webkit-transform-origin: 0% 0%;
  transform-origin: 0% 0%;
  -moz-transform: rotateX(90deg);
  -ms-transform: rotateX(90deg);
  -webkit-transform: rotateX(90deg);
  transform: rotateX(90deg);
  position: absolute;
  top: -20px;
  left: 10px;
}
h1 .flip .step0 { margin-left: 10px; text-align: left;}
h1 .flip .step1 { margin-left: -50px; text-align: center;}
h1 .flip .step2 { margin-left: -100px; text-align: right;}
h1 .flip .step3 { margin-left: -110px; text-align: right;}
h1 .flip span.set {
  top: 0;
  opacity: 1;
  -moz-transform-origin: 0% 0%;
  -ms-transform-origin: 0% 0%;
  -webkit-transform-origin: 0% 0%;
  transform-origin: 0% 0%;
  -moz-transform: rotateX(0deg);
  -ms-transform: rotateX(0deg);
  -webkit-transform: rotateX(0deg);
  transform: rotateX(0deg);
}
h1 .flip span.down {
  top: 40px;
  opacity: 0;
  -moz-transform-origin: 0% 0%;
  -ms-transform-origin: 0% 0%;
  -webkit-transform-origin: 0% 0%;
  transform-origin: 0% 0%;
  -moz-transform: rotateX(-90deg);
  -ms-transform: rotateX(-90deg);
  -webkit-transform: rotateX(-90deg);
  transform: rotateX(-90deg);
}

.ideas {
  font-family: 'Roboto';
}

.hb {
  font-family: 'Pacifico';
  font-size: 50px;
  margin-bottom: 0;
  margin-left: 0px;
}

.ideas { display: block; margin-top: -16px; }

.david {
  font-family: 'Comfortaa';
  font-size: 60px;
  font-weight: 900;
  margin-left: -10px;
  letter-spacing: 0.2em;
  margin-top:  -25px;
}

.heart { opacity: 0.3; }

.wahl {
  font-family: 'Aleo';
  font-size: 45px;
  margin-left: 80px;
  margin-top: 17px;
}

.love {
  font-size: 20px;
  letter-spacing: 0.3em;
  font-weight: 900;
  margin-left: -70px;
  margin-top: -10px;
  display: block;
  font-family: 'Roboto';
}
