body {
  background-image: url("background.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
  color: white;
}
.text-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 12px;

  width: 80%;
  max-width: 700px;
  margin: 60px auto;

  display: block; /* <-- change this */
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4); /* overlay opacity */
  z-index: 0;
}

body * {
  position: relative;
  z-index: 1; /* keep text above overlay */
}
h1, p {
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}
body {
  text-align: center;
}
audio {
  margin-top: 20px;
}
a {
  color: #c9b6ff;
}
ul {
  list-style: none;      /* removes bullets */
  padding: 0;
  margin: 0 auto;        /* centers the list itself */
  width: fit-content;    /* makes the list only as wide as its content */
}
.poem-page {
  background-image: url("background2.jpg");
  background-size: cover;
background-repeat: no-repeat;
  background-attachment: scroll;
}
.pasture-page {
  background-image: url("background3.jpg");
  background-size: cover;
background-repeat: no-repeat;
  background-attachment: scroll;
}
.journal-page {
  background-image: url("background5.png");
  background-size: cover;
background-repeat: no-repeat;
  background-attachment: scroll;
}