body {
  background-color: black;
  color: darkred;
  font-family: "Courier New", Courier, monospace;
  margin: 0;
  display: flex;
  height: 100vh;
  flex-direction: row;
}

/*sidebar*/
nav {
  width: 200px;
  min-width: 200px;
  border-right: 2px solid darkred;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
}

/*Main Content*/
main{
  flex-grow: 1;
  padding: 40px 60px;
  overflow-y: auto;
}

a {
  color: red;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

a:hover {
  text-decoration: underline;
  color: white;
}

/*Story Overlay*/
.story-overlay{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
.story-overlay:target{
  display: flex;
}
.story-popup{
  background: black;
    border: 2px solid darkred;
    width: 80%;
    max-width: 800px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}
iframe {
    width: 100%;
    height: 70vh; /* Gives the story plenty of vertical room */
    border: none;
}

/*Niche Formatting*/
/* The Human Voice: Classic, serif, left-aligned */
.human-voice {
    font-family: "Georgia", "Garamond", serif;
    text-align: left;
    color: #cccccc; /* A slightly softer grey-red or off-white */
    margin-right: 15%; /* Pushes it away from the right edge */
    line-height: 1.6;
}

/* The AI Voice: Technical, monospaced, right-aligned */
.ai-voice {
    font-family: "Courier New", Courier, monospace;
    text-align: right;
    color: red; /* Or a brighter, 'flickering' red */
    margin-left: 15%; /* Pushes it away from the left edge */
    line-height: 1.4;
    text-transform: uppercase; /* Optional: Makes the AI feel more 'system-like' */
    padding-right: 30px;
    box-sizing: border-box;
}