body {
  height: 100vh;
  width: 100vw;
}
#auswahlModal,
#SpieleModal {
  background-color: black;
}
#auswahlModal .modal-content,
#SpieleModal .modal-content {
  background-size: cover; /* sorgt dafür, dass das Bild den gesamten Hintergrund abdeckt */
  background-repeat: no-repeat; /* verhindert das Wiederholen des Bildes */
  background-position: left; /* zentriert das Bild */
  color: white; /* Ändert die Textfarbe, falls nötig */
}

#SpieleModal .modal-content {
  background-image: url("hexenhaus_innen.webp");
}

#auswahlModal .modal-content {
  background-image: url("hexenhaus.webp");
}

#webseiteInhalt {
  background-image: url("haus_back.png");
  background-size: cover; /* sorgt dafür, dass das Bild den gesamten Hintergrund abdeckt */
  background-repeat: no-repeat; /* verhindert das Wiederholen des Bildes */
  background-position: center; /* zentriert das Bild */
  color: white; /* Ändert die Textfarbe, falls nötig */
  height: 100%;
  width: auto;
}

#auswahlModal .modal-content,
#SpieleModal .modal-content {
  width: 100%;
  height: 100%;
}

#auswahlModal .modal-header,
#SpieleModal .modal-header {
  background-color: #00000090;
}

#auswahlModal .modal-body,
#SpieleModal .modal-body {
  position: relative;
}

#auswahlModal .modal-dialog,
#SpieleModal .modal-dialog {
  width: 512px;
  height: 512px;
}

#auswahlModalLabel,
#SpieleModalLabel {
  font-size: xx-large;
}

.strohballen-button {
  background-image: url("stroh2.png"); /* Pfad anpassen */
  background-size: cover;
  z-index: 99;
  background-repeat: no-repeat;
  width: 80px; /* Breite anpassen */
  height: 80px; /* Höhe anpassen */
  border: none;
  color: rgb(0, 0, 0); /* Textfarbe anpassen */
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0);
  text-shadow: 2px 2px 4px #ffffff,
    /* Schatten nach rechts unten */ -4px -4px 4px #ffffff,
    /* Schatten nach links oben */ 4px -4px 5px #ffffff,
    /* Schatten nach links oben */ 4px 4px 5px #ffffff,
    /* Schatten nach rechts oben */ -4px 4px 5px #ffffff;
}

.strohballen-button:hover {
  background-image: url("stroh2_hover.png");
}

.kiste-button {
  background-image: url("kiste.png"); /* Pfad anpassen */
  background-size: cover;
  z-index: 99;
  background-repeat: no-repeat;
  width: 200px; /* Breite anpassen */
  height: 200px; /* Höhe anpassen */
  border: none;
  color: rgb(0, 0, 0); /* Textfarbe anpassen */
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0);
  text-shadow: 2px 2px 4px #ffffff,
    /* Schatten nach rechts unten */ -4px -4px 4px #ffffff,
    /* Schatten nach links oben */ 4px -4px 5px #ffffff,
    /* Schatten nach links oben */ 4px 4px 5px #ffffff,
    /* Schatten nach rechts oben */ -4px 4px 5px #ffffff;
}

.kiste-button:hover {
  background-image: url("kiste2.png");
}

#modalButtons,
#modalButtons2,
#Buttonliste {
  position: absolute;
  left: 0px;
  bottom: 0px;
  z-index: 10;
}

#modalButtons2 {
  width: 100%;
}

.strohballen-button {
  margin-left: -5px;
  margin-right: -27px;
}

.strohballen-button:nth-child(odd) {
  margin-top: 50px; /* Zusätzlicher Abstand für jeden zweiten Button */
}

.strohballen-button-spiel {
  height: auto;
  aspect-ratio: 1;
  font-size: xx-large;
  max-width: 300px;
}

.strohballen-button-spiel:nth-child(odd) {
  margin-top: 0px; /* Zusätzlicher Abstand für jeden zweiten Button */
}

.startbildschirm-overlay {
  background-image: url("splash-screen.png"); /* Pfad anpassen */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center right;
  position: fixed; /* Positioniert das Overlay fest auf dem Bildschirm */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(0, 0, 0); /* Schwarzer Hintergrund mit Transparenz */
  z-index: 5000; /* Stellt sicher, dass der Startbildschirm über anderen Inhalten liegt */
  display: flex;
  justify-content: center; /* Zentriert den Inhalt horizontal */
  align-items: center; /* Zentriert den Inhalt vertikal */
}

.startbildschirm-inhalt {
  text-align: center;
  color: white;
}

/* Versteckt den Inhalt der Webseite */
#webseiteInhalt {
  display: none;
}

#timer,
.timer {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin: 20px;
}

.hexe {
  height: 100%;
  width: auto;
  position: absolute;
  bottom: 0px;
  right: 0px;
  z-index: 5;
}

.hexe img {
  height: 100%;
  width: auto;
}

div:has(#hexe) {
  position: relative;
}

.Fragenbox {
  z-index: 10;
}

.modal-back {
  background-color: rgba(
    100,
    149,
    237,
    0.5
  ); /* Halbdurchsichtiges Mittelblau */
  backdrop-filter: blur(10px); /* Blur-Effekt für den Hintergrund */
  border-radius: 15px; /* Leicht abgerundete Kanten */
  padding: 20px; /* Innenabstand */
  color: white; /* Textfarbe */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Leichter Schatten für Tiefe */
}

#Hausnummer {
  font-size: 45px;
  /* font-size: min(max(50px, 4vw), 80px); */
}

#hausdiv {
  top: 48%;
  left: 27%;
  background-color: #194440;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  border: white solid 2px;
}

#zahl {
  /* font-size: 200px; */
  font-size: min(max(90px, 6vw), 200px);
}

.drehbaresDiv {
  transition: transform 0.1s; /* Glättet die Drehbewegung */
  /*background-image: url("arm.png"); /* Pfad anpassen
        background-size: cover;
        background-repeat: no-repeat;
        width: fit-content;
        height: fit-content;*/
  z-index: 12;
  width: 30%;
  height: 30%;
  transform-origin: 97% 82%;
  position: absolute;
  right: 64%;
  top: 39%;
}

.jupianim {
  animation-name: jupi;
  animation-duration: 0.5s;
  animation-iteration-count: 4;
  animation-timing-function: linear;
  animation-fill-mode: both;
}
.riding-hexe {
  animation-name: jupi;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  animation-fill-mode: both;
}

@keyframes jupi {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-30px);
  }
}

@keyframes ohno {
  0%,
  50%,
  100% {
    transform: rotatez(0deg);
  }
  25% {
    transform: rotatez(20deg);
  }
  75% {
    transform: rotatez(-20deg);
  }
}

.animated {
  animation-name: ohno;
  animation-duration: 0.5s;
  animation-iteration-count: 4;
  animation-timing-function: linear;
  animation-fill-mode: forwards; /* Behält den Endzustand der Animation bei */
}

.logo {
  position: absolute;
  top: 5vh;
  left: 0px;
  width: 60vw;
  max-height: 50vh;
}

.logo img {
  width: 100%;
  height: 100vh;
  object-fit: contain;
}

@media (max-width: 1000px) {
  .logo {
    left: auto;
    top: auto;
    bottom: 0px;
    right: 0px;
    margin-bottom: 50vh;
    width: 100vw;
    max-height: 15vh;
  }
}

.kreuz {
  z-index: 999;
  position: absolute;
  right: 0px;
  top: 0px;

  background-color: white;
  border-radius: 50%;
  width: 30px;
  height: 30px;

  margin-top: 5px;
  margin-right: 5px;
}

.kreuztext {
  padding-left: 4px;
  padding-top: 2px;
}

.result_modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 20;
}

.result_modal-content {
  margin: 15% auto;
  padding: 20px;
  width: 375px;
  height: 300px;
}

.result_close-button {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  margin-top: -5px;
}

.result_close-button:hover,
.result_close-button:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.cloud-container {
  width: 375px; /* oder eine spezifische Breite */
  height: 250px; /* oder eine spezifische Höhe */
  overflow: hidden; /* Stellt sicher, dass Wolken außerhalb des Divs nicht sichtbar sind */
  position: absolute; /* Für die Positionierung der Wolken */
  margin-left: -20px;
}
.cloud {
  position: absolute;
  width: 150px; /* oder die gewünschte Größe der Wolken */
  animation: moveClouds 10s linear infinite; /* Animation, Dauer, Art, Wiederholung */
}

.wolke1 {
  margin-top: 10px;
  left: -300px;
  position: absolute;
  width: 150px; /* oder die gewünschte Größe der Wolken */
  animation: moveClouds1 10s linear infinite; /* Animation, Dauer, Art, Wiederholung */
  animation-delay: 0s;
}

@keyframes moveClouds1 {
  0% {
    left: -170px;
  } /* Start außerhalb des Divs */
  100% {
    left: 375px;
  } /* Bewegung bis zum rechten Rand des Divs */
}

.wolke2 {
  margin-top: 60px;
  position: absolute;
  left: -300px;
  width: 150px; /* oder die gewünschte Größe der Wolken */
  animation: moveClouds2 6s linear infinite; /* Animation, Dauer, Art, Wiederholung */
  animation-delay: 3s;
}

@keyframes moveClouds2 {
  0% {
    left: -170px;
  } /* Start außerhalb des Divs */
  100% {
    left: 375px;
  } /* Bewegung bis zum rechten Rand des Divs */
}

.wolke3 {
  margin-top: 90px;
  left: -300px;
  position: absolute;
  width: 150px; /* oder die gewünschte Größe der Wolken */
  animation: moveClouds3 4s linear infinite; /* Animation, Dauer, Art, Wiederholung */
  animation-delay: 6s;
  z-index: 100;
}

@keyframes moveClouds3 {
  0% {
    left: -170px;
  } /* Start außerhalb des Divs */
  100% {
    left: 375px;
  } /* Bewegung bis zum rechten Rand des Divs */
}
