@charset "UTF-8";

:root {
	--page-bg: 04, 01, 19;
	--dark-bg: rgba(var(--page-bg), 1);
	--lighter-bg: #091D34;
	--active-bg: #CC5E14;
	--text-light: #F7FBFD;
	--click-op: 0.5;
	--deco-height: 1px;
	--deco-accent: #1B7C9D;
	--pane-extended-min-height: 436px;
	--details-padding-bottom: 80px;
	scrollbar-color: var(--deco-accent) var(--lighter-bg);
}

html {
	scroll-behavior: smooth;
}

body {
	background-color: rgba(var(--page-bg), 1);
	margin: 0px;
	font-family: "Newsreader", serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	text-wrap: pretty;
	font-size: 17px;
}

.main {
	margin: auto auto auto auto;
	padding: 30px;
	max-width: 1000px;
}

.column {
	padding: 0px;
	min-width: 0;
}

.column.small {
	width: 40%;
	text-align: center;
}

.column.large {
	width: 60%;
}

.column h1 {
	text-align: center;
	min-width: 0;
}

.column.large h1 {
	text-align: center;
	transform: translate(0px, 31%);
	padding-left: 20px;
	padding-right: 20px;
	font-family: "Rowdies", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 45px;
	min-height: 150px;
	white-space: nowrap;
	margin: 20px auto -50px auto;
}

.column .mwk {
	font-size: 30px;
	transform: translate(0px, 26px);
	margin: 40px 0px 0px 0px;
}

.details {
	opacity: 0;
	max-height: 0;
	overflow: hidden;
	padding : 50px 20px 0px 20px;
	transition: opacity 0.3s ease-out;
}

.details div {
	text-align: left;
	text-justify: inter-word;
	font-size: 19px;
}

.details .details-justify {
	text-align: justify;
}
	
.pane {
	position: relative;
	margin: 20px 20px;
	padding: 0px 0px;
	min-height: 200px;
	display: flex;
	flex-direction: row;
	cursor: pointer;
	opacity: 0;
	transform: translate(0px, 80px);
	align-items: stretch;
}

.pane.dark {
	color: var(--text-light);
	background-color: var(--lighter-bg);
}

.pane.light {
	color: var(--text-light);
	background-color: var(--lighter-bg);
}

.decorator {
	background-color: var(--deco-accent);
	position: absolute;
	right: 0px;
	left: 0px;
	height: 0px;
	transition: all 0.2s linear;
}

.decorator.top {
	top: 0px;
}

.decorator.bottom {
	bottom: 0px;
}

.decorator.active {
	background-color: var(--active-bg);
	right: 100%;
	height: var(--deco-height);
	transition: right 0.15s ease;
}

.decorator.open {
	height: var(--deco-height);
}

.separator.vert {
	height: 100%;
}

.light .click {
	position: absolute;
	left: 8px;
	bottom:8px;
}

.dark .click {
	position: absolute;
	right: 8px;
	bottom:8px;
}

#overlay {
	position: fixed; /* Sit on top of the page content */
	display: none; /* Hidden by default */
	width: 100%; /* Full width (cover the whole page) */
	height: 100%; /* Full height (cover the whole page) */
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: var(--page-bg);
	z-index: 4;
}

.thumbnail {
	offset-anchor: left top;
	width: 100%;
	height: 200px;
	filter: sepia(100%) hue-rotate(100deg) brightness(80%);
	-webkit-mask-image: linear-gradient(to right, black, transparent);
	mask-image: linear-gradient(to right, black, transparent);
	mask-size: 100%;
	object-fit: cover;
	transition: filter 0.2s linear, mask-size 0.2s linear;
}

.pane.dark .thumbnail {
	float: left;
}

.pane.light .thumbnail {
	float: right;
}

.icon {
	width: 40px;
	height: 40px;
	transition: opacity 0.1s linear;
}

.icon.click {
	width: 40px;
	height: 40px;
	opacity: var(--click-op);
}

.icon.arrow {
	margin-top: -5px;
	width: 15px;
	height: 30px;
	opacity: 0.5;
}

.more {
	margin: 0px 0px 0px 5px;
	position: absolute;
	left: calc(40% + 8px);
	right: 8px;
	bottom:8px;
	opacity: 0;
	display: none;
	border-width: var(--deco-height);
	border-color : var(--active-bg);
}

.more a {
	color: ivory;
	display: block;
	padding: 14px 16px;
	text-decoration: none;
	text-transform: uppercase;
}

.more a .icon {
	float: right;
}

.more a:hover {
	background-color: var(--active-bg);
}

a:hover .icon {
	opacity: 1;
}

.projects {
	color: var(--text-light);
	background-color: var(--dark-bg);
	margin: 50px 0px 0px 0px;
	text-align: left;
	border-width: var(--deco-height);
	border-style: none none solid none;
	border-color : var(--deco-accent);
	opacity: 0;
	font-family: "Newsreader", serif;
	font-optical-sizing: auto;
	font-weight: 800;
	font-style: normal;
	transform: translate(0px, 60px);
}

.projects h2 {
	text-transform: uppercase;
	margin: 0px;
	padding: 20px;
	font-family: "Newsreader", serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
}

.logo {
	object-fit: contain;
	object-position: 50% 100%;
}

.footer {
	position: relative;
	margin: auto;
	color: var(--text-light);
	/*height: 200px;*/
	background-color: var(--lighter-bg);
	max-width: 1000px;
}

.footer p {
	padding-top: 20px;
	padding-bottom: 20px;
	text-align: center;
	margin: 0;
}

.web-bcg {
	background-image: url("../res/misc/diamond-bg-3.png");
	position: fixed;
	width : 100%;
	height: 100%;
	opacity: 0.9;
}

.web-bcg-top {
	width : 100%;
	height: 100%;
	background-color: rgba(0,0,0,0);
	background-image: radial-gradient(circle, rgba(var(--page-bg), 1) 40%, rgba(0,0,0,0) 90%);
}

.mwk {
	font-family: "Fondamento", cursive;
	font-weight: 400;
	font-style: normal;
}

#about-head {
	margin: auto;
	font-size: min(5.5vw, 30px);
	text-align: center;
	white-space: nowrap;
	opacity: 1;
	padding: 92px 20px 70px 20px;
	transition: opacity 0.2s linear;
}

#details-about {
	margin: -150px 0px 0px 0px;
	padding : 0px 20px 0px 20px;
}

.details-titleless {
	margin: -120px 0px 0px 0px;
}

#pane-about {
	min-height: 220px;
}

em {
	font-family: "Newsreader", serif;
	font-optical-sizing: auto;
	font-weight: 700;
	font-style: normal;
	color: #75b8cb;
}

.no-break {
	white-space: nowrap;
	font-style: normal;
}

 /* unvisited link */
.mail:link {
	color: var(--active-bg);
}

/* visited link */
.mail:visited {
	color: var(--active-bg);
}

/* mouse over link */
.mail:hover {
	color: var(--active-bg);
}

/* selected link */
.mail:active {
	color: var(--active-bg);
}

.infodump {
	width: 100%;
	font-size: 22px;
}

.info-mc {
	width: 44px;
}

.info-fa {
	width: 45px;
	text-align: left;
}

.info-score {
	width: 30px;
	padding-right: 0px;
	text-align: right;
}

.turned-off {
	opacity: 0;
}

ul {
	margin-top: 8px;
}

.about-tagline {
	opacity: 0;
	font-size: 20px;
}

.about-seperator {
	height: 110px;
}

.more.more-about {
	position: relative;
	left: 0px;
}

.more.more-about a {
	padding: 7px 8px;
}

.about-link-parent {
	width: 100%;
}

.about-icon {
	font-size: 34px;
	padding: 7px;
	/*align-self: center;*/
	flex-grow: 0;
	text-align: center;
}

.about-sub {
	padding-top: 2px;
	align-self: center;
	text-align: left;
	font-size : 18px;
	font-weight: 400;
}

#about-mail {
	font-size: min(3.2vw, 18px);
}

.about-icon-th {
	width: 50px;
	min-width: 50px;
	max-width: 50px;
	padding: 0px;
	vertical-align: center;
	text-align: center;
}

.about-arrow-th {
	text-align: right;
	padding-left: 16px;
}

.about-contact {
	margin: -76px -11px 0px 3px;
	padding: 0px 0px 76px 0px;
	max-height: 1px;
	overflow: hidden;
}

.about-arrow-th {
	padding-right: 4px;
}

#about_button {
	cursor: pointer;
	text-align: center;
}

@media screen and (max-width: 800px) {
	.pane {
		flex-direction: column;
	}
	
	.column.small, .column.large {
		width: 100%;
		flex-basis: 180px;
	}
	
	.column.large h1 {
		margin: 0px 20px 10px 20px;
		padding-top: 10px;
	}
	
	.more {
		left: 8px;
		right: 8px;
		margin-left: 0px;
	}
	
	.thumbnail {
		-webkit-mask-image: linear-gradient(to right, black, black);
		mask-image: linear-gradient(to right, black, black);
	}
	
	.column .mwk {
		transform: translate(0px, 20px);
		margin: 30px 0px 0px 0px;
	}
	
	#about-head {
		padding : 40px 20px 40px 20px;
	}
	
	.details {
		padding : 0px 20px 0px 20px;
	}
	
	#details-about {
		margin: -110px 0px 0px 0px;
		padding : 0px 20px 0px 20px;
	}
	
	.details-titleless {
		margin: -72px 0px 0px 0px;
	}
	
	.pane .column .title-titleless {
		transform: translate(0px, 35%);
		
	}
	
	.about-contact {
		margin: -76px -11px 0px -13px;
	}
	
}

