html, body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background: #f8f8f8;
  color: black;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

#comic-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

img.comic-page {
  width: 200%;
  max-width: none;
  height: auto;
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 20px; /* space below comic image */
  margin-bottom: 40px; /* extra spacing from page bottom */
}

.nav-container img {
  width: 50px;
  cursor: pointer;
  transition: transform 0.2s;
}

#prev {
  transform: rotate(180deg);
}

.nav-container button {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

/* Pages list */
h1 {
  margin-top: 40px;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin: 10px 0;
}

a {
  color: black;
  text-decoration: none;
  font-size: 18px;
}

a:hover {
  text-decoration: underline;
}
