 
.pixelify-sans-<uniquifier> {
  font-family: "Pixelify Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

body{
  background-color: #0d0d0d;
  color: white;
  font-family: 'Pixelify Sans', monospace;
}

#pg1story{
  margin-top: 30px;
margin-bottom: 20px;
margin-left:auto;
margin-right:auto;
line-height: 1.5;
max-width: 700px;
font-size: 18px;
opacity: 0; /* hidden at start */
animation: fadeIn 1s ease forwards; /* runs once */
  color: #B8B8B8;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.story {
margin-top: 90px;
margin-bottom: 20px;
margin-left:auto;
margin-right:auto;
line-height: 1.5;
max-width: 700px;
font-size: 18px;
opacity: 0; /* hidden at start */
animation: fadeIn 1s ease forwards; /* runs once */
  color: #B8B8B8;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.story2 {
margin-top: 20px;
margin-bottom: 10px;
margin-left:auto;
margin-right:auto;
line-height: 1.5;
max-width: 700px;
font-size: 18px;
color: #B8B8B8;
opacity: 0; /* hidden at start */
animation: fadeIn 3s ease forwards; /* runs once */
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.choices {
  margin:auto;
    margin-bottom: 60px;
    margin-top: 20px;
  line-height: 1.9;
  max-width: 700px;
  font-size: 18px;
  opacity: 0; /* hidden at start */
  animation: fadeIn 4s ease forwards; /* runs once */
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.choice:link {
  display: inline-block;
  text-decoration: none;
  color: rgb(36, 105, 243);
  cursor: pointer;
}

.choice:visited {
  color: rgb(61, 94, 160);
}

.choice::before {
  content: "> ";
}

.choice:visited {
  color: rgb(61, 94, 160);
}

.choice:hover{
  color: #eb3434;
}

.choice:hover::before {
  content: ">> ";
}

.choice:active{
  transform: scale(0.95);
   color: rgb(36, 105, 243);
}
.chat {
    padding: 10px;
    margin: auto;
    background-color: #B8B8B8;
    min-height: 60px;
    max-height: 200px;
    overflow-y: auto;
    color:#040404;
   line-height: 1.5;
   max-width: 700px;
   font-size: 18px;
   border-radius: 2px;
   opacity: 0; /* hidden at start */
  animation: fadeIn 2s ease forwards; /* runs once */
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

#pg2{
  margin-top: 80px;
}

.chat{
  margin:auto;
  overflow-y: auto; /* enable scrolling if content overflows */
}

/* Scrollbar track */
.chat::-webkit-scrollbar {
  width: 12px;
}

.chat::-webkit-scrollbar-track {
  background: #2b2b2b; /* track color */
  border-radius: 2px;
}

/* Scrollbar thumb (the draggable part) */
.chat::-webkit-scrollbar-thumb {
  background: rgb(36, 105, 243); /* thumb color */
  border-radius: 4px;
}

/* Optional: thumb on hover */
.chat::-webkit-scrollbar-thumb:hover {
  background: #eb3434;
}

.end {
color:#eb3434;
font-size: 21px;
margin:auto;
line-height: 1.9;
max-width: 700px;
opacity: 0; /* hidden at start */
animation: fadeIn 3s ease forwards; /* runs once */
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.nav {
  background-color: #040404;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.nav-left{
  display: flex;
}

.nav-left a:link {
  float: left;
  color: #B8B8B8;
  text-align: center;
  padding: 14px 5px;
  text-decoration: none;
  font-size: 16px;
  margin-right: 10px;
}

.nav-left a:visited {
  color: #B8B8B8;
  text-decoration: none;
}

.nav-left a:hover {
    color: #ff0000;
  text-decoration: underline;
}

.nav-left a:active {
  color: rgb(36, 105, 243);
  text-decoration: underline;
}

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);  /* perfectly center */
  font-size: 20px;
  color: rgb(59, 59, 59);
}

.nav-right {
  display:flex;
  color: #B8B8B8;
  align-items: center;
  gap: 15px;
  padding: 14px 5px;
  text-decoration: none;
  font-size: 16px;
  margin-left: 10px;
}

#soundToggle {
  width: 20px;
  height: 20px;
  margin-right:10px;
  vertical-align:text-bottom;
  cursor: pointer;
}

img {
display:block;
margin: auto;
  width: 597px;
  height: 391.25px;
opacity: 0; /* hidden at start */
animation: fadeIn 3s ease forwards; /* runs once */
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}