/* Schrift laden */
@font-face {
  font-family: "SpecialGothic_SemiExpanded-SemiBold";
  src: url("SpecialGothic_SemiExpanded-SemiBold.ttf") format("truetype-variations");
}

/* Globales Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* Sorgt dafür, dass Padding das Layout nicht sprengt */
}

body {
  background: rgb(0, 255, 0);
  color: rgb(0, 0, 0);
  font-size: 11.75vw;
  letter-spacing: -1px;
  padding: 5px;
  /* Abstand zum Bildschirmrand */
}

canvas {
  display: none;
  /* Deine p5-Animation ist hier versteckt */
}

.type {
  display: block;
  /* WICHTIG: Kein Flexbox, damit der Text fließen kann */
  width: 100%;
  font-family: "SpecialGothic_SemiExpanded-SemiBold", sans-serif;
  font-variation-settings: "wght" var(--sound);
  /* Deine p5.js Variable */
  line-height: 0.775;
  text-align: left;
  /* Flattersatz */
  word-wrap: break-word;
}

/* Die Einrückung */
.indent-line {
  display: inline-block;
  margin-left: 10vw;
  /* Dynamische Einrückung passend zur Schriftgröße */
}

/* Animation (optional nutzbar) */
@keyframes animateText {
  from {
    font-variation-settings: "wght" 100;
  }

  to {
    font-variation-settings: "wght" 800;
  }
}

canvas {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  /* Höher als der Text */

}

.logo-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Schiebt das Bild exakt in die Mitte */
  z-index: 7;
  /* Zwischen Text (5) und Canvas (10) */
  width: 300px;
  /* Hier die gewünschte Breite einstellen */
}

.centered-logo {
  width: 100%;
  height: auto;
  display: block;
}