body {
  background-color: rgb(26, 0, 31);
}

h1, h3 {
  color: #ffd700;
  text-align: center;
  font-family: "Cinzel Decorative", "Papyrus", fantasy;
  letter-spacing: 2px;
  padding: 1px;
  border-radius: 8px;
  border-collapse: separate;
}

.go-back {
  font-family: fantasy;
  }

h4 {
    font-weight: bold;
}

p {
    color: hsl(0, 0%, 88%);
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 10px 0;
}

.scroll {
  background: #f5e6c4; /* parchment base */
  border: 6px solid #8b5e3c;
  border-radius: 12px;
  padding: 30px 40px;
  width: 400px;
  margin: 40px auto;
  text-align: center;
  font-family: "Cinzel Decorative", "Papyrus", fantasy;
  color: #3b2b14;
  box-shadow: inset 0 0 15px #d2b48c, 0 6px 18px rgba(0,0,0,0.5);
  position: relative;
}

/* Scroll roll edges */
.scroll::before,
.scroll::after {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  width: 24px;
  background: #d2b48c;
  border: 3px solid #8b5e3c;
  border-radius: 50%;
}

.scroll::before {
  left: -20px; /* left roll */
}

.scroll::after {
  right: -20px; /* right roll */
}

/* Links inside scroll */
.scroll nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.scroll nav a {
  color: #3b2b14;
  font-size: 1.2rem;
  text-decoration: none;
  padding: 6px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.scroll nav a:hover {
  color: #6a1b9a; /* royal purple hover */
  transform: scale(1.1);
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  text-decoration: none;
  color: #ffcc00;
  font-weight: bold;
}

th, td {
  background-color: #f9f9f9; 
}

th {
  background-color: #d8c0ff;
}

ol, ul, li, dd, dt {
  color: #ffcc00;
}

img {
  width: auto;
}

.go-back {
  background: #f5e6c4; /* parchment color */
  color: #3b2b14; /* dark ink color */
  padding: 12px 24px;
  text-align: center;
  border: 4px solid #8b5e3c; /* frame border */
  border-radius: 16px;
  font-family: "Papyrus", "Cinzel Decorative", fantasy;
  font-size: 1.2rem;
  font-weight: bold;
  display: inline-block;
  margin-top: 20px;
  box-shadow: inset 0 0 10px #d2b48c, 0 4px 10px rgba(0,0,0,0.4);
  position: relative;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Roll edges (pseudo-elements) */
.go-back::before,
.go-back::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 16px;
  height: 70%;
  background: #d2b48c;
  border: 3px solid #8b5e3c;
  border-radius: 50%;
  transform: translateY(-50%);
}

.go-back::before {
  left: -12px; /* left scroll roll */
}

.go-back::after {
  right: -12px; /* right scroll roll */
}

/* Hover effect */
.go-back:hover {
  transform: scale(1.05);
  box-shadow: inset 0 0 12px #c2a16c, 0 6px 14px rgba(0,0,0,0.5);
}
