body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  background-repeat: no-repeat;
  background-position: top center !important;
  background-size: cover;
  background-attachment: fixed;
  font-family: 'Inter', sans-serif;
}
#overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.65);
  z-index: 9999;
}
#game-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
#info-page {
  position: absolute;
  top: -0.5rem;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  padding: 1.5rem;
  box-sizing: border-box;
  font-size: 1rem; 
}
#info-page .content-wrapper {
  max-width: 900px;
  margin: auto;
  /* padding-right: 0.5rem; */
  /* padding-left: 0.5rem; */
  border: 6px solid #fffc00; 
  border-radius: 8px;
  box-sizing: border-box;
}
#info-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;      /* always sticks to right corner of wrapper */
  z-index: 1100;
  background: url('./assets/Images/close_btn.png') no-repeat center center;
  background-size: contain;
  border: none;
  cursor: pointer;
  width: 80px;        /* adjust size */
  height: 80px;
}
.scrollspy-example {
  background-color: rgba(0, 0, 0, 0.8) !important;
  padding: 1.5rem;
  border-radius: 0.5rem;
}
h2, h3, h4 {
  text-align: center;
}
p {
  text-align: justify;
  /* color: #440198; */
}
ul {
  margin-left: 1.5rem;
}
.content-wrapper {
  max-width: 900px;
  margin: auto;
  border: 6px solid #fffc00;
  border-radius: 8px;
  box-sizing: border-box;
  position: relative; /* makes it a positioning parent */
}
.custom-close-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 40px;
  height: 40px;
  background: url('./assets/Images/close_btn.png') no-repeat center center;
  background-size: contain;
  border: none;
  cursor: pointer;
  opacity: 1; /* override Bootstrap’s default fade */
}
.content {
  margin-top: 32px;
}
#popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
}
@media only screen and (max-width: 600px) {
  .content {
    margin-top: 64px;
  }
}