@charset "utf-8";
/* CSS Document */

html {
	height: 100vh;
	width: 100vw;
	overflow-y: hidden;
	font-size: 20px;
}

body {
	height: 100%;
	width: 100%;
	flex: 1 0 auto;
	background: url(../images/background.png) center top;
	font-family: "Times New Roman", Times, serif;
	align-items: center;
	padding: 5px 25px 10px 20px;
	overflow-x: hidden;
	margin: 0;
}

div#wrapper {
	flex: 1 0 auto;
	width: 100%;
	height: 100%;
	max-width: 1500px;
	background-color: #23120b;
	color: #f7ece1;
	border: 5px solid #651514;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	-moz-box-shadow: 5px 5px 5px #8d7655;
	-webkit-box-shadow: 5px 5px 5px #8d7655;
	box-shadow: 5px 5px 5px #8d7655;
	box-sizing: border-box;
	overflow-y: auto;
}

div#container {
	width: 100%;
}

h1 {
	font-size: 2.5rem;
}

h2 {
	font-size: 1.8em;
	font-weight: bold;
	margin-top: 1rem;
}

h3 {
	font-size: 1.3rem;
	font-weight: bold;
	margin-top: 1rem;
}

a {
	color: #0084ff;
	box-sizing: border-box;
}

a:visited {
	color: #cc2f2f;
}

/* Ensure touch taps don't show ugly highlight on some browsers */
a.has-tooltip {
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	display: inline-block;
	position: relative;
}

/* tooltip base */
a.has-tooltip::after {
	content: attr(data-tooltip);
	position: absolute;
	left: 50%;
	transform: translateX(-50%) translateY(-8px);
	bottom: 100%;
	/* place above the element */
	white-space: nowrap;
	background: rgba(35, 18, 11, 0.9);
	color: #8d7655;
	padding: 0.35rem 0.5rem;
	border-radius: 4px;
	font-size: 0.9rem;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.15s ease, transform 0.15s ease;
	z-index: 30;
}

/* arrow (optional) */
a.has-tooltip::before {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: calc(100% - 6px);
	border: 6px solid transparent;
	border-top-color: rgba(0, 0, 0, 0.9);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.15s ease;
	z-index: 30;
}

/* show on hover/focus */
a.has-tooltip:hover::after,
a.has-tooltip:focus::after,
a.has-tooltip:hover::before,
a.has-tooltip:focus::before {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(-12px);
}


header#mainNavigation {
	align-items: center;
}

header {
	text-align: center;
	margin-bottom: 1rem;
}

header h1 {
	font-size: 2.7em;
}

header p {
	font-size: 1.2em;
}

header .motto {
	font-size: 1.2em;
	padding: 0 0.25rem;
	border-bottom: 3px solid #8d7655;
	box-shadow: 0 3px 0 rgba(141, 118, 85, 0.6);
}

main#mainContent {
	align-items: center;
	min-height: 500px;
}

main#mainContent section {
	width: 90%;
	max-width: 1400px;
}

main#mainContent ul {
	padding-left: 2em;
}

main .available_links {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 2rem;
	margin-top: 20px;
}

section.support {
	margin-top: 5rem;
}

section.contact {
	margin-top: 2.5rem;
}

.available_links .link_domain {
	position: relative;
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	max-width: 200px;
	width: 200px;
	height: 200px;
	border: 2px solid #8d7655;
	border-radius: 10px;
	box-sizing: border-box;
	transition: transform 0.3s, box-shadow 0.3s;
}

.available_links .link_domain:hover {
	transform: scale(1.20) translate(-5%, -5%);
	box-shadow: 0px 0px 10px 5px #8d7655;
}

.available_links .link_domain a {
	display: inline-flex;
	flex: 1 1 auto;
	flex-direction: column;
	width: 100%;
	height: 100%;
	justify-content: center;
	padding: 0.5rem;
	text-decoration: none;
	color: #8d7655;
}

s .available_links .link_domain a:hover {

	text-decoration: underline;
}

/* Pressed / depressed effect for assessment links */
.domain_link {
	transition: transform 150ms ease, box-shadow 150ms ease;
	will-change: transform;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.domain_link:active,
.domain_link.pressed {
	transform: translateY(4px) scale(0.98);
	box-shadow: inset 0 6px 10px rgba(0, 0, 0, 0.35);
}


.available_links .link_domain .image_container {
	display: inline-flex;

	max-height: 100%;
	max-width: 100%;
	justify-content: center;
}

.available_links .link_domain img {
	display: inline-flex;
	width: 100%;
	height: 150px;
	max-height: 100%;
	max-width: 100%;
}

.available_links .link_domain h3 {
	text-align: center;
	margin-top: 0.5rem;
	font-size: 1rem;
	font-weight: bold;
	margin-bottom: 0;
}

.available_links.sponsors .link_domain img {
	width: auto;
	height: auto;
	border-radius: 0.5rem;
}

.available_links.sponsors .link_domain.imago_bene img {
	background-color: antiquewhite;

}

.available_links.sponsors .link_domain h3 {
	display: none;
}

.available_links.donation .link_domain .image_container {
	width: 150px;
	height: 150px;
	background-color: antiquewhite;
	border-radius: 0.5rem;
}

.available_links.donation .link_domain img {
	width: auto;
	height: auto;
	max-height: 130px;
	border-radius: 0.5rem;
	object-fit: contain;
}



footer {
	padding-bottom: 1rem;
}

footer hr {
	margin: 20px 10px 5px 10px;
}

footer a:hover {
	/* font-weight: bold; */
}

footer div {
	float: left;
}

footer div#sponsors {
	justify-content: center;
	margin-bottom: 10px;
}

footer a {
	display: inline-block;
	z-index: 10;
	transition: transform 0.5s;
	margin: 0 2px;
	padding: 2px;
}

footer a:hover {
	background-color: #23120b;
	transform: scale(1.25) translate(-5%, -5%);
}

footer div#addthis {
	display: none;
	width: 200px;
}

footer div#addthis div {
	flex-direction: row;
	padding-left: 10px;
}

footer div#virtuarama_linkback {}

footer div#virtuarama_linkback p {
	justify-content: center;
	/* margin-left: -215px; */
	/* To put it roughly in the center */
}

.altfont {
	font-family: "Comic Sans MS", cursive;
}

/* Screen-reader only helper (visually hidden but accessible) */
.sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Mobile responsive styles */
@media screen and (max-width: 768px) {
	html {
		font-size: 18px;
	}

	body {
		padding: 5px 10px;
	}

	div#wrapper {
		border-width: 3px;
		border-radius: 5px;
	}

	header {
		margin-bottom: 0.75rem;
	}


	header h1 {
		font-size: 1.8em;
	}

	header p {
		font-size: 1em;
	}

	h1 {
		font-size: 1.6em;
	}

	h2 {
		font-size: 1.3em;
	}

	main#mainContent section {
		width: 95%;
	}

	main .available_links {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: flex-start;
		gap: 2rem;
		margin-top: 20px;
		justify-content: center;
	}

	footer div {
		float: none;
		width: 100% !important;
	}

	footer div#virtuarama_linkback p {
		margin-left: 0;
	}

	footer div#addthis {
		width: 100%;
		text-align: center;
	}

	footer div#sponsors {
		width: 100%;
	}
}