/* Primary: #00889D -- Dark colour from background of profilepic
 * Secondary: #889D00 -- Tertiary Colour 1
 * Accent: #9D0088  -- Tertiary Colour 2
 */

:root {
	--primary: #00889D;
	/*--background: lightgrey;*/
	--secondary: #889D00;
	--accent: #9D0088;

	--background: hsl(from var(--primary) h s calc(l + 50));
	--border-size: 0.6vmin;

	--h1-font-size: 3.5vmin;
	--h2-font-size: 3.0vmin;
	--h3-font-size: 2.0vmin;
	--body-font-size: 1.5vmin;
	--tag-font-size: 1vmin;
}

h1 {
	font-size: var(--h1-font-size);
	margin: 0;
}

h2 {
 	font-size: var(--h2-font-size);
	margin: 0;
}

h3 {
 	font-size: var(--h3-font-size);
	margin: 0;
}

p {
	font-size: var(--body-font-size);
}

.header {
	/*display: flex;
	flex-direction: row;
	height: 15vw;
	justify-content: space-between;
	align-items: center;
	background-color: lightgray;*/
	height: 15vh;
	background-color: lightgray;
}

thead {
	height: 0;
}

tr, tbody {
	height: 100%;
	width: 100%;
}

.header-layout {
	width: 100%;
	height: 100%;
	/*height: 14.5vw;*/
	padding: 0;
	table-layout: fixed;
}
/*
.header-item {
	height: 100%;
}
.header-item:last-child {
	height: 100%;
	margin-right: 1rem;
}
*/
.header-item-1 {
	height: 100%;
	width: 20%;
	vertical-align: middle;
	padding: 0;
}

.header-item-2 {
	/*display: flex;
	flex-direction: column;
	align-items: center;*/
	height: 100%;
	width: 60%;
	text-align: center;
	padding: 0;
}

.header-item-3 {
	height: 100%;
	width: 20%;
	text-align: right;
	padding: 0;
}

.ascii-art {
	font-family: monospace;
	font-size: 0.6vh;
	white-space: pre;
	padding: 0;
}

.title-card {
	width: 100%;
	text-align: center;
}

.website-description {
	/*display: flex;
	justify-content: space-between;
	gap: 15px;*/
	/*height: 6vw;*/
	margin: 0 auto;
	/*text-align: center;*/
}

.subtitle {
	opacity: 60%; 
	margin: 0;
	text-align: center;
	padding-right: 5px;
}

.horizontal-contact-info {
	padding-left: 5px;
	text-align: center;
}

.vertical-contact-info {
	display: none;
	text-align: left;
}

.tags {
	display: flex;
	gap: 10px;
	font-size: var(--tag-font-size);
}

.profile {
	/*filter: drop-shadow(1rem 1rem);*/
	display: block;
	max-width: 100%;
	max-height: 100%;
}

.background-section {
	background-color: lightgray;
}


.post-header-profile {
	width: 30%;
	text-align: left;
	height: 100%;
}

.post-header-title {
	width: 70%;
	text-align: right;
}

.post-body {
    /*filter: drop-shadow(var(--accent) 1rem 1rem 1rem);*/
	background-color: white;
	font-family: sans-serif;
	font-size: var(--body-font-size);
	margin: auto;
	width: 70vw;
}

section {
	border: var(--border-size) ridge var(--primary);
	padding: 2vmin;
}

body {
	font-family: monospace;
	background-color: var(--background);
}

article {
	border: var(--border-size) outset var(--secondary);
	background-color: white;
	padding: 10px;
}

.post-title {
	margin-top: 10px;
	margin-bottom: 10px;
}

.post-info {
	font-size: var(--body-font-size);
}


/* Link Styling */
a {
    /*font-size: var(--body-font-size);*/
}

a:link {
  color: hsl( from var(--secondary) h s calc(l - 20) );
  background-color: transparent;
  text-decoration: none;
}

a:visited {
  color: var(--secondary);
  background-color: transparent;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
  background-color: transparent;
  text-decoration: underline;
}

a:active {
  color: var(--accent);
  background-color: transparent;
  text-decoration: underline;
}


/* Mobile Support */
@media screen and (max-width: 730px) {
    :root {
			--h1-font-size: 6vmin;
			--h2-font-size: 4.0vmin;
			--h3-font-size: 3vmin;
			--body-font-size: 2.5vmin;
			--tag-font-size: 2vmin;
		}

	.header-item-3 {
		display: none;
	}

	.horizontal-contact-info {
		display: none;
	}

	.vertical-contact-info {
		display: inline;
	}

	.subtitle {
		padding-right: 0px;
	}

	.header-item-1 {
		width: 50%;
	}

	.header-item-2 {
		width: 50%;
	}
}
