/* Grundlegende Stile */
html, body {
  margin: 0;
  padding: 0;
  overflow: hidden; /* Verhindert Scrollen */
  height: 100%; /* Nimmt die volle Höhe des Bildschirms ein */
}

body {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  background-image: url('portrait.jpg'); /* Standard-Hintergrundbild */
}

/* Media Query für Landscape-Modus */
@media (orientation: landscape) {
  body {
    background-image: url('landscape.jpg'); /* Querformat-Bild */
  }
}

/* Textcontainer */
.text-container {
  width: 90%; /* Begrenze die Breite */
  max-width: 600px; /* Optional, für maximale Lesbarkeit */
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px 40px;
  border-radius: 10px;
}

h1, h2, p {
  color: #fff7cc;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

/* Info-Button */
.info-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ffcc00;
  color: black;
  font-size: 1rem;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
  transition: background 0.3s ease;
}

.info-button:hover {
  background: #ffaa00;
}

/* Infobox (versteckt) */
.info-box {
  position: absolute;
  bottom: 70px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  margin-left: 10%;
  max-width: 600px;
  word-wrap: break-word;
  font-size: 1rem;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
  display: none; /* Anfangs versteckt */
}

.info-box p {
  margin: 5px 0;
  color: #fff7cc;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Blinkende Lichter */
.blinking-light {
  display: inline-block;
  width: 27px;
  height: 27px;
  margin-left: 10px;
  margin-right: 10px;
  background-color: red; /* Standardfarbe */
  border-radius: 50%;
  animation: blinking 1s infinite alternate; /* Animation */
}

/* Animation für das Blinken */
@keyframes blinking {
  0% {
    background-color: red;
    box-shadow: 0 0 12px red;
  }
  50% {
    background-color: yellow;
    box-shadow: 0 0 12px yellow;
  }
  100% {
    background-color: red;
    box-shadow: 0 0 12px red;
  }
}
