body {
  font-family: Arial, sans-serif;
  background-color: #111;
  color: #eee;
  margin: 0;
  padding: 0;
  text-align: center;
}

h1 {
  margin-top: 20px;
  margin-bottom: 10px;
}

.button-bar {
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background-color: #111;
  padding: 10px;
  border-radius: 10px;
}

.button-bar button {
  margin: 5px;
  padding: 10px 20px;
  background-color: #444;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.button-bar button:hover {
  background-color: #666;
}

#caseDescription, #textPuzzle, #suspectList {
  display: none;
  margin: 140px auto 20px auto;
  padding: 20px;
  background: #222;
  border: 2px solid #555;
  border-radius: 10px;
  max-width: 800px;
}

.hint {
  margin-top: 20px;
  font-weight: bold;
  color: lightgreen;
}

.success-message {
  font-size: 1.2em;
  color: gold;
  font-weight: bold;
  margin-top: 10px;
}

input.blank {
  width: 100px;
  margin: 0 5px;
  padding: 4px;
  text-align: center;
  border-radius: 5px;
  border: 1px solid #777;
}

input.richtig {
  background-color: #2d572c;
  color: white;
  border: 2px solid #5fdd5f;
}

input.falsch {
  background-color: #742c2c;
  color: white;
  border: 2px solid #ff5f5f;
}

.image-container {
  position: relative;
  display: inline-block;
}

#dachboden {
  width: 100%;
  height: 100%;
  display: block;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  display: none;
}

.weiter-container {
  margin-top: 30px;
}

.weiter-button {
  font-size: 1.5em;
  padding: 15px 40px;
  background-color: #4caf50;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  display: inline-block;
  transition: background-color 0.3s;
}

.weiter-button:hover {
  background-color: #45a049;
}