/* ======================================== */
/* FONTS */
/* ======================================== */

/* This is covered under the MIT license, I think. Definitely some kind of free license */
@font-face {
    font-family: 'DejaVuSans';
    src: url('/fonts/DejaVuSans.ttf') format('truetype');
    font-display: swap;
}

h3 {
	text-shadow: 0px 0px 3px #0000ff55;
	color: #0f17aa;
}
h2 {
	text-shadow: 0px 0px 2px #0000ff55;
	color: #0f17ba;
}
h1 {
	text-shadow: 0px 0px 2px #0000ff55;
	color: #0f17ca;
}
body {
	background-color: white;
	background-image: url('/images/background-light.webp');
	background-size: cover;
	background-opacity: 0.7;
	background-repeat: no-repeat;
	background-attachment: fixed;

	font-family: system-ui, systemDejaVuSans;
	/* 	font-family: systemDejaVuSans; */
	/*	color: #0055eb; */
	/* color: #1e29e7;*/
	color: #0f17ba;
	text-shadow: 0px 0px 2px #0000dd11;
}
.content {
	background-color: white;
	box-shadow: 0 0 2px gray;
	box-sizing: border-box;
	padding: 10px;
	/* 	padding: 50px; */
	margin: 50px auto;
	/*	max-width: 70em; */
}

#Menu {
	background-color: #00000000;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: right;
	/* font-family: neuropolitical; */
}

.menu_link {
	/*    font-size: 0.7em; */
	padding: 0%;
	margin: 0%;
	padding-left: 2%;
	padding-right: 2%;
}

.menu_link a {
	/*    padding-bottom: 3px; */
	/* font-family: neuropolitical; */
	text-decoration: none;
	text-shadow: 0px 0px 4px #009999FF;
	color: ##124599;
}
.menu_link h4, .menu_link h3, .menu_link h2 {
	margin: 0px;
}
.menu_link a:hover {
	/*    padding-bottom: 3px; */
	/* font-family: neuropolitical; */
	text-decoration: none;
	color: #124599;
	text-shadow: 0px 0px 4px #FF0000aa;
}

#vertical-divider-div {
	height: 10%;
}

/* Header with Banner */
header {
	text-shadow: 0px 0px 2px #0000ff;
	color: #191b2c;
	text-align: center;
	padding: 10px 0 40px;
	border-bottom: 1px solid #eee;
}

.banner {
	font-size: 2.8rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #1a1a1a;
	margin-bottom: 12px;
}

.tagline {
	font-size: 1.1rem;
	color: #666;
	font-weight: 400;
}

/* Footer Navigation */
/* footer { */
/* 	position: fixed; */
/* 	bottom: 0; */
/* 	left: 0; */
/* 	right: 0; */
/* 	border-top: 1px solid #eee; */
/* 	padding: 22px 0; */
/* 	text-align: center; */
/* 	background: rgba(248, 250, 252, 0.72); */
/* 	/\*	backdrop-filter: blur(16px); *\/ */
/* } */

footer {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.92); /* Adjust opacity as needed */
	backdrop-filter: blur(16px) saturate(150%);
	-webkit-backdrop-filter: blur(16px) saturate(150%); /* Safari support */
	border-top: 1px solid rgba(228, 228, 231, 0.8);
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.04);
	padding: 10px 16px  max(10px, env(safe-area-inset-bottom));
}

.nav {
	display: flex;
	justify-content: center;
	gap: 40px;
	flex-wrap: wrap;
}

.nav a {
	color: #555;
	text-decoration: none;
	font-size: 1rem;
	font-weight: 500;
	transition: color 0.2s ease;
}

.nav a:hover {
	color: #000;
}

/* Responsive */
@media (max-width: 600px) {
	.banner {
		font-size: 2.2rem;
	}
	
	.nav {
		gap: 25px;
	}
}

.content table {
	overflow-x: auto;
	border-collapse: collapse;
	width: 100%;
	max-width: 100%;
}
.content th, td {
	text-align: left;
}

/* Zebra striping - every other row */
tr:nth-child(even) {
	background-color: #f6f5fa;
}

.article h4, .article h3, #Blog h3, #Social h3, #table_of_contents h3 {
	/* font-family: neuropolitical; */
	text-align: center;
	text-shadow: 0px 0px 4px #009999FF;
}

#content-div {
	padding: 20px;
	/* box-shadow:         3px 3px 5px 6px #00bbcc; */
	margin-left: 0%;
	margin-right: 0%;
	margin-top: 7%;
	background-color: #00000000;
}

.link_box {
	/*    margin: 10px; */
	border-radius: 3px;
	border: none;
	box-shadow:         1px 1px 2px 2px #00bbcc;
	padding: 10px;
}

.article {
	/*    border: 1px solid #009999ff; */
	border-radius: 3px;
	border: none;
	box-shadow: 1px 1px 2px 2px #00bbcc;
	padding: 10px;
	margin-top: 10px;
	background-color: #00000000;
	text-shadow: 0px 0px 2px #009999ff;
}
.article code {
	border: none;
	padding: 3px;
	/* font-family: DejaVuSans; */
	white-space: pre-wrap;
}

pre.src {
	background-color: #bcfcfb;
	padding: 10px;
	white-space: pre;
	tab-size: 2;
	overflow-x: auto;
}

/* ======================================== */
/* Generic Modal Styling */
/* ======================================== */

/* The Modal (background) */
.basic_modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.basic_modal_content {
	/* ToDo: Add background-image? */
	background-color: #fefefe;
	margin: 15% auto; /* 15% from the top and centered */
	padding: 20px;
	border: 1px solid #888;
	width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.basic_modal_close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.basic_modal_close:hover,
.basic_modal_close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
} 

/* Clickable things should have a cursor that looks like it: */
.clickable {
	cursor: pointer;
}

a:visited, a:link {
	text-decoration: none;
	text-shadow: 0px 0px 1px #0000ff99;
	%	color: #00b7eb;
	/* color: #2cbfff; */
	color: #0f172a;
}

a:hover {
	text-decoration: underline;
}
#version-box {
	position: sticky;
	bottom: 0;
	padding: 8px;
	left: 0;
	width: 100n%;
	height: 60px;
	color: transparent;
	text-shadow: none;
	border: 0px solid white;
}
