@charset "utf-8";
/* CSS Document */
html {scroll-behavior: smooth; overflow-y: scroll;}

body {background-color: #f2f2f2; background-size: cover; background-position: center; overflow: hidden;}

p {font-size: 21px; text-align: center; font-weight: bold;
	font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;}

h1 {text-align: center; font-size: 125px; font-weight: 900;
	font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;}

h2 {text-align: center; font-size: 38px; font-weight: 900;
	font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;}

nav ul {list-style-type: none; margin: 0; padding: 0; overflow: hidden;}

nav li {float: right;}

nav img {position: absolute; float: left; margin: -50%, -50%; overflow: hidden; width: 100px;}

li a {display: block; padding: 9px; background-color: rgb(from color r g b); 
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-weight: 600; text-decoration: none; color: black;}

li a:hover:not(.active) {background-color: lightgray;}

.active {opacity: 75%;}

.pheader {text-align: left; font-size: 21px; font-weight: bold;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;}

.header {text-align: center; font-size: 36px;  font-weight: 900; 
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;}

.header2 {text-align: center; font-size: 54px; font-weight: 900;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;}

.pnotes {text-align: center; font-size: 21px; font-weight: bold;}

h1.header::first-line {text-align: center; font-size: 150px; font-weight: 900; 
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;}

.gallery { 
  margin-top: 5%;
  padding-top: 60px; 
  text-align: center;
}

.centered-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  margin-bottom: 100px;
  margin-left: 10px;
  margin-right: 10px;
}

.image-container {
  width: 100%;
  text-align: center;
  display: flex;
}

.scrollable-images {
  display: flex;
/*   justify-content: center; */
  overflow-x: auto;
  gap: 10px;
  transition: 700ms cubic-bezier(0.075, 0.02, 0.165, 1);
  transform-origin: center;
  
}

#myModal {
  z-index: 101;
}

.scrollable-images::-webkit-scrollbar {
  display: none;
}

.scrollable-images img {
  width: 80px;
  max-width: 100%;
  height: 300px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  filter: grayscale(100%);
}

.scrollable-images img:hover {
  filter: grayscale(0%);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  background-size: contain;
  margin: auto;
  display: block;
  width: auto;
  height: auto;
}
#caption {
  margin: auto;
  display: block;
  font-family: 'Hubballi', sans-serif;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}
.modal-content, #caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}
.close:hover, .close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}
@keyframes zoom {
  from {
    transform: scale(0.1);
  }
  to {
    transform: scale(1);
  }
}
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}
@media screen and (max-width:768px) {
    .modal-content {
      margin-top: 20%;
      width: 100%;
    }
}
@media (min-width: 769px) {
  .modal-content {
    /*max-width: none; */
    max-height: 100%; 
    width: auto; 
  }
}

/* ===== Enhanced mobile typography (readability only; no desktop changes) ===== */
@media (max-width: 767px) {
  /* Keep paragraphs from edge-to-edge and improve scan-ability */
  h1, h2, p { max-width: 68ch; margin-left: auto; margin-right: auto; padding-inline: 12px; }
  /* Headings remain bold but scale cleanly */
  h1 { font-size: clamp(28px, 9.5vw, 48px); line-height: 1.15; letter-spacing: 0.2px; text-align: center; text-wrap: balance; }
  h2 { font-size: clamp(18px, 7.5vw, 30px); line-height: 1.25; letter-spacing: 0.15px; text-align: center; text-wrap: balance; }
  /* Paragraphs: slightly smaller than desktop, left-aligned for readability */
  p  { font-size: clamp(16px, 4.2vw, 19px); line-height: 1.6; letter-spacing: 0.1px; text-align: left; }
}

