html {
  background-image: url("https://file.garden/ZWlUCY4S7Xz2vypS/archived%20backgrounds/colours/black/gryd015.jpg"); 
}
#introbox {
  height: auto;
  font-size: 20px;
  width: 1000px;
  background-color: black;
  color: lawngreen;
  padding: 10px;
  font-family: comic sans ms;
}
.chapter-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 420px;
}

.chapter-link {
  font-family: "Comic sans ms", monospace;
  border: 2px solid #000;
  color: yellow; 
  background:black;
  padding: 8px 10px;
  cursor: pointer;
  text-align: left;
}
.chapter-link:hover { color: lawngreen; }

.popup {
  display: none;
  position: fixed;
  width: min(620px, 92vw);
  max-height: 70vh;
  color: black;
  border-style: solid;
  border-width: 1px;
  border-color: gray darkgray darkgray gray;
  box-shadow: 2px 2px #000;
  background-color: lavender;
  font-family: courier;
  font-size: 15px;
  text-align: justify;
}

.popup-bar {
  background-color: #000080;
  color: white;
  padding: 3px 5px;
  font-family: 'MS Sans Serif', Geneva, sans-serif;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 20px;
  cursor: move;      /* looks draggable */
  user-select: none; /* prevent highlight */
}

.popup-close {
  border: 2px solid red;
  background: red;
  color: white;
  font-family: "Courier New", monospace;
  font-weight: bold;
  width: 28px;
  height: 24px;
  cursor: pointer;
}

.popup-body {
  padding: 12px;
  overflow: auto;
  max-height: calc(70vh - 42px); /* keep body scrollable */
  font-family: "Courier New", monospace;
  line-height: 1.5;
}
       
.innerimages {
border-width:10px; 
border-style:solid;
border-image: url("https://i.imgur.com/I7i5Udr.png") 35 fill round; 
} 

#homebutton {
  z-index: 2;
  position: fixed;
  top: 70px;
}

button {
  background-color:lavender;
  border: 3px outset gray; 
  font-family:courier new;
  font-weight: bold;
}
button:hover {
  background-color: darkgrey; 
}   