/* style.css */

/* Fullscreen loading screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Loader Animation */
.loader {
    width: 40px;
    height: 100px;
    margin:2em;
    border: 30px solid navy;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-sizing: border-box;
}

/* Animation Keyframes */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


@keyframes flipBlur {
    0% { transform: rotateY(0deg);		filter: blur(0px); }
   25% { transform: rotateY(90deg);		filter: blur(2px); }
   50% { transform: rotateY(180deg);	filter: blur(4px); }
   75% { transform: rotateY(270deg);	filter: blur(2px); }
  100% { transform: rotateY(360deg);	filter: blur(0px); }
}


@font-face { font-family: dtBody; src: url('../fonts/arial.ttf')  format('truetype'); }
@font-face { font-family: dtHead; src: url('../fonts/ariblk.ttf')  format('truetype'); }
@font-face { font-family: dtTail; src: url('../fonts/arialn.ttf')  format('truetype'); }

.LogoGroup {max-width: 600px; height: 130px; margin: 5px auto 5px auto;}
.logo{ margin:0;padding:0;float:left;width:100px;}
.org_name {margin:0;padding:10px 0 0 0;font-family:dtHead;font-size:3em;color:navy;text-decoration:underline;line-height:1;}
.tag_line {margin:0;padding:0;font-family:dtTail;font-size:1.5em;color:navy;word-spacing:1px;}

body {
    font-family: dtBody;	font-size: 1em;
    line-height: 1.5;    text-align: justify;
    margin: 0;    padding: 0;
	color: black;	background: white;
}

header {
	top:0;	position: fixed;
	color:navy; background-color:white;
	width:100%;	height:200px;
	z-index: 1000;
}

.subtitle{ text-align:center; font-weight:bold; font-variant: small-caps; margin:10px auto 0 auto; }

nav {
	background-color:navy;
	margin: 0;	padding: 0;
}

nav ul {
	list-style-type: none;
	margin: 0;	padding: 0;
	display: flex;
	justify-content: center;
}

nav li {
	color: white;
	margin: 0;	padding: 0;
}

nav a {
	text-decoration: none;
	font-weight: 600;
	color: white;
	margin: 0 10px;	padding: 3px 8px;
	display: block;
}

nav a:hover {
	transition: background-color 0.5s ease;
	background-color: white;
	color:navy;
	border: solid navy 0px;
	border-radius:5px;
}

main {
	margin-top:180px;
	flex: 1;
	padding: 1.5em;
}

#content {
	max-width: 1000px;
	margin: 1em auto;	padding: 1em;
	background-color: white;
	border: double navy 6px;	border-radius: 15px;
	box-shadow: 0 0 8px rgba(0, 0, 80, 0.75);
}

#content h2 {
	text-align:center; text-decoration:underline;
	margin: 0;	margin-top: 1.5em;
	letter-spacing: 0.5px;  word-spacing: 1px;
	color:navy;	font-family: dtBody;	font-size:2em;
	font-weight:bold;	font-variant: small-caps;
}

#content h3 {
	font-size:1.6em; text-align:center; text-decoration-line:underline; text-decoration-style:wavy;
	color:navy;	letter-spacing: 0.5px;  word-spacing: 1px;
	margin: 1em 0;	font-family: dtBody; font-weight:bold;
}

#content h4 {
	color:navy;	letter-spacing: 0.5px;  word-spacing: 1px;
	margin: 0;	margin-top: 1.5em;	font-family: dtHead;
}

b { color:navy; font-weight: 600; font-variant: small-caps; letter-spacing:0.75px; }

i { color:navy; font-weight: 400; }

#content img {
	width: auto;	height: auto;
	max-width: 400px;	max-height: 400px;
	margin: 1em auto 0.5em auto; padding:1px;
	box-shadow: 0px 0px 5px blue; display: block;
	border: 1px solid navy;	border-radius: 12px;
}

img { transition: transform 2s;	transform-style: preserve-3d; }

img:hover { animation: flipBlur 2s ease forwards; }

#content section { margin: 1em; display: block; }

section p { margin: 1em; display: block; }

ul li, ol li { margin: 10px 0; }

#go2top{
	position: fixed;	display: flex;
	right: 20px;	bottom: 40px;
	width: 36px;	height: 36px;
	padding:8px;	z-index: 99;
	border: solid white 2px;	border-radius:50px;
	background-color:navy;	color: white;
	font-weight:bold;	display:none;
	text-align:center;	transition: 0.5s;
}

#go2top:hover {
	transition: background-color 1s ease;
	background-color: white;	border: solid navy 2px;	color:navy;
}

.contact { margin: 0.25em 1em; padding: 0 2.5em; text-indent:-1em; text-align:left; }

.gridView {
	margin:1em;	display: grid;	gap: 10px;
	grid-template-columns: 1fr 1.33fr;
}

.ally {
	width:30px !important;	height:30px !important;
	float:right;	margin:15px 0;
	border: solid navy 1px;	border-radius:15px;
}

.toolbar { display:none; float:right; }

.toolbar button {
	color: white;	padding: 10px;	background: black;
	border-radius: 50%;	border: solid white 2px;
	cursor: pointer;
}

.toolbar button:disabled {
	background: gray;
	cursor: not-allowed;
}

.foot {
	font-family:dtBody;
	color: navy;
	text-align:center;
	margin:10px auto;
	font-weight:bold;
}

ol[type='A']{ margin-left:1em; }

li::marker { color:navy; font-weight: 600; }
