body, html {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
 * {
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
  }

.book-block {
   max-width: 400px;
      margin: 10px auto;
      background: white;
      padding: 5px 10px;
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.about-wrapper {
  display: flex;
  align-items: center;   /* vertically centers the text with the image */
  gap: 20px;             /* space between image and text */
}



.author-block {
   max-width: 400px;
      margin: 40px auto;
      background: white;
      padding: 20px 30px;
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
}




main, footer {
width: 800px;;
margin: 0 auto;
background: white;
padding-bottom: 4px;
}

h1,h2, footer {
text-align: center;
}


body {
    font-family: "Georgia", "Times New Roman", serif;
    background-color: #A9CCD2;
    background-size: cover;
    margin: 0;
    padding: 0;
}


.small-about {
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 0.5em;

}

ul {
  list-style-type: none; /* Remove bullets */
  width: fit-content;
  margin: 0 auto;
  text-align: left;

}



#book-text p {
    max-width: 700px;
    margin: 0 auto 16px auto;
    line-height: 1.6;
    font-size: 20px;
    text-indent: 2em;
  text-align: left;      /* center inline-block children */
}

/* Drop cap */
#book-text p:first-of-type::first-letter {
    font-size: 3em;
    float: left;
    line-height: 0.8;
    padding-right: 8px;
    padding-top: 4px;
    font-weight: bold;
}


.author-photo {
  width: 150px;          /* adjust size as needed */
  filter: blur(3px);     /* your privacy blur */
  border-radius: 10px;   /* optional: makes it look nicer */
}

.about-text {
  max-width: 500px;      /* keeps the text readable */
   
}


table {
    border-collapse: collapse; /* Removes cellspacing */
   margin-left: auto;
  margin-right: auto;
}


li a {
    display: inline-block;

background-color: #B7E3FF;
color: #000000;
   padding: 8px 14px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none !important;
    border: 2px solid #000000;            /* keeps yellow clean */
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}
button {
   
background-color: #B7E3FF;

}
li a:visited,
li a:hover,
li a:active,
li a:focus {
  
background-color: #B7E3FF;
color: #000000;
    text-decoration: none !important;
}

.back-to-top {
  position: fixed;
  bottom: 20px;   /* distance from bottom of screen */
  left: 100px;     /* distance from LEFT side */
  
  padding: 10px 15px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity 0.2s;
}




.back-to-top:hover {
  opacity: 1;
}



.chapter-character {
  float: left;
  padding-left: 5px; 
  width: 220px;
  margin-right: 20px;
  margin-bottom: 10px;
  display: block;
}



.speech-bubble {
  float: left;
  max-width: 800px;     /* stays inside your layout */
  background: #ffffff;
  padding: 12px 18px;
  border-radius: 12px;
  border: 3px solid #000;
  margin-left: 5px;     /* bubble sits to the right of the image */
  margin-bottom: 20px;
  position: relative;
  display: block;
}


.speech-bubble::after {
  content: "";
  position: absolute;
  left: -25px;           /* pointer overlaps the image */
  top: 20px;             /* adjust pointer height */
  border-width: 10px;
  border-style: solid;
  border-color: transparent #000 transparent transparent;
  z-index: 10;
}

.header {
text-align:center; 
background: white;
width: 800px;;
margin: 0 auto;
}

.clearfix {
  clear: both;
}

  
/* PHONE FIX — hide character image ONLY on phones */
@media (max-width: 600px) {
  .chapter-character {
    display: none !important;
  }

  
}


