body {
  height: 100%; 
  margin: 0; 
  padding: 0; 
  overflow: hidden; 
  background: #444;
  color: aliceblue;

  /*overflow: auto !important;
  overscroll-behavior: auto !important;*/
}

/* Fixed Header & Footer */
.header, .footer {
  position: fixed;
  left: 0;
  width: 100%;
  background: #333;
  color: white;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header { 
  top: 0; 
  height: 60px;
}
.footer { 
  bottom: 0; 
  height: 40px;
}

.custom-navbar-container {
  /* This ensures enough horizontal space for absolute positioning */
  position: relative; 
}

.custom-header {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  line-height: 6px;
}

.ctitle {
  color: aliceblue;
  font-size: large;
}

.stitle {
  color: aliceblue;
  font-size: small;
}

.author {
  width: 1px;
  height: 1px;
  display: none;
  visibility: hidden;
}

.img_rand {
  -webkit-filter: brightness(0) invert(0.7);
  filter: brightness(0) invert(0.7);
  height: 32px;
}

.img_menu {
  -webkit-filter: brightness(0) invert(0.7);
  filter: brightness(0) invert(0.7);
  height: 28px;
}

.offcanvas-start {
  --bs-offcanvas-width: 300px;
}

.offcanvas-title {
  color: #ddd;
}

.offcanvas-body {
  background-color: #444;
}

.list-group-item {
  background-color: #444;
}

.menubtn {
  text-decoration: none; /* Removes the underline on hover */
  font-size: large;
}

.footer-pnum {
  color: #aaa;
  font-size: medium;
}


/* Swiper Container Setup */
.swiper {
  width: 100%;
  height: 100vh; /* Full viewport height */
  /* Padding to accommodate fixed navs */
  padding-top: 60px; 
  padding-bottom: 40px;
  box-sizing: border-box;
}
.swiper-slide {
  font-size: 18px;
  background: #444;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.scrollable-content {
  /* Allow vertical scrolling within this container */
  width: 100%;
  height: 100%; /* Take full height of the swiper-slide */
  overflow-y: auto; /* Adds a scrollbar when content overflows */
  padding: 10px;  /* Optional: for better content layout */
  padding-bottom: 80px;
  box-sizing: border-box;
}

.poem {
  max-width: 500px;
  width: 100%;
  font-family: monospace, "Courier New", Consolas, Monaco;
  font-size: large;
  display: inline-block;
  justify-content: center;
  white-space: pre-wrap;
}

.c-align {
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
}

.r-align {
  width: 100%;
  text-align: right;
  padding-right: 40px;
  overflow: hidden; 
}

.l-align {
  text-align: left;
}

.j-text {
  text-align: justify;
  padding-left: 12px;
  padding-right: 12px;
  text-indent: 30px;
}

.container {
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  padding-top: 60px; 
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inner {
  max-width: 500px;
  width: 100%;
  height: 100%;
  display: inline-block;
  justify-content: center;
  text-align: center;
  color: #ddd;
  font-size: large;
}

.photo {
  height: 350px;
  /*border: 4px solid #333;*/
  box-shadow: 0px 0px 8px 3px rgba(0, 0, 0, 0.5);
}

.handimg {
  -webkit-filter: brightness(0) invert(0.8);
  filter: brightness(0) invert(0.8);
  height: 60px;
  margin-bottom: 40px;
}
