header {
  background: #48cae4;
  text-align: center;
  padding: 1rem;
  position: relative;
} 
 
body {
  font-family: 'Press Start 2P', cursive;
  background: #ade8f4;
  color: #333;
  margin: 0;
  padding: 0;
  overflow: auto;
  cursor: url('/Welle1/custom-cursor.png'), auto;
}

header h1 {
  margin: 0;
  color: #fff;
  font-size: 1.5rem;
}

.hidden {
  display: none !important;
}

#welcomePopup .popup-content {
  background-color: white;
  padding: 40px;
  border: 10px solid black;
  z-index: 1000;
  font-size: 1rem;
  max-width: 700px;
}

.wave-button {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #007BFF;
  color: white;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  font-family: 'Press Start 2P', cursive;
  font-size: 0.8rem;
  border: none;
  z-index: 1500;
}

.info-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #007BFF;
  color: white;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  font-family: 'Press Start 2P', cursive;
  font-size: 0.8rem;
  z-index: 500;
}

.map {
  position: relative;
  width: 1152px;
  height: 648px;
  background: url('/Welle1/map-background.png') no-repeat center;
    background-size: auto;
  background-size: cover;
  margin-bottom: 70px;
}

#map-w2 {
  background: url('map-background-w2.png') no-repeat center;
  width: 1152px;
  height: 648px;
}

.map-container {
  position: relative;
  width: 100vw;
  min-height: calc(100vh - 70px);
  display: flex;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: auto;
  padding-top: 10px;
  box-sizing: border-box;
}

#countdownOverlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}
 
.level {
  width: 30px;
  height: 30px;
  position: absolute;
  cursor: pointer;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: translateZ(0);
}

.level.completed {
  filter: grayscale(100%);
  opacity: 0.5;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  font-size: 1rem;
  padding: 20px;
  box-sizing: border-box;
}

.popup-content {
  background: #fff;
    background-color: rgb(255, 255, 255);
  padding: 2rem;
  border-radius: 5px;
  text-align: center;
  max-width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  font-family: 'Press Start 2P', cursive;
  color: #333;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.popup-content button {
  font-family: 'Press Start 2P', cursive;
  font-size: 0.8rem;
  margin-top: 15px;
  background: #48cae4;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-transform: uppercase;
  margin-left: 5px;
  margin-right: 5px;
}

#info-popup .popup-content {
  border: 9px solid #007BFF;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  max-width: 600px;
  padding: 20px;
}

#close-impressum {
  display: block;
  text-align: right;
  margin-bottom: 15px;
  cursor: pointer;
  color: #dc3545;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
}

#impressum-popup .popup-content {
  background-color: white;
  color: #333;
  padding: 30px;
  border: 2px solid black;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  max-width: 600px;
  text-align: left;
}

#level1 {
  top: 606px;
  left: 510px;
  background-image: url('/Welle1/level-icon1.png');
}

#level2 {
  top: 564px;
  left: 624px;
  background-image: url('/Welle1/level-icon2.png');
}

#level3 {
  top: 480px;
  left: 553px;
  background-image: url('/Welle1/level-icon3.png');
}

#level4 {
  top: 480px;
  left: 500px;
  background-image: url('/Welle1/level-icon4.png');
}

#level5 {
  top: 342px;
  left: 690px;
  background-image: url('/Welle1/level-icon5.png');
}

#level6 {
  top: 210px;
  left: 801px;
  background-image: url('/Welle1/level-icon6.png');
}

#level7 {
  top: 480px;
  left: 399px;
  background-image: url('/Welle1/level-icon7.png');
}

#level8 {
  top: 288px;
  left: 444px;
  background-image: url('/Welle1/level-icon8.png');
}

#level9 {
  top: 396px;
  left: 362px;
  background-image: url('/Welle1/level-icon9.png');
}

#level10 {
  top: 138px;
  left: 492px;
  background-image: url('/Welle1/level-icon10.png');
}

#level11 {
  top: 300px;
  left: 365px;
  background-image: url('/Welle1/level-icon11.png');
}


#triggerImage1 {
  top: 534px;
  left: 300px;
  width: 60px;
}

#triggerImage2 {
  top: 513px;
  left: 720px;
  width: 30px;
}

#triggerImage3 {
  top: 450px;
  left: 930px;
  width: 60px;
}

#triggerImage4 {
  top: 570px;
  left: 570px;
  width: 30px;
}

#triggerImage5 {
  top: 24px;
  left: 945px;
  width: 34px;
}

#triggerImage6 {
  top: 450px;
  left: 900px;
  width: 30px;
}

#triggerImage7 {
  top: 250px;
  left: 330px;
  width: 30px;
}

#triggerImage8 {
  top: 255px;
  left: 390px;
  width: 30px;
}

.trigger-image {
  position: absolute;
  height: auto;
  cursor: pointer;
  z-index: 5;
  transition: transform 0.3s ease;
}

#secretCodeSection {
  position: absolute;
  bottom: 10px;
  left: 40px;
  z-index: 10;
  text-align: center;
}

#impressum-button {
  position: absolute;
  bottom: 10px;
  right: 30px;
  background-color: #6c757d;
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  z-index: 500;
  font-family: 'Press Start 2P', cursive;
  font-size: 0.8rem;
  border: none;
}

#code-button {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: #6c757d;
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  z-index: 500;
  font-family: 'Press Start 2P', cursive;
  font-size: 0.8rem;
  border: none;
}


#codeInputContainer {
  display: none;
  background: rgba(255, 255, 255, 0.9);
  padding: 15px;
  border-radius: 8px;
  border: 2px solid #48cae4;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}