
@import url('https://fonts.googleapis.com/css?family=Fahkwang');


$padding:50px;

* { box-sizing: border-box; }

body { background: #ffff; overflow-x: hidden; }

.marquee {
  perspective: 800px;
  height: 25px;
  width: 420px;

  overflow: hidden;
  position: relative;
}
/* funktioniert noch nicht so richtig!!!!!!


.marquee div {
  display: block;
  width: 200%;
  height: 30px;

  position: absolute;
  overflow: hidden;

  animation: marquee 5s linear infinite;
}

.marquee span {
  float: left;
  width: 50%;

  color: #FF6666;
  font-family: 'Fahkwang', sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;

}

@keyframes marquee {
  0% { left: 0; }
  100% { left: -100%; }
}

*/

.container {
  perspective: 800px;

  /* Styling */
  color: #FF6666;
  font-family: 'Fahkwang', sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;

  /* Center it */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.card {
  /* Styling */
  width: 800px;
  height: 500px;
  background: rgb(20,0,255);
              /* offset-x | offset-y | blur radius | color | irgendwas ist komisch hier, zwei schatten?| */
  box-shadow: 20 20px 20px rgb(255, 0, 0,) 20 20px 20px #FFFF;

  /* Card flipping effects */
  transform-style: preserve-3d;
  transition: 0.7s;
}
.side {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  /* Fix Chrome rendering bug */
  transform: rotate(0deg) translateZ(1px);
}

/* Flip the card on hover */
.container:hover .card,
.back {
  transform: rotateY(-180deg) translateZ(1px);
}

/* Front styling */
.front {
  /* Center the name + outline (almost) */

  line-height: 500px; /* Height - some (because visual center is a little higher than actual center) */
  text-align: center;
}
.logo {

  display: inline-block;
  padding: 100px 50px;

  text-transform: uppercase;
  font-family: 'Fahkwang', sans-serif;
  font-size: 2.4em;
  font-weight: normal;
  line-height: 32px;
  letter-spacing: 3px;
}

/* Back styling */
.back {
  background: rgb(20,0,255);
  padding: 100px 100px;
}
.name {
  color: #ffff;
  margin-bottom: 0;
}
p {
  margin: 0.8em 0;
}
.info {
  position: absolute;
  bottom: $padding;
  left: $padding;
  color: #FFF;
}
.property {
  color: #fff;
}

/* Make semi-responsive */
@media (max-width:700px) {
  .card { transform: scale(.5); }
  .container:hover .card { transform: scale(.5) rotateY(-180deg) translateZ(1px); }
}



/**
 * Truncus Marquee
 *
 * @since 30.06.2019
 * @author Valentin Alisch <hallo@valentinalisch.de>
 */
.marquee3k {
  font-family: 'Fahkwang', sans-serif;
  line-height: 1.2;
  font-weight: bold;
  text-transform: uppercase;
}

  .marquee3k a,
  .marquee3k a:link,
  .marquee3k a:visited,
  .marquee3k a:hover,
  .marquee3k a:active {
    text-decoration: none;
    color: blue;
  }

#marquee--upper,
#marquee--downer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2vw;
  letter-spacing: 0.02em;
}
#marquee--upper {
  bottom: auto;
  top: 0;
  font-size: 5vw;
}

  #marquee--upper .marquee3k__wrapper > * {
    margin-right: 2em;
  }

#marquee--downer {
  font-size: 3vw;
}

  #marquee--downer .marquee3k__wrapper > * {
    margin-right: 0.3em;
  }

