html {
  background-image: url("puzzle-bg.gif");
  background-repeat: repeat;
  
}
body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  color: black;

  font-family: "SN Pro", sans-serif;
  font-optical-sizing: auto;
  font-weight: <900>;
  font-style: normal;
}

.content {
  background-color: rgba(235, 235, 235, 0.5);
  max-width: 1000px;     /* controls width of the white strip */
  margin: 0 auto;       /* centers it horizontally */
  padding: 20px;
  min-height: 100vh;    /* makes it stretch down the page */
}

p {
  display: block;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.2em;
  max-width: 50vw;
  min-width: 500px;
}

.voice {
  display: block;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1em;
  max-width: 40vw;
  min-width: 400px;
  font-style: italic;
}

h2 {
  display: block;
  margin-left: auto;
  margin-right: auto;
  font-size: 2em;
}

.superspace {
    margin: 30px 0;
    border: none;
}

.centertext {
  text-align: center;
  margin-top: 10px;
}

.caption {
  max-width: 600px;
  width: 100%;
  text-align: center;
  margin-top: 10px;
}

.centerimage {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
  max-height: 400px;
}

.centerbox {
  display: flex;
  flex-direction: column;
  align-items: center;

  flex-wrap: wrap;
}

.rowimage {
  max-width: 200px;
}

.image-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.hover-image {
  position: relative;
  display: inline-block;
  cursor: pointer;
  text-decoration: underline;
}

.hover-image img {
  display: none;
  position: absolute;
  bottom: 120%; /* shows below the text */
  left: 50%;
  transform: translateX(-50%);
  max-width: 200px;
  z-index: 10;
  border: 2px solid #000;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.hover-image:hover img {
  display: block;
}




.table-wrap {
  width: 500px;
  margin: 40px auto;
  font-family: "Georgia", serif;
}

/* Table base */
.d20-table {
  width: 100%;
  border-collapse: collapse;
}

/* Header */
.d20-table thead th {
  text-align: left;
  font-weight: bold;
  padding: 6px 10px;
  border-bottom: 2px solid #000;

  background-color: #555; /* darker grey */
  color: #fff;            /* white text */
}

/* Cells */
.d20-table td {
  padding: 6px 10px;
}

/* Zebra striping */
.d20-table tbody tr:nth-child(odd) {
  background-color: #ddd;
}

.d20-table tbody tr:nth-child(even) {
  background-color: #f5f5f5;
}

/* First column (d20 numbers) */
.d20-table td:first-child {
  width: 50px;
}
