* {
  margin: 0;
  padding: 0;
}

body {
  text-align: center;
  font-family: Arial, sans-serif;
  position: relative;
}

.mark {
  position: absolute;
  width: 25px;
  height: 25px;
  background: red;
  border-radius: 50%;
}

.header {
  z-index: 10;
  padding: 0 5%;
}

.headerImg {
  width: 100%;
}

.footer {
  z-index: 10;
}

.footerImg {
  width: 100%;
}
#game-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-image: url(img/background.png);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  height: 100vh;
  overflow: hidden;
  z-index: 5;
}

#game-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(14, 103, 161, 0.6),
    rgba(1, 167, 225, 0.6)
  );
  pointer-events: none; /* Ensures interactions pass through the overlay */
}

.box {
  position: relative;
  background-color: white;
  width: 100%;
  height: fit-content;
  padding: 10%;
}

/* Modal styling */
#modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modalHeaderImg {
  width: 100%;
}

.modalHeader {
  background: linear-gradient(
    to bottom,
    rgba(14, 103, 161, 1),
    rgba(1, 167, 225, 1)
  );
}

#modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  width: 800px;
}

#modal-message {
  font-size: 50px;
  font-weight: 800;
  margin: 20px 0;
}

#close-btn {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: red;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* eye indicator styling */
#eye-indicator {
  position: absolute;
  left: 210px;
  top: 150px;
  width: 55px;
  height: 55px;
  border: 2px solid red;
  border-radius: 100%;
}

@keyframes moveElephant {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100vw);
  }
}

#elephant-wrapper {
  width: 1000px;
  animation: moveElephant 20s linear infinite;
}

#elephant-img {
  width: 100%;
}
