@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: 2;
  cursor: pointer;
  color: #ffffff;
  font-size: 1vw;
}

/*

.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: lightgrey;
  background-color: #ec5d3a;
}

.Titel_2 {
  color: lightgrey;
  background-color: #ec5d3a;
}

.Titel_3 {
  color: #c2c2c2;
  background-color: #948c41;
  margin-right: auto;
  cursor: pointer; 
  transition: background-color 0.3s;
}


.Titel_3:hover {
  color: #948c41;
  background-color: #c2c2c2;
  
}

.Titel_4 {
  color: #ec5d3a;
  background-color: #a8a8a8;
  margin-left: 0;
  cursor: pointer; 
  transition: background-color 0.3s;

}

.Titel_4:hover {
  color: #a8a8a8 ;
  background-color: #ec5d3a;

}

.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: 27em;
  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;
  line-height: 1.3;
}

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

.Text_1 span {
    max-width: 20em;
    background-color: #948c41;
    padding: 0.2em;
  }

  .Text_1 span mark {
  color: #ffffff;
    }


.Text_1 span mark {
  background-color: transparent;
  color: #c2c2c2;
  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 {
  word-wrap: break-word;
  position: fixed;
  right: auto; 
  top: 0%;
  bottom: 0;
  left: 0;
  overflow: hidden;
  max-width: 42em;
  /*max-width: 100em;*/
  display: flex;
  align-items: center;
  justify-content: flex-start;
  opacity: 1;
  color: white;

}

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

}


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

.Text_2 span mark {
background-color: transparent;
color: #ec5d3a;
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 span mark {
background-color: #ec5d3a;
color: #ffffff;
font-family: "tgn-soft-round-con", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 25pt;
line-height: 1;
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: #ec5d3a;
  right: auto;

  transition: background-color 0.3s;
}

.Zurueck:hover {
  background-color: #948c41;
}

/* 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: #ec5d3a;
}

#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: #948c41;
  letter-spacing: -0.09em;
}

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

/*
.Metapher_Mycel {
  max-width: 6em;
  display: flex;
  position: absolute;
  align-items: flex-start; 
  justify-content: flex-end; 
  top: 7em; 
  right: 0; 
  z-index: 2;
  color: white;
  margin: 0;
}*/


.Metapher_Mycel {
  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_Mycel span {
  background-color: #ec5d3a;
  justify-content: center;
}




.hide {
  display: none;
}

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

#video_bg {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 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 */
}
