* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}
body,
html {
  height: 100%;
  overflow: hidden;
  font-family: Arial, sans-serif;
  background-color: #052b07;
}

/* Spielfläche */
.game-container {
  position: relative;
  width: 2000px;
  height: 2000px;
}

.background {
  position: absolute;
  width: 3000px;
  height: 3000px;
  z-index: -200;
  pointer-events: none;
}

/* Spieler */
.player {
  position: fixed;
  top: 50%;
  left: 70%;
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: none;
}
.player img {
  width: 230px;
  height: 270px;
  object-fit: contain;
  transform: translate(-50%, -60%);
  position: absolute;
  top: 50%;
  left: 50%;
}

.text {
  position: absolute;
  width: 670px;
  height: 200px;
  overflow: hidden;
  border-color: cyan;
}

/* Büsche */
.bush {
  position: absolute;
  width: 670px;
  height: 370px;
  overflow: hidden;
}

.bush img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

/* Menü */
.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  z-index: 100;
  text-align: center;
}
.menu h1 {
  font-size: 3em;
  margin-bottom: 20px;
}
.menu p {
  margin-top: 20px;
  font-size: 1.2em;
  margin-bottom: 30px;
}
.menu button {
  font-size: 1.2em;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: #4caf50;
  color: white;
  transition: background 0.3s;
}
.menu button:hover {
  background: #45a049;
}
.menu img {
  width: 500px;
}

/* Hilfe-Icon */
#helpIcon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 100px;
  cursor: pointer;
  z-index: 50;
  transition: transform 0.2s;
}
#helpIcon:hover {
  transform: scale(1.1);
}

/* Overlay Buch */
#bookOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 200;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
}
#bookContent {
  background-image: url("img/BuchAUF.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  width: 80%;
  height: 70%;
  overflow: hidden;
}
.bookPage {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-right: 1px solid #ccc;
}
.bookPage:last-child {
  border-right: none;
}
#userAnswer {
  padding: 10px;
  font-size: 1.2em;
  width: 80%;
  margin-top: 20px;
}
#checkAllAnswers {
  margin-top: 15px;
  padding: 8px 15px;
  font-size: 1em;
  cursor: pointer;
}
#feedback {
  margin-top: 15px;
  font-weight: bold;
}
#closeBook {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 3em;
  color: white;
  cursor: pointer;
}

/* Controller unten links */
#controller {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  user-select: none;
}
#controller button {
  font-size: 2em;
  width: 60px;
  height: 60px;
  margin: 5px;
  border-radius: 10px;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  cursor: pointer;
  transition: background 0.2s;
}
#controller button:hover {
  background: rgba(0, 0, 0, 0.8);
}
#controller div {
  display: flex;
  justify-content: center;
  width: 100%;
}
