body {
  font-family: 'Poppins', Arial, sans-serif;
  text-align: center;
  margin: 0;
  padding: 20px;
  background-color: #f9f9f9;
  font-size: 1rem; 
  line-height: 1.6; 
}

h1 {
  font-size: 1.8rem; 
  font-weight: 700; 
  color: #555555;
  margin-bottom: 20px;  
}

.subtitle {
  font-size: 1.2rem; 
  font-weight: 400;  
  color: #4A4A4A;
  margin-bottom: -30px;
}


/* Table of contents */

.toc-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.chapter {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #333333;
}

.toc-link {
  display: block;
  font-size: 1.1rem;
  color: #007bff;
  text-decoration: none;
  margin-left: 20px;
  padding: 5px 0;
}

.toc-link:hover {
  text-decoration: underline;
}


/* Image + page */

.text-excerpt {
  font-size: 1.1rem; 
  line-height: 1.8; 
  max-width: 800px; 
  margin: 30px auto; 
  text-align: justify; 
  color: #333333; 
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.responsive-image {
  max-width: 100%; 
  height: auto; 
}


/* Video */

.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.vimeo-video-container {
  position: relative;
  width: 100%;
  max-width: 800px; /* Adjust width as needed */
  margin: 0 auto;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.vimeo-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* Audio */

.audio-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}


/* Score download */

.thumbnail-wrapper {
  position: relative;
  display: inline-block;
}

.thumbnail-label {
  position: absolute;
  top: 10px; 
  left: 10px;
  background: rgba(0, 0, 0, 0.6); 
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 5px;
}

.pdf-thumbnail-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.pdf-thumbnail {
  width: 800px;
  height: 300px;
  object-fit: cover; 
  border: 2px solid #ddd;
  border-radius: 8px;
  transition: transform 0.2s ease-in-out;
}

.pdf-thumbnail:hover {
  transform: scale(1.05); 
}

.pdf-description {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 20px;
}

.pdf-description a {
  text-decoration: none;
  color: #007bff;
  font-weight: 600;
}

.pdf-description a:hover {
  text-decoration: underline;
}


/* Nav */

.nav-links {
  margin-top: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
  margin: 0 10px;
}

.nav-links a:hover {
  text-decoration: underline;
}
