﻿body {
  margin: 0;
  padding: 0;
  background: url('https://schnegge.de.cool/ilohp/versuch33/plakat_clean1.png') center/cover no-repeat;
  font-family: 'Cinzel Decorative', cursive;
  overflow: hidden;
}

#loginBox {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0,0,0,0.6);
  padding: 10px 20px;
  border-radius: 10px;
  color: #fff;
  z-index: 10;
}
#loginBox input, #loginBox button {
  padding: 6px;
  margin-right: 6px;
  border-radius: 6px;
  border: none;
}
#loginBox button {
  background: gold;
  color: #000;
  font-weight: bold;
  cursor: pointer;
}

.balloon {
  position: absolute;
  width: 100px;
  height: 100px;
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;
  filter: drop-shadow(0 0 6px gold);
  z-index: 3;
}
.normalBalloon {
  animation: riseUp 10s linear forwards;
}
@keyframes riseUp {
  0% { top: 100%; opacity: 1; }
  90% { top: 0%; opacity: 1; }
  100% { top: -120px; opacity: 0; }
}
@keyframes blink {
  0%,100% { opacity: 0; }
  50% { opacity: 1; }
}
#highscore {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 220px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 14px;
  padding: 10px;
  border-radius: 10px;
  z-index: 10;
}
.star {
  font-size: 16px;
  color: gold;
}
#overlaySpruch {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 22px;
  color: #ffd700;
  text-shadow: 0 0 6px #000;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 10;
  pointer-events: none;
  white-space: nowrap;
}

.icon {
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 2;
}
.hut {
  top: 10px;
  left: 50px;
  width: 80px;
  height: 80px;
  background-image: url('https://schnegge.de.cool/ilohp/versuch33/cowboy_hat_PNG18.png');
}
.stern {
  bottom: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  background-image: url('stern.png');
  animation: rotateStar 6s linear infinite;
}
@keyframes rotateStar {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.legende {
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  background-image: url('legend.png');
  opacity: 0.8;
}
.hase {
  top: 60%;
  left: 10%;
  width: 80px;
  height: 80px;
  background-image: url('hase.png');
  animation: blink 0.6s ease-in-out;
}