@font-face {
  font-family: Allura;
  src: url(./fonts/Allura/Allura-Regular.ttf);
}
  * {
    margin: 0;
    padding: 0;
  }
  section  {
    font-family: 'Allura', cursive;
  }
  section {
    position: relative;
    width: 100%;
    height: 72vh;
    display: flex;
    overflow: hidden;
  }
  section div {
    position: relative;
    width: 64%;
    background: rgba(255, 255, 255, 0);
    overflow: hidden;
  }
  section div:nth-child(1) {
    width: 36%;
    /*background: #000;*/
    background-size: cover;
    /*border-right: 2px solid #fff;*/
    box-sizing: border-box;
  }
  section div h2 {
    position: absolute;
    white-space: nowrap;
    font-size: 8em;
  }
  section div:nth-child(1) h2 {
    left: 100%;
    animation: animate 50s linear infinite;
    -webkit-text-stroke: 1px;
    -webkit-text-stroke-color: #fff;
    -webkit-text-fill-color: transparent;
  }
  section div:nth-child(2) h2 {
    left: 0;
    color: #fff;
    animation: animate 50s linear infinite;
  }
  section div h2 {
    line-height: 92vh;
  }
  @keyframes animate {
    0% {
      transform: translateX(0);
    }
    /*	50%
        {
            transform: translateX(-100%);
        }*/
    100% {
      transform: translateX(-100%);
    }
  }
section div:nth-child(3) {
  position: absolute;
  left: 27%;
  top: 34vh;
}
section div:nth-child(3) img {
    width: 210px;
    border-radius: 12px;
}


/* Unterseiten 50vh Hero Lauftext - Version mit Bild*/
#subLauftxt {
  height: 50vh;
  overflow: visible;
}
#subLauftxt div:nth-child(3) {
  position: absolute;
  left: 15%;
  top: 30vh;
}
#subLauftxt div h2 {
  line-height: 82vh;
}
#subLauftxt div:nth-child(1) {
  width: 18%;
}
#subLauftxt div {
  width: 82%;
}
/* Unterseiten 50vh Hero Lauftext - Version OHNE Bild*/
#subLauftxtVollbreit {
  height: 50vh;
  overflow: visible;
}
#subLauftxtVollbreit div h2 {
  line-height: 82vh;
}
#subLauftxtVollbreit div:nth-child(1) {
  width: 0;
}
#subLauftxtVollbreit div {
  width: 100%;
}


/* Handy-Einstellungen */
@media (max-width: 400px) {
section div:nth-child(3) img {
    width: 160px;
    border-radius: 8px;
}
section div:nth-child(3) {
  position: absolute;
  left: 30%;
  top: 36vh;
  z-index: -50;
}
section div:nth-child(1) {
  width: 0%;
  /*background: #000;*/
  background-size: cover;
  /*border-right: 2px solid #fff;*/
  box-sizing: border-box;
}
section div {
  position: relative;
  width: 100%;
  background: rgba(255, 255, 255, 0);
  overflow: hidden;
}
section div h2 {
  position: absolute;
  white-space: nowrap;
  font-size: 4em;
}
section div:nth-child(2) {
  transform:translateY(18vh);
}
#subLauftxt {
  height: 50vh;
  overflow: visible;
}
#subLauftxt div:nth-child(3) {
  position: absolute;
  left: 34%;
  top: 20vh;
}
#subLauftxt div h2 {
  line-height: 52vh;
}
#subLauftxtVollbreit div h2 {
  line-height: 52vh;
}
#subLauftxt div:nth-child(1) {
  width: 0;
}
#subLauftxt div {
  width: 100%;
}
#subLauftxt div:nth-child(3) {
  z-index: 50;
}
#subLauftxt div:nth-child(3) img {
  width: 116px;
  border-radius: 8px;
}
}
@media (max-width: 320px) {
  #subLauftxt div:nth-child(3) img {
    width: 96px;
    border-radius: 8px;
  }
}
