html{
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  margin: 0; width: 100%; overflow-x: hidden;
}

img { max-width: 100%; height: auto;
 }



#banner{
  width: 100%;
  min-height: 50vh;              
  background-image: url(joseph-heintz-the-younger-st-anthony-of-padua-the-miracle-of-the-mule.jpg);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;         
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}
body{
  margin: 0;
  background-color: #ffecd7e0;
  background-size: cover;
}
#bannertxt{
  font-size: clamp(70px, 8vw, 150px);
  color: rgb(255, 215, 0);
  width: auto;                   
  letter-spacing: 0px;
 text-shadow:
    2px 2px 4px rgba(0, 0, 0, 0.85),
    -2px -2px 4px rgba(0, 0, 0, 0.85);
  -webkit-text-stroke: 1px black;
    background-color: rgba(0, 0, 0, 0.4);
  padding: 0.25em 0.5em;
  border-radius: 8px;

  margin-top: 0.5rem;
}

#liam1 {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: clamp(30px, 4vw, 40px);
  margin: 20px auto;
  width: clamp(320px, 90vw, 900px);
  text-align: center;              /* centers the h2 inside */
}

#liam,
#box2,
#box3 {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: clamp(20px, 4vw, 40px);
  margin: 20px auto;
  max-width: 1500px;                 
  width: clamp(320px, 90vw, 900px);  
#box3 { width: clamp(320px, 95vw, 1500px); }}


   


       .biblical {
  box-sizing: border-box;
  display: block;
  width: min(95%, 950px);
  margin: 1.5rem auto;
  padding: 1.5rem;


  background: linear-gradient(145deg, #fff6e0 0%, #f4d890 100%);
  border: 2px solid rgba(139, 115, 0, 0.8);
  border-radius: 16px;


  color: #2b1b00;
  font-family: "Georgia", serif;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  line-height: 1.7;
  text-align: left;
  text-shadow:
    1px 1px 2px rgba(255, 255, 255, 0.4),
    0 0 8px rgba(255, 215, 0, 0.3);


  box-shadow:
    0 8px 15px rgba(0, 0, 0, 0.25),
    inset 0 1px 5px rgba(255, 255, 255, 0.6),
    inset 0 -2px 8px rgba(0, 0, 0, 0.2);


  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.05) 0px,
      rgba(255, 255, 255, 0.05) 1px,
      transparent 3px,
      transparent 5px
    ),
    linear-gradient(145deg, #f6e5b8 0%, #e9c86c 100%);

  transition: all 0.3s ease;
  overflow-wrap: break-word;
  word-wrap: break-word;
}


.biblical > * {
  max-width: 100%;
}


.biblical > * {
  max-width: 100%;
}
.canon-list{
  list-style: none;
  counter-reset: item;
  margin: 1rem 0;
  padding: 0;
  max-width: 100%;
  text-align: left;
}

.canon-list li{
  counter-increment: item;
  position: relative;
  margin: 0 0 0.75rem;
  padding: 0.75rem 0.75rem 0.75rem 2.75rem;
  color: #2b1b00;
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(139,115,0,0.35);
  border-radius: 12px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    0 2px 6px rgba(0,0,0,0.08);
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  font-weight: normal;
  line-height: 1.7;
  word-wrap: break-word;
  overflow-wrap: break-word;
}


.canon-list li::before{
  content: counter(item) ".";
  position: absolute;
  left: 0.65rem;
  top: 0.75rem;
  font-weight: normal;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  line-height: 1;
  color: rgb(255,215,0);
  -webkit-text-stroke: 0.5px #000;
  text-shadow:
    0 0 6px rgba(255,215,0,0.55),
    1px 1px 2px rgba(0,0,0,0.55);
}


@media (max-width: 600px){
  .canon-list li{
    padding: 0.65rem 0.5rem 0.65rem 2.25rem;
    margin-bottom: 0.65rem;
    font-size: 0.9rem;
  }

  .canon-list li::before{
    left: 0.5rem;
    top: 0.65rem;
    font-size: 1rem;
  }
}
        
     
    
        

h1{
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    margin: 0.5rem 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
h2:not(#h2) {
  font-size: clamp(1.25rem, 4vw, 2rem);
  margin: 1rem 0 0.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
h3 {
  font-size: clamp(1.1rem, 3.5vw, 1.5rem);
  margin: 0.75rem 0 0.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
   

.img, .imgf {
  display:block;
  width:min(100%, 400px);
  height:auto;
  margin:0 auto;
  object-fit:contain;
}

 .button-container{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap: 12px;             
  padding: 16px 20px;
  box-sizing:border-box;
  width: 100%;
}
.parent-container{
  display:flex;                
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:100%;
}
.button{
  display:inline-block;
  background-color:#1b1b1b;
  color: rgb(255, 215, 0);
  text-decoration:none;
  font-family:'Gill Sans','Gill Sans MT',Calibri,'Trebuchet MS',sans-serif;
  font-size: clamp(30px, 2.5vw, 22px); 
  padding: 10px 14px;
  line-height: 1.1;
  border-radius: 20px;
  box-shadow: 0 8px 15px rgba(0,0,0,.3);
  transition: background-color .3s, transform .2s, box-shadow .2s;
}


.button:hover{
  background-color:#666060;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 12px 20px rgba(0,0,0,.4);
}

.button:active{
  background-color:#d4af37;
  transform: translateY(0) scale(.98);
  box-shadow: 0 4px 10px rgba(0,0,0,.2);
}
.button-bar{
  background-color:#1b1b1b;
  width:100%;                 
  display:flex;
  justify-content:center;
}
    
   

    
    
 

    .link {
        text-align: center; 
        margin-top: 20px; 
      }
      
      .link a {
        text-decoration: none; 
        color: rgba(129, 33, 30, 0.788); 
        font-size: clamp(18px, 6vw, 28px);
         text-shadow: 0 0 15px rgba(255, 255, 255, 0.5), 0 0 10px rgba(255, 255, 255, 0.5);
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, color 0.3s ease;
      }
      
      .link a:hover {
        text-decoration: underline; 
        color: rgba(255, 255, 255, 0.555); 
      }
     .highlight {
        font-size: clamp(18px, 6vw, 28px);
    color: rgb(165, 39, 39);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.493), 0 0 10px rgba(255, 255, 255, 0.712);
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, color 0.3s ease;
     } 
     .highi {
        font-size: clamp(18px, 6vw, 28px);
        color: rgba(233, 9, 9, 0.815);
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.493), 0 0 10px rgba(255, 255, 255, 0.712);
        transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, color 0.3s ease;
        font-style: italic;
        

     }
     .ital {
        font-style: italic;
     }


        .regwords {
            color: rgb(0, 0, 0);
            font-style:normal;
            font-family:  Romanesco;
            font-size: clamp(18px, 6vw, 28px);
            font-weight: bold;

        }
        .tooltip {
            position: relative;
            display: inline-block;
            cursor: pointer;
            color: rgb(165, 39, 39);
            text-shadow: 0 0 15px rgba(255, 255, 255, 0.493), 0 0 10px rgba(255, 255, 255, 0.712);
            transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, color 0.3s ease;
             
        }
        
        .tooltip-text {
            visibility: hidden;
            width: 600px;
            background-color: rgba(0, 0, 0, 0.671);
            color: #fff;
            font-size: 50px;
            text-align: center;
            border-radius: 10px;
            padding: 5px;
            position: absolute;
            bottom: 125%;  
            left: 50%;
            transform: translateX(-50%);
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        .tooltip:hover .tooltip-text {
            visibility: visible;
            opacity: 1;
        }
        
/* Tablets & down */
@media (max-width: 768px) {

  html, body {
    width: 100%;
    overflow-x: hidden;
  }

  .biblical {
    width: 95%;
    margin: 1rem auto;
    padding: 1.25rem;
  }

  h1 {
    font-size: clamp(1.4rem, 6vw, 2rem);
    text-align: center;
  }

  h2:not(#h2) {
    font-size: clamp(1.15rem, 5vw, 1.6rem);
    text-align: center;
  }

  h3 {
    font-size: clamp(1rem, 4vw, 1.3rem);
    text-align: center;
  }

  #liam,
  .title,
  .parent-container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
  }


   .img,
  .imgf {
    width: min(100%, 400px);
  }
}

 
  .button-bar{
    width: 100%;             
    margin-left: 0;           
    margin-right: 0;
    border-radius: 0;
    padding: 8px 0;
  }

  
  [style*="width: 1500px"],
  [style*="width:1600px"] {
    width: 100% !important;
    max-width: 100% !important;
  }


/* Phones */
@media (max-width: 480px) {

  html, body {
    width: 100%;
    overflow-x: hidden;
  }

  .biblical {
    width: 96%;
    margin: 0.75rem auto;
    padding: 1rem 0.75rem;
    font-size: 0.9rem;
    line-height: 1.6;
  }

  h1 {
    font-size: 1.3rem;
    margin: 0.5rem 0;
    line-height: 1.3;
    text-align: center;
  }

  h2:not(#h2) {
    font-size: 1.1rem;
    margin: 0.75rem 0 0.5rem;
    line-height: 1.3;
    text-align: center;
  }

  h3 {
    font-size: 1rem;
    margin: 0.5rem 0 0.4rem;
    line-height: 1.3;
    text-align: center;
  }

  .canon-list li {
    font-size: 0.85rem;
    padding: 0.6rem 0.4rem 0.6rem 2rem;
    line-height: 1.5;
  }

  .canon-list li::before {
    font-size: 0.95rem;
    left: 0.4rem;
  }

  #bannertxt {
    font-size: clamp(40px, 12vw, 80px);
    padding: 0.2em 0.4em;
  }
}
    

.button-bar { position: relative; }


.nav-toggle{
  display: none;
  background: linear-gradient(145deg, #2a2a2a 0%, #1b1b1b 100%);
  color: rgb(255, 215, 0);
  border: 2px solid rgba(255, 215, 0, 0.4);
  border-radius: 20px;
  padding: 12px 22px;
  font-size: clamp(16px, 4.5vw, 20px);
  font-weight: 600;
  cursor: pointer;
  margin: 8px 10px;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  letter-spacing: 0.5px;
  box-shadow:
    0 0 15px rgba(255, 215, 0, 0.2),
    0 6px 16px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.nav-toggle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.15);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
  z-index: 0;
}

.nav-toggle:hover::before {
  width: 200%;
  height: 200%;
}

.nav-toggle:hover {
  background: linear-gradient(145deg, #3d3d3d 0%, #2d2d2d 100%);
  border-color: rgb(255, 215, 0);
  box-shadow:
    0 0 25px rgba(255, 215, 0, 0.5),
    0 8px 24px rgba(255, 215, 0, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.15);
  transform: translateY(-3px) scale(1.02);
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.nav-toggle:active {
  transform: translateY(-1px) scale(0.98);
  background: linear-gradient(145deg, #1b1b1b 0%, #2a2a2a 100%);
  box-shadow:
    0 0 15px rgba(255, 215, 0, 0.3),
    0 3px 10px rgba(0, 0, 0, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.nav-toggle > * {
  position: relative;
  z-index: 1;
}


@media (max-width: 900px){
  .nav-toggle{ display: inline-block; }

  .button-bar{
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
    padding: 8px 10px;
  }

 
  .button-bar > .button-container{
    display: none;                 
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: #1b1b1b;
    box-shadow: 0 8px 20px rgba(0,0,0,.35);
    padding: 6px 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    z-index: 1000;
  }


  .button-bar.open > .button-container{ display: flex; }

  
  .button-bar > .button-container .button{
    display: block;
    width: 100%;
    text-align: center;
    font-size: clamp(15px, 4.2vw, 18px);
    line-height: 1.2;
    padding: 10px 12px;
    min-height: 44px;
    border-radius: 0;
    box-shadow: none;
  }

  .button-bar > .button-container .button + .button{
    border-top: 1px solid rgba(255,255,255,.08);
  }
}


@media (min-width: 901px){
  #mainNav{ display: flex !important; }
}


@media (prefers-reduced-motion: reduce){
  .button, .nav-toggle, .button-container { transition: none !important; }
}

/* PDF Download Box Styles */
.pdf-download-box {
  margin: 2rem 0;
  padding: clamp(1rem, 4vw, 1.5rem);
  background: linear-gradient(145deg, #f6e5b8 0%, #e9c86c 100%);
  border: 2px solid rgba(139, 115, 0, 0.6);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
}

.pdf-title {
  margin-top: 0;
  color: #2b1b00;
  font-size: clamp(1.1rem, 4.5vw, 1.5rem);
  word-wrap: break-word;
}

.pdf-description {
  color: #2b1b00;
  margin: 0.5rem 0 1rem;
  line-height: 1.6;
  font-size: clamp(0.9rem, 3vw, 1rem);
  word-wrap: break-word;
}

.pdf-button {
  display: inline-block;
  width: 100%;
  max-width: 280px;
  padding: clamp(0.65rem, 3vw, 0.75rem) clamp(1rem, 4vw, 1.5rem);
  background: #000000;
  color: rgb(255, 215, 0);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: clamp(0.9rem, 3.5vw, 1rem);
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.pdf-button:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.pdf-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}



