h1 {
  color: lime;
  font-size: 35px;
  background-color: black;
  padding: 0px;
  position: absolute;
  top: 0px;
  left: 50px;
}

h2 {
  color: white;
}

h3 {
	color: yellow;
	font-size: 30px;
	font-style: italic;
	text-align:left;
	margin-right: 30px;
	margin-left: 30px;
}

h4 {
	color: black;
	font-size: 20px;
	font-style: italic;
	text-align:left;
	margin-right: 30px;
	margin-left: 30px;
}

h5 {
	color: black;
	font-size: 20px;
	font-style: italic;
	text-align:right;
	margin-right: 30px;
	margin-left: 30px;
}

h6 {
  font-size: 13px;
}

p {
  color: white;
  font-size: 20px;
}

ul {
  margin: 25px;
  font-size: 20px;
}

ol {
  margin: 25px;
  font-size: 20px;
}

a:link {
  font-size: 20px;
  color: green;
  background-color: transparent;
  text-decoration: none;
}

a:visited {
  color: green;
  background-color: transparent;
  text-decoration: none;
}

a, .popup {
    color: #00bfff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease;
}

a:hover, .popup:hover {
    color: #00d4ff !important;
    text-decoration: underline;
}

#topBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: red;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

/* Popup container - can be anything you want */
.popup {
  position: relative;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* The actual popups */
.popup .popuptext100L {
  visibility: hidden;
  width: 100px;
  background-color: Blue;
  color: White;
  text-align: center;
  border-radius: 100px;
  padding: 3px;
  position: absolute;
  bottom: 125%;
  left: 0%;
  margin-left: -90px;
}

.popup .popuptext200L {
  visibility: hidden;
  width: 200px;
  background-color: Blue;
  color: White;
  text-align: center;
  border-radius: 100px;
  padding: 3px;
  position: absolute;
  bottom: 0%;
  left: 0%;
  margin-left: 0px;
}

.popup .popuptext100R {
  visibility: hidden;
  width: 100px;
  background-color: Blue;
  color: White;
  text-align: center;
  border-radius: 100px;
  padding: 3px;
  position: absolute;
  bottom: 125%;
  left: 0%;
  margin-left: -10px;
}

.popup .popuptext200L {
  visibility: hidden;
  width: 200px;
  background-color: Blue;
  color: White;
  text-align: center;
  border-radius: 100px;
  padding: 3px;
  position: absolute;
  bottom: 100%;
  left: 0%;
  margin-left: -200px;
}

.popup .popuptext200R {
  visibility: hidden;
  width: 200px;
  background-color: Blue;
  color: White;
  text-align: center;
  border-radius: 100px;
  padding: 3px;
  position: absolute;
  bottom: 100%;
  left: 100%;
  margin-left: -10px;
}

.popup .popuptext100BL {
  visibility: hidden;
  width: 100px;
  background-color: Blue;
  color: White;
  text-align: center;
  border-radius: 100px;
  padding: 3px;
  position: absolute;
  bottom: -50%;
  left: 0%;
  margin-left: -110px;
}

/* Popup arrow */
.popup .popuptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Toggle this class - hide and show the popup */
.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;} 
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}

footer p {
	margin: 0;
	padding: 10px 0;
	background-color: Purple;
	text-align: center;
	font-size: .8em;
	position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    color: white;
    text-align: center;
}

footer href {
    color: red;
}

def {
  position: absolute;
  top: 5px;
  left: 300px;
  font-size: 20px;
  background-color: black; 
  color: white;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
  padding: 2px;
}

history {
  position: absolute;
  top: 5px;
  left: 405px;
  font-size: 20px;
  background-color: black; 
  color: white;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
  padding: 2px;
}

sdiip {
  position: absolute;
  top: 5px;
  left: 515px;
  font-size: 20px;
  background-color: black; 
  color: white;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
  padding: 2px;
}

ndi {
  position: absolute;
  top: 5px;
  left: 625px;
  font-size: 20px;
  background-color: black; 
  color: white;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
  padding: 2px;
}

jtnm {
  position: absolute;
  top: 5px;
  left: 737px;
  font-size: 20px;
  background-color: black; 
  color: white;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
  padding: 2px;
}

nmos {
  position: absolute;
  top: 5px;
  left: 798px;
  font-size: 20px;
  background-color: black; 
  color: white;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
  padding: 2px;
}

vendors {
  position: absolute;
  top: 5px;
  left: 860px;
  font-size: 20px;
  background-color: black; 
  color: white;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
  padding: 2px;
}

checklist {
  position: absolute;
  top: 5px;
  left: 1000px;
  font-size: 20px;
  background-color: black; 
  color: white;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
  padding: 2px;
}

ref {
  position: absolute;
  top: 5px;
  left: 1200px;
  font-size: 20px;
  background-color: black; 
  color: white;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
  padding: 2px;
}

si {
  position: absolute;
  top: 5px;
  left: 1362px;
  font-size: 20px;
  background-color: black; 
  color: white;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
  padding: 2px;
}

ol.a {list-style-type: decimal;}
ol.b {list-style-type: upper-alpha;}
ol.c {list-style-type: upper-roman;}
ol.d {list-style-type: lower-alpha;}
ol.e {list-style-type: lower-roman;}	
ol.f {list-style-type: upper-latin;}
ol.g {list-style-type: lower-latin;}

ol.a {
  font-size: 25px;   
  color: Tomato;   
}

ol.b {
  font-size: 20px;   
  color: Purple;  
}

ol.c {
  font-size: 20px;   
  color: Navy;  
}

ol.d {
  font-size: 20px;   
  color: Maroon;  
}

ol.e {
  font-size: 20px;   
  color: Teal;  
}

ol.f {
  font-size: 20px;   
  color: Olive;  
}

ol.g {
  font-size: 20px;   
  color: Fuchsia;  
}

div.logo {
		position: fixed;
		top: 10;
		right: 50;		
	}

.jupiterBox {
  width: 780px;
  height: 320px;
  background-image: url('graphics/jupiter/uproc planets-s.jpg');
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 25px;
  margin-right: 70px;
  padding: 10px;
  border-style: double;
  border-width: 5px;
  color: white;
  background-color: black;
  font-size: 18px;
  font-weight: bold;
  font-family: Verdana,sans-serif;
}


/* Top banner */
.teach-banner{
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 8px 2px;
  background: linear-gradient(90deg, #0b2a4a, #123b66);
  border-bottom: 2px solid rgba(255,255,255,0.10);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

/* Bottom banner */
.bottom-line{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 25px;
  z-index: 999;
  padding: 12px 18px;
  background: linear-gradient(90deg, #0b2a4a, #4a2500);
  border-top: 2px solid rgba(255,255,255,0.12);
  box-shadow: 0 -6px 16px rgba(0,0,0,0.45);
}

.teach-banner h1,
.teach-banner p,
.bottom-line h2,
.bottom-line p,
.bottom-line span{
  color: #fff !important;
  margin: 0;
}

/* Hide banner details by default */
.teach-banner p,
.teach-banner .chips,
.bottom-line p,
.bottom-line .bottom-points{
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}

/* Reveal on hover */
.teach-banner:hover p,
.teach-banner:hover .chips,
.bottom-line:hover p,
.bottom-line:hover .bottom-points{
  max-height: 800px;
  opacity: 1;
}

/* Make headings look interactive */
.teach-banner h1,
.bottom-line h2{ cursor: pointer; }

.teach-banner a,
.bottom-line a{
  color: #ffffff !important;
  text-decoration: underline; /* optional */
}

/* Footer clearance element */
.footer-clearance{ height: 90px; }

/* Ensure footer sits below floated images */
footer{ clear: both; }

/* Ensure the H1 in the teach banner is visible and not overridden by global h1 rules */
.teach-banner h1{
  color: #fff !important;
  background: transparent !important;  /* overrides global h1 background */
  margin: 0 !important;
  padding: 0 !important;
  font-size: 24px;
  line-height: 1.2;
  display: block;
}

/* Inline alignment of heading + icon */
.layer-title{
  display: inline-flex;
  align-items: center;
  gap: 10px;           /* space between text and icon */
}

/* Stack icon styling */
.stack-icon{
  width: 40px;
  height: 40px;
  cursor: pointer;
  vertical-align: middle;
}

.site-footer{
  margin: 0;
  padding: 4px 0;
  background-color: brown;
  font-size: 0.9em;
  color: white;

  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;

  display: flex;
  align-items: center;          /* vertical alignment */
  justify-content: center;      /* center horizontally */
  gap: 14px;                    /* spacing between items */

  z-index: 1000;
}

.site-footer img{
  display: block;               /* removes baseline gap */
}

.site-footer a{
  color: white;
  text-decoration: underline;
}

/* Prevent footer from covering page content */
body{
  padding-bottom: 60px;         /* adjust to footer height */
}

.site-footer img{
  width: 20px;             /* ↓ from 40px */
  height: 20px;
  display: block;
}

.corner-logo{
  position: fixed;
  right: 5px;      /* distance from right edge */
  bottom: 50px;     /* distance from bottom edge */
  z-index: 900;     /* below banners, above content */
}

.exam{
  position: fixed;
  left: 400px;      /* distance from left edge */
  top: 5px;     /* distance from top edge */
  z-index: 900;     /* below banners, above content */
}

.legend{
  position: fixed;
  right: 30px;      /* distance from right edge */
  top: 135px;     /* distance from bottom edge */
  z-index: 900;     /* below banners, above content */
}

.jargon-logo{
  position: fixed;
  left: 5px;      /* distance from right edge */
  bottom: 50px;     /* distance from bottom edge */
  z-index: 900;     /* below banners, above content */
}

.upper-right-logo{
  position: fixed;
  left: 1500px;      /* distance from right edge */
  top: 15px;     /* distance from top edge */
  z-index: 900;     /* below banners, above content */
}

.top-BL{
  display: inline-block;      /* keeps it inline */
  height: 3.5em;                /* scale to text height */
  width: auto;                /* preserve aspect ratio */
  vertical-align: middle;   /* align with surrounding text */
  margin-left: 50px;           /* optional spacing from prior text */
}


.bl-inline{
  display: inline-flex;
  align-items: baseline;      /* text behaves like normal text */
  gap: 6px;                   /* tighter spacing */

  font-size: 20px;
  line-height: 1;             /* ELIMINATES gap below */
  vertical-align: baseline;   /* critical for inline flow */
}

.bl-text{
  margin: 0;
  padding: 0;
}

.bl-icon{
  height: 1.5em;             /* slightly smaller than text */
  width: auto;
  padding: 0;                 /* remove any padding */
  margin: 0;
  display: block;             /* removes inline-image baseline gap */
}

.nut-icon{
  height: 3.0em;             
  width: auto;
  padding: 0;                 /* remove any padding */
  margin: 0;
  display: block;             /* removes inline-image baseline gap */
}

#topBtn {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 1px;
  right: 1px;
  z-index: 5000;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: red;
  color: white;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
}

#topBtn:hover {
  background-color: green;
}

	.date-stamp-container {
      position: absolute;           /* or use fixed if you want it to stay on scroll */
      top: 0px;                    /* no offset from top edge – change to 0 for flush */
      right: 20px;                   /* small offset from right edge – change to 0 for flush */
      z-index: 1000;                /* make sure it's above other content */
      width: 120px;
      height: 90px;
    }

	.2110-date-stamp-container {
      position: absolute;           /* or use fixed if you want it to stay on scroll */
      bottom: 70px;                    /* small offset from top edge – change to 0 for flush */
      right: 50px;                   /* small offset from left edge – change to 0 for flush */
      z-index: 1000;                /* make sure it's above other content */
      width: 120px;
      height: 90px;
    }
	
	.sp-date-stamp-container {
      position: absolute;           /* or use fixed if you want it to stay on scroll */
      top: 210px;                   /* offset from top edge – change to 0 for flush */
      left: 1150px;                   /* small offset from left edge – change to 0 for flush */
      z-index: 1000;                /* make sure it's above other content */
      width: 120px;
      height: 90px;
    }	

    .date-stamp {
      width: 100%;
      height: 100%;
      background: #fff;
      border: 3px solid #8B0000;
      border-radius: 6px;
      box-shadow:
        0 6px 12px rgba(0,0,0,0.4),
        inset 0 1px 3px rgba(0,0,0,0.25);
      position: relative;
      overflow: hidden;
      display: flex;                /* helps center content vertically */
      align-items: center;
      justify-content: center;
    }

    /* Ink smudge effects – scaled way down */
    .date-stamp::before,
    .date-stamp::after {
      content: "";
      position: absolute;
      width: 160%;
      height: 4px;
      background: rgba(139, 0, 0, 0.3);
      transform: rotate(-8deg);
      top: 25%;
      left: -30%;
      border-radius: 50%;
    }

    .date-stamp::after {
      transform: rotate(7deg);
      top: 68%;
    }

    .stamp-text {
      font-family: 'Courier New', Courier, monospace;
      color: #8B0000;
      font-weight: bold;
      text-align: center;
      line-height: 1.15;
      text-shadow: 1px 1px 2px rgba(139,0,0,0.3);
      width: 100%;
      padding: 4px;
      box-sizing: border-box;
    }

    .updated {
      font-size: 13px;              /* much smaller to fit */
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 2px;
      margin: 0 0 2px 0;
    }

    .main-date {
      font-size: 15px;              /* tight fit */
      margin: 1px 0;
      white-space: nowrap;
    }

    .detail-line {
      font-size: 15px;
      margin: 1px 0;
    }

    /* Optional: your main page content */
    main {
      padding: 140px 20px 20px;     /* give space at top-left so stamp doesn't overlap text */
    }
	
	.text-with-overlay {
      position: relative;       /* This creates the positioning context */
      display: inline-block;    /* or block — keeps it from stretching full width */
      max-width: 900px;         /* optional: control paragraph width */
      padding: 20px;            /* optional: space around text */
      background: #f8f9fa;      /* optional: light background to see effect */
      border: 1px solid #ddd;
      border-radius: 8px;
    }

    .overlay-png {
      position: absolute;
      top: 0px;                /* distance from top of container */
      right: 400px;              /* distance from right — change to left:10px; for left side */
      width: 400px;             /* adjust size as needed */
      height: auto;
      z-index: 10;              /* ensures it's above the text */
      opacity: 0.85;            /* optional: slight transparency */
      pointer-events: none;     /* optional: lets clicks pass through to text if desired */
    }

	.clear {
		clear: both;
		height: 1px;        /* invisible */
		margin: 0;
		padding: 0;
	}
	
	.eng-wrapper {
    max-width: calc(100% / 4);
    min-width: 10em;
}

	.eng-notebook {
		height: 85px;
		width: 59px;
		position: relative;
		transition: 0.4s ease-in-out;
		border-radius: 5px 15px 15px 5px;
		transform-origin: left center 0px;
		display: inline-block;
		margin: 0px;
		perspective: 800px;
	}

	.eng-notebook:hover {
		transform: rotateZ(-3deg);
	}

	.eng-notebook:hover .notebook-cover {
		transform: rotateY(-90deg);
		z-index: 999;
		box-shadow: 20px 10px 50px rgba(0, 0, 0, 0.2);
	}

	.notebook-cover {
		background: #cc4b48;
		height: 85px;                    /* New height */
		width: 59px;                     /* Adjusted width */
		position: absolute;
		border-radius: 5px 15px 15px 5px;
		z-index: 10;
		transition: 0.5s linear;
		transform-style: preserve-3d;
		transform-origin: left center 0px;
	}

	.notebook-cover:before {
		content: "";
		position: absolute;
		width: 6px;                      /* Scaled down proportionally */
		height: calc(100% + 2px);
		top: -1px;
		z-index: 100;
		border-radius: 2px;
		right: 12px;                     /* Adjusted position */
		transition: 2s ease;
		background: linear-gradient(to right, #9c2e2b 0%, #cc4b48 12%, #9c2e2b 25%, #cc4b48 37%, #9c2e2b 50%, #cc4b48 62%, #9c2e2b 75%, #cc4b48 87%, #9c2e2b 100%);
	}

	/* Notebook skin (title area) - kept same visual height */
	.notebook-skin {
		height: 50px;                    /* Title area stays same height */
		background: #e8e8e0;
		margin-top: 12px;                /* Adjusted for smaller notebook */
		padding: 6px 8px;
		font-size: 13px;                  /* Slightly smaller text to fit */
		position: relative;
		z-index: 10;
		color: #222;
		text-align: left;
		box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
		line-height: 1.05;
	}

	.notebook-skin:before {
		content: "";
		position: absolute;
		width: 100%;
		height: 10px;
		left: 0;
		bottom: 0;
		background: #cddc39;
	}

	.notebook-page {
		height: 100%;
		width: 59px;                     /* Adjusted width */
		position: relative;
		top: 0px;
		background-color: #b0b0b0;
		z-index: 0;
		border-radius: 5px 16px 16px 5px;
		overflow: hidden;
	}