@font-face {
  font-family: 'ManifontGrotesk';
  src: url(../Font/ManifontGroteskBookDot-webfont.woff) format("woff");
  font-weight: lighter;
  font-style: normal;
}

@font-face {
  font-family: 'ManifontGrotesk';
  src: url(../Font/ManifontGroteskBook-webfont.woff) format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'ManifontGrotesk';
  src: url(../Font/ManifontGroteskBookItalic-webfont.woff) format("woff");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'ManifontGrotesk';
  src: url(../Font/ManifontGroteskBold-webfont.woff) format("woff");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'ManifontGrotesk';
  src: url(../Font/ManifontGroteskBoldItalic-webfont.woff) format("woff");
  font-weight: bold;
  font-style: italic;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

audio {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

html, body {
  overflow: hidden;
      margin: 0;
      padding: 0;
      height: 100%;
  width: 100%;
  height: 100%;
}

#myCanvas {

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.mouse-trail {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
}

.Video {
  position: relative;
  width: 100vw;
  height: 100vh;
}

.video_bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



h1 {
  font-family: "ManifontGrotesk";
  font-weight: normal;
  font-style: normal;
  position: fixed;
  text-align: right;
  top: 50vh;
  right: 3vw;
  /*top: 50%;
  left: 92%;*/
  transform: translate(-0%, -50%);
  z-index: 1;
  pointer-events: none;
  font-size: 50px;
  color: #ffffff;
}

.headline {
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);

  z-index: 1;
  pointer-events: none;
  color: #ffffff;
}
/*
.Titel_1 {
  position: absolute;
  top: 50%;
  left: 1%;
  transform: translate(-0%, -50%);
  z-index: 1;
  pointer-events: none;
  color: #ffffff;

}

.Titel_2 {
  position: absolute;
  text-align: right;
  top: 50%;
  right: 1%;
  transform: translate(-0%, -50%);
  z-index: 1;
  pointer-events: none;
  color: #ffffff;

}

p {

}


.Text_1 {
  position: absolute;
  bottom: 5%;
  right: 17%;
  max-width: 20%;


  z-index: 1;
  pointer-events: none;

  color: #ffffff;
  line-height: 20pt;

}


.Text_2 {
  margin: 0;
  padding: 0;
  position: absolute;
  top: 57%;
  left: 5%;
  max-width: 20%;

  z-index: 1;
  pointer-events: none;

  color: #ffffff;
  line-height: 20pt;


}
*/

/* Layout-Adaptions */ 


.Titel_1,
.Titel_2,
.Titel_3,
.Titel_4,
.Text_1, 
.Text_2 {
  position: static;
  transform: none;
  text-align: left;
  max-width: 100%;
}

.Titel_1,
.Titel_3 {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
}

.Titel_1 {
  color: #b95a38;
  background-color: #8f9bd8;
}

.Titel_2 {
  color: #b95a38;
  background-color: #8f9bd8;
}

.Titel_3 {
  color: #bbc5cf;
  background-color: #646f79;
  margin-right: auto;
  cursor: pointer; 
  transition: background-color 0.3s;
}

.Titel_3:hover {
  color: #646f79;
  background-color: #bbc5cf;
  
}

.Titel_4 {
  color: #8f9bd8;
  background-color: #646f79;
  margin-left: 0;
  cursor: pointer; 
  transition: background-color 0.3s;
}

.Titel_4:hover {
  color: #646f79;
  background-color: #8f9bd8;

}

.Appear {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;

  overflow: hidden;

  display: flex;
  justify-content: space-between;
  align-items: center;


  z-index: 100;


}

.Text_1 {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  overflow: hidden;
  max-width: 28em;
  display: flex;
  align-items: center;
  opacity: 1; 
  z-index: 1;
}



.Text_1, 
.Text_2 {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  opacity: 1;
}

.Text_1 {
  left: auto;
  /*max-width: 100em;*/
  color: #646f79;
  right: 0;
  top: 0;
}

.Text_1 span {
    max-width: 13em;
    background-color: #c2c2c2;
    padding: 0.2em;
  }

  .Text_1 span mark {
    background-color: transparent;
    color: #b95a38;
    font-family: "tgn-soft-round-con", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 25pt;
    line-height: 0.7;
    letter-spacing: -0.06em
        }


.Text_2 {
  position: fixed;
  right: auto; 
  top: 0%;
  bottom: 0;
  left: 0;
  overflow: hidden;
  max-width: 39em;
  /*max-width: 100em;*/
  display: flex;
  align-items: center;
  justify-content: flex-start;
  opacity: 1;
  color: white;

}

.Text_2 {
  right: auto;
  /*max-width: 100em;*/
  color: #bbc5cf;
  left: 0;
  top: 0;
}


.Text_2 span {
max-width: 14em;
  background-color: #646f79;
  padding: 0.2em;
}


.Text_2 span mark {
  background-color: transparent;
  color: #b95a38;
  font-family: "tgn-soft-round-con", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 25pt;
  line-height: 0.7;
  letter-spacing: -0.06em
  }

.Zurueck { 
  color: #ffffff;

  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;

  max-width: 10em;
  max-height: 1em;

  overflow: hidden;

  display: flex;
  justify-content: space-between;
  align-items: center;
  
  z-index: 100;

  background-color: #b95a38;
  right: auto;
  transition: background-color 0.3s;

}

.Zurueck:hover {
  background-color: #8f9bd8;
}

/* Layout-Adaptions ENDE */


#Bild {
  display: flex;
  align-items: center; /* Zentrierung horizontal */
  justify-content: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 2;
}

#Bild img {
  width: 4%;
  height: auto;
}

#Bild img {
  width: 4%;
  height: auto;
  /* Füge eine CSS-Animation für die Rotation hinzu */
  animation: rotateImage 10s linear infinite; /* Hier kannst du die Dauer und den Animationsstil anpassen */
}

/* Definiere die Rotation-Animation */
@keyframes rotateImage {
  from {
    transform: rotate(0deg); /* Startpunkt: 0 Grad Drehung */
  }
  to {
    transform: rotate(360deg); /* Endpunkt: 360 Grad Drehung (ein vollständiger Umlauf) */
  }
}

  

body {
  overflow: hidden;
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(255, 255, 255); 
}

.Intro_Text {
  display: flex;
  justify-content: space-between; /* Elemente mit gleichem Abstand dazwischen */
  align-items: center;
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: #ffffff;
}

.Intro_Text p {
  margin: 0;
}

.Intro_Text_1 span,
.Intro_Text_2 span,
.Intro_Text_3 span,
.Intro_Text_4 span,
.Intro_Text_5 span,
.Intro_Text_6 span {
  background-color: #8f9bd8;
}

#startButton {
  background-color: transparent;
  color: white;
  padding-right: 0.6vw;
  font-family: "tgn-soft-round-con", sans-serif;
  font-size: 120pt;
  font-weight: 700;
  font-style: normal;
  border: none;
  cursor: pointer;
  margin-top: -6vh; /* Verschieben um 10 Pixel nach oben */
  margin-left: -4vw; /* Verschieben um 10 Pixel nach links */
}

#startButton span {
  letter-spacing: -0.09em;
}

#startButton:hover {
  color: #b95a38;
  letter-spacing: -0.09em;
}

#startButton:hover ~ .Intro_Text p {
  color: #b95a38;
}

.Metapher_Farne {
  max-width: 15em;
  display: flex;
  position: absolute;
  align-items: center; 
  justify-content: center; 
  text-align: center;
  bottom: 0;
  z-index: 2;
  color: white;
  flex-direction: column;
}

.Metapher_Farne span {
  background-color: #8f9bd8;
  justify-content: center;
}

.hide {
  display: none;
}

#VideoAndCanvas {
  margin: 0;
  padding: 0;
  position: relative;
  width: 100vw;
  height: 100vh;
  z-index: 0; 
}

#video_bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

#grayOverlay {
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #a8a8a8; 
  opacity: 0.9;
  z-index: 1; 
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.intro-image {
  display: none; /* Standardmäßig ausblenden */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color: transparent; /* Transparenter Hintergrund */
}
