@charset "UTF-8";

@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Comfortaa';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/comfortaa-v45-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* comfortaa-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Comfortaa';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/comfortaa-v45-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
body {
  margin:0;
}

.header {
  position:relative;
  text-align:center;
  background-image: url("../images/header_01.jpg");
  background-size: cover;
  color:white;
  overflow:hidden;
  aspect-ratio: 2560 / 1024; /*Originalauflösung der Header-Bilder/Videos*/
}
.header2 {
  position:relative;
  text-align:center;
  background-image: url("../images/header_02.jpg");
  background-size: cover;
  color:white;
  overflow:hidden;
  aspect-ratio: 2560 / 1024; /*Originalauflösung der Header-Bilder/Videos*/
}

/* Video im Header: läuft in Schleife, Fallback-Bild bei Ladezeit/fehlender Wiedergabe über poster-Attribut im HTML */
.header-video {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height: 100%;
  object-fit:cover;
  object-position:center;
  z-index:0;
}

/* Alle direkten Kindelemente des Headers (Inhalt/Text) über das Video legen */
.header > *:not(.header-video) {
  position:relative;
  z-index:1;
}

/* Wellen-Wrapper direkt am unteren Bildrand des Headers verankern */
.header > div:last-child {
  position:absolute !important;
  left:0;
  bottom:0;
  width:100%;
  z-index:1;
}

.logo {
  width:50px;
  fill:white;
  padding-right:15px;
  display:inline-block;
  vertical-align: middle;
}

.inner-header {
  padding-top: 550px!important;
  width:100%;
  margin: 0;
  padding: 0;
}

.flex { /*Flexbox for containers*/
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.waves {
  display:block;
  width: 100%;
  height:15vh;
  margin-bottom:-7px; /*Fix for safari gap*/
  min-height:120px;
  max-height:180px;
}

h1 {
  font-family: 'Comfortaa', sans-serif;
  font-weight:700;
  letter-spacing: 0px;
  font-size:54px;
  margin-bottom:5px!important;
}
h5 {
  font-family: 'Roboto Condensed', sans-serif !important;
  letter-spacing: 0px;
  font-size: 20px;
  color: #0082b0;
     line-height: 28px;
}

.col-green {
  color: #0082b0!important;
}
.col-yellow {
  color: #fbb900!important;
}
.back-col-green  {
  background-color: #0082b0;
}
.content {
  position:relative;
  height:20vh;
  text-align:center;
  background-color: white;
}

/* Animation */

.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
   transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(85px,0,0);
  }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
  .waves {
    height:40px;
    min-height:40px;
  }
  .content {
    height:30vh;
  }
  h1 {
    font-size:24px;
      line-height: 28px;
  }
    /* Video im Header: läuft in Schleife, Fallback-Bild bei Ladezeit/fehlender Wiedergabe über poster-Attribut im HTML */
.header-video {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height: 100%;
  object-fit:cover;
  object-position:center;
  z-index:0;
}
    .inner-header {
  padding-top: 330px!important;
  width:100%;
  margin: 0;
  padding: 0;
}
}
