* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
}

header {
  background-color: #FFFF00;
  color: white;
  text-align: center;
  padding: 0.7rem;
  height: 60px;
  transition: background-color 0.3s ease; /* optional: weicher Übergang */
  border-bottom: 1.5px solid black; /* schwarze Linie unten */
}

header img {
  max-height: 100%;           
  object-fit: contain;        
}



footer {
  background-color: #FFFF00;
  color: white;
  text-align: center;
  padding: 1rem;
  height: 60px;
  position: relative;
  transition: background-color 0.3s ease;
  border-top: 1.5px solid black; /* schwarze Linie unten */
}

#impressumButton {
  position: absolute;
  bottom: 35%;
  left: 10px;
  cursor: pointer;
  height: 30%; /* Passt die Höhe proportional an */
}

main {
  height: calc(100% - 120px); /* 60px header + 60px footer */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #9AD3E5 ;
}

.image-container {
  position: relative;
  height: 100%;
  width: 100%;
}

.animated-img {
  position: absolute;
  transition: bottom 0.8s ease,left 0.8s ease, width 0.8s ease;
  transform: translateX(-50%);
  width: 10vw;
  max-height: 99%;
}

/* Bäume ganz hinten */
.baum {
  z-index: 1;
}

/* Elefant über den Bäumen */
.elefant {
  z-index: 2;
}

/* Alle anderen (Text, Sprechblase, Sticker, etc.) sollen darüber liegen */
.vordergrund {
  z-index: 3;
}



