/*
    not-longevity.css - Global Variables and Functions Across All notlongevity.com Pages
    Website iteration 1 : "¡Hola Mundo!" | v 0.6.4

	
	change log [day.month.year]:
	
	31.10.2026 - transfer img animation to figure wrapper; li margins; -wm
	30.10.2026 - cursor added to .lozenge link copycat style; remove nowrap from lozenge and a styles; article styling imported from global.css; .italic mapped to i element; -wm
	29.10.2026 - adding lozenge class to emulate links in contrivance to remove all links from text and place in details for interactivity; -wm
	28.10.2026 - figcaption margins; -wm
	27.10.2026 - code clean-up; .potassium-columns to .columns; -wm
	24.10.2026 - summary styles including capitalization; migrate details and summary styles to details.css; -wm
	20.10.2026 - margin spacing between li; font-size to auto; remove link padding conflicts; reinstate ol count; added details toggle button widget; body font-size adjustment slightly larger; -wm
	19.10.2026 - border-radius on li; internal links; details headings (not summary); -wm
	18.10.2026 - border-radius on links tests; nowrap on links; import test styles from index.html; center-align details element; contact-grid; margin adjustments; header "NOT" slower fade-in; fix details title only color by adding body color to details p; -wm
	26.09.2026 - update box styling; -wm
    18.09.2026 - article margin adjustments; -wm
	08.09.2026 - figure margins; emailIt integration; quote styles; -wm
	09.08.2026 - breakout text styling; li, ol and a stylings; li and # styling;bring class emoji-text-shadow from global; img widths to 100% in small screens; img to 100% in small screens; bring figure components from global.css; h1 font size small screen; -wm
	07.08.2026 - font styles larger; classes: center, clear, breakout; -wm
	06.08.2026 - a styles; -wm
	05.08.2026 - Init, custom from global.css import from biliscraft.co; main margins; -wm
	
*/


a:link,
.lozenge {
	background-color: rgb(255,112,77,0.5);
	color: #f5f5f5;
	text-decoration: none;
	border-radius: 15px;
	border: 0.5px solid rgb(255,112,77,0.9);
	padding: 3px 12px;
}
a:visited {
	background-color: rgb(102,255,255,0.5);
	color: navy;
	text-decoration: none;	
	border-radius: 15px;	
	padding: 3px 12px;
	white-space: nowrap;	
}
a:hover,
.lozenge:hover {
	background-color: rgb(230,0,0,0.2);
	color: white;
	text-decoration: underline;		
	cursor: pointer;	
}
a:active {
	background-color: white;
	color: black;
	text-decoration: underline;
	border-radius: 15px;
	border: 0.5px solid dodgerblue;
	padding: 3px 12px;
	white-space: nowrap;
}

article {
	margin: 0 1em;
}

body {
	margin: 0;
	background-color: lightblue;
	color: indigo;
	text-align: center;
	scroll-behavior: smooth;
	/* body background image settings */
	background-image: url('../media/images/backgrounds/flyleaf.jpg');
	background-repeat: repeat-y;
	background-size: auto 100%;
	background-position: center top;
	opacity: 1;
	/*footer to sit at bottom*/
	height: 100%;
	display: flex;
	flex-direction: column;
	font-size: 115%;
}

figcaption, .text-caption {
    font-size: 90%;
    font-style: italic;
    margin: 0.75em 0.2em auto;
	text-align: left;
}

figure {
	max-width: 500px;
	margin: auto 1em 1em auto;
	border-radius: 30px;
	opacity: 0;
	transform: translateY(60px) scale(0.95);
	will-change: transform, opacity;
	animation: product-fly-up 1ms linear both;
	animation-timeline: view();
	animation-range: entry 25% contain 40%;	
}

figure img {
    width: 100%;
	height: auto;
    box-shadow: 3px 5px 10px var(--shadow-color);
}

footer {
	background-color: rgb(255,112,77,0.3);
	margin: 5em auto;
	text-align: center;
	clear: both;
	padding: 1em;
	border: 2px solid rgb(255,112,77,0.8);	
}

header {
	height: 100%;
	margin: 0;
	display: flex;
	flex-direction: column;
	flex: 1; 
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 20px;
	margin-top: 5em; 
	margin-bottom: 5em;
}

header h1 {
    background-color: rgb(0 0 0 / 0.04);
    padding: 0.3em 0.8em;
    border-top: 2px solid rgb(255 255 255 / 0.9);
    border-right: 1px solid rgb(0 0 0 / 0.4);
    border-bottom: 1.5px solid rgb(0 0 0 / 0.5);
    border-left: 2px solid rgb(255 255 255 / 0.9);
    box-shadow: 2px 5px 1em var(--shadow-color);
	opacity: 0;
    animation: FadeIn 3s ease-in-out;
    opacity: 1;
	font-size: 7.5rem;
}

header h1 .slower-fade-in {
    animation: FadeIn 10s ease-in-out;
}

header p {
    text-shadow: -1px -1px var(--highlight);
}

h1 {
    font-size: 4rem;
	margin: 10px 0;
	font-weight: 800;
	letter-spacing: -1px;
	text-shadow: -2px -2px 3px white, 2px 2px 5px #999;
}

h1 {
	font-family: "Sekuya", system-ui;
  	font-weight: 400;
  	font-style: normal;
	text-shadow: -1px -1px 1px #f5f5f5, 1px 1px 3px #888;
}

h1, #update-date {
	font-family: "Sekuya", system-ui;
}

h1, h2, h3 {
	color: indigo;
}

html {
	height: 100%;
}

i,
.italic {
	color: dodgerblue;
	font-weight: 600;
	font-style: italic;
}

iframe {
	text-align: center;
}

li {
	margin: 0 auto 3em;
	padding: 2em 1em;
	border: 1px dotted red;
	box-shadow: 3px 3px 15px orange;
	background-color: rgb(255,255,204,0.5);
	width: 92%;
	border-radius: 35px;
}

/* LI BACKGROUND COLOR ROTATION */			
li:nth-child(4n+1) { background-color: rgba(233,226,233, 0.8); } /* lavender */
li:nth-child(4n+2) { background-color: rgba(189,183,107, 0.7); } /* green */
li:nth-child(4n+3) { background-color: rgba(198,159,159, 0.8); } /* red */
li:nth-child(4n+4) { background-color: rgba(255,255,204, 0.8); } /* straw */


li figure {
    margin: 0;
    width: 100%;
}

li figure img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 0;
}

main {
	flex: 1; /* takes remaining space */
	font-family: Verdana, sans-serif;
	text-align: left;
	margin: 0;
	letter-spacing: 0;
}

ol {
	margin-left: -1em;
}

#narrative-prologue {
	background: rgba(173, 216, 230, 0.7);
	padding: 0.5em 1em;
	border: 2px dotted dodgerblue;
	box-shadow: 0px 2px 8px cornflowerblue;
}

#scroll-top-btn {
	position: fixed; 
	bottom: 30px; 
	right: 30px; 
	background: rgba(255, 255, 255, 0.3); 
	-webkit-backdrop-filter: blur(10px); 
	backdrop-filter: blur(10px); 
	border: 1px solid rgba(255, 255, 255, 0.4); 
	padding: 12px; 
	border-radius: 50%; 
	width: 60px; 
	height: 60px; 
	cursor: pointer; 
	display: flex; 
	flex-direction: column; 
	align-items: center; 
	justify-content: center;
	z-index: 9999;
	opacity: 0;
	transition: opacity 0.4s ease, 
	transform 0.2s ease; 
	box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

#update-date {
	background-color: rgb(127,0,255,0.2);
	padding: 0.5em 1em;
	color: #f5f5f5;
	border: 2px solid maroon;
	box-shadow: 3px 3px 20px orange;
	text-shadow: 1px 2px black;
}

.breakout {
	background-color: rgb(255,128,0,0.3);
	border-top: 1px solid white;
	border-right: 1px solid crimson;
	border-bottom: 1px solid crimson;
	border-left: 1px solid white;	
	padding: 0.5em;
	box-shadow: 2px 2px 10px brown;
	text-shadow: -1px -1px 2px #f5f5f5, 1px 1px 4px grey;
}

.center {
	text-align: center;
}

.clear {
	clear: both;
}

.contact-grid {
  display: grid;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 12px;
  /* Default: 2 columns (mobile-first) */
  grid-template-columns: repeat(2, minmax(48px, 1fr));
  max-width: 420px;
  margin: 0 auto;
}

.contact-grid img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

.email {
	text-decoration: underline;
	color: indigo;
	font-style: italic;
}

.emoji-text-shadow {
    text-shadow: 1px 1px #555;
}

.internal-link {
	background-color: rgb(205,92,92,0.5);
	color: #f5f5f5;
	text-decoration: none;
	padding: 0 5px;
	border-radius: 15px;
	border: 0.5px solid rgb(205,92,92,0.9);
	padding: 3px 12px;
	white-space: nowrap;
}
.internal-link:hover {
	background-color: rgb(230,0,0,0.2);
	color: white;
	text-decoration: underline;		
	padding: 0 5px;
	border-radius: 15px;
	border: 0.5px solid rgb(230,0,0,0.5);
	padding: 3px 12px;
	white-space: nowrap;
}

.columns {
	display: flex;
	gap: 24px; /* space between columns */
	align-items: flex-start;
	margin-top: 1em;
}
	
.columns > div {
  	flex: 1;            /* make columns share space */
}

.columns strong {
	letter-spacing: 6px;
	color: navy;
}

.quote {
	font-style: italic;
	font-weight: bold;
	letter-spacing: 1px;
}

.special-text {
	font-weight: bold; 
	color: maroon;
	font-style: italic;
}

.text-extend {
	letter-spacing: 0.5rem;
}

/* Extra-large screens: keep icons compact and centered */
@media (min-width: 1024px) {

  .contact-grid img {
    width: 72px;
    height: 72px;
  }
}

@media (max-width: 600px) {
	
	a:link {
		white-space: normal;
	}
	a:visited {
		white-space: normal;	
	}
	a:hover {
		white-space: normal;
	}
	a:active {
		white-space: normal;
	}

	body {
		font-size: 120%;
	}

	figure {
		width: 100%;
		margin: 0.15em;
	}

	h1 {
		font-size: 2.75rem;
	}
	
	img {
		width: 100%;
	}
	
    main {
	    margin: 0 0.25em;
    }

	.margin-top--adjustment {
		margin-top: 1em;
	}
	
	.columns {
	    flex-direction: column;				  
	}
}