@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@100;200;300;400;500;600;700;800');

:root {
	--h-space: 2.0em;
	--body-light: #a8a9aa;
	--body-dark: #dcdcdc;
	--body-back: #e7ecef;
	--body-text: #2e2e2e;
	--accent: #91040c;
	--content-lighter-gray: #d2dce2;
	--content-light-gray: #cad4da;
	--content-gray: #696969;
	--content-dark-gray: #3f3f3f;
	--content-darker-gray: #2e2e2e;
	--content-accent: #91040c;

}

@media (prefers-color-scheme: dark) {
	:root {
		--body-light: #a8a9aa;
		--body-dark: #969696;
		--body-back: #d3d5d6;
		--body-text: #2e2e2e;
		--content-lighter-gray: #2e2e2e;
		--content-light-gray: #3f3f3f;
		--content-gray: #777777;
		--content-dark-gray: #ced4d7;
		--content-darker-gray: #e7ecef;
		--content-accent: #de242e;
	}
}

/******************************************************************************/

* {
	margin: 0px;
	padding: 0px;
}

h1 {
	font-weight: 300;
	font-size: 2em;
	margin: 0 0 0 0;
	letter-spacing: -1px;
	text-decoration: none;
	font-weight: 800;
}

h2 {
	font-weight: 300;
	font-size: 1.5em;
	margin: 0 0 1em 0;
	letter-spacing: -1px;
	text-decoration: none;
}

h4 {
	font-weight: bold;
	margin: 1em 0 1em 0;
}


a {
	text-decoration: none;
	color: var(--accent);
	position: relative;
}

a:hover {
	color: var(--body-dark);
	border-bottom: 2px solid var(--accent);
}

strong {
	color: var(--accent);
}

/******************************************************************************/

body {
	font-family: 'Plus Jakarta Sans', sans-serif;
	background-color: var(--body-back);
	color: var(--body-text);
}

#header {
	width: calc(100% - 3m);
	margin: 2.5em 0;
	display: block;
}

#header_text {
	height: 2.5em;
	color: var(--body-light);
	padding-left: var(--h-space);
	display: flex;
	align-items: center;
	padding: 0.75em 0 0.75em var(--h-space);
}


/******************************************************************************/

#aboutme {
	line-height: 2em;
	margin-bottom: 2.5em;

	align-items: flex-start;
	justify-content: flex-start;
	display: flex;
	gap: 1rem;
}

#aboutme #photo {
	flex: 0 0 auto;
	padding-right: 1em;
}

#aboutme #photo .avatar {
	height: 8.5em;
	margin: 0 auto;
	border-radius: 50%;
	border: 3px solid var(--body-dark);
}

#aboutme #info {
	flex: 1 1 auto;
	width: 100%;
}

#info .container {
	display: flex;
	position: relative;
}

#info .container .aleft {
	white-space: nowrap;
}

#info .container .amid {
	white-space: nowrap;
}

#info .container .aright {
	white-space: nowrap;
}

span.at {
	margin-left: 0.3em;
	margin-right: 0.3em;
	color: var(--body-light);
	font-family: Arial, Helvetica, sans-serif;
}

@media (max-width: 768px) {
	#aboutme {
		flex-direction: column;
	}

	#aboutme #photo {
		margin-right: 0;
		margin-bottom: 20px;
	}

	#aboutme #photo .avatar {
		height: 6em;
	}
}

@media (prefers-color-scheme: light) {
	.dark {
		display: none;
	}
}

@media (prefers-color-scheme: dark) {
	.light {
		display: none;
	}
}

#aboutme .follow {
	font-size: 1.5em;
}

#aboutme .follow a {
	margin: 0 1em 0 0;
	padding: 0;
	color: var(--body-text);
}

#aboutme .follow a.last {
	margin: 0;
}

#aboutme .follow a:hover {
	color: var(--accent);
	background: none;
	border-bottom: 2px solid var(--accent);
}

#aboutme .follow span {
	display: none;
}

#aboutme .follow .icon {
	margin: 0;
}

#aboutme .follow .icon:before {
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	line-height: 1;
	text-transform: none !important;
	font-family: 'Font Awesome 5 Brands';
	font-weight: 400;
}

/******************************************************************************/

#whoami {
	line-height: 1.7em;
	margin-bottom: 3em;
	text-align: left;
}

#whoami p.last{
	padding-top: 0.75em;
}

/******************************************************************************/

#whatiknow {
	float: left;
	width: 45%;
}

/******************************************************************************/

#whatiknow img {
	width: 130px;
	height: 58px;
	border: 1px solid #e2e2e2;
}

/******************************************************************************/

#work,
#publications {
	color: var(--content-dark-gray);
}

#work a,
#publications a {
	color: var(--content-accent);
}

#work a,
#publications a {
	color: var(--content-accent);
}


#publications {
	display: block;
}

#publications h2 {
	padding: 0;
	margin: 0;
}

#publications a {
	color: var(--content-dark);
}

#publications a:hover {
	color: var(--content-accent);
	border-bottom: 2px solid var(--content-accent);
}

pub_item {
	padding: 1em var(--h-space);
	display: block;
	border-bottom: 1px dashed var(--content--gray);
}

pub_item.last {
	border-bottom: 0px;
	margin-bottom: 2em;
}

pub_item:hover {
	background-color: var(--content-light-gray);
}

pub_title {
	font-weight: bold;
	display: block;
}

pub_year {
	display: inline;
	font-size: 0.8em;
}

pul_venue {
	border-left: 2px solid var(--content-light-gray);
	padding: 0 0 0 0.6em;
	margin: 0 0 0 0.5em;
	display: inline;
	font-size: 0.8em;
}

pub_authors {
	display: block;
	color: var(--gray);
	font-size: 0.9em;
	font-size: 0.8em;
}

pub_authors ul {
	padding-left: 1.25em;
}

/******************************************************************************/

#footer {
	padding-top: 2em;
	padding-bottom: 2em;
	color: var(--light);
}

/******************************************************************************/

.padded {
	padding-left: var(--h-space);
	padding-right: var(--h-space);
}

.wrapper {
	font-size: 22px;
	width: 95%;
	max-width: 960px;
	margin: 0px auto;
}

@media (max-width: 960px) {
	.wrapper {
		font-size: 20px;
	}
}

@media (max-width: 768px) {
	.wrapper {
		font-size: 20px;
	}
}

@media (max-width: 480px) {
	.wrapper {
		font-size: 16px;
	}
}

.blacked {
	background-color: var(--content-darker-gray);
	color: var(--content-lighter-gray);
}

.grayed {
	position: relative;
	background-color: var(--content-lighter-gray);
	border-top: 1px solid var(--content-light-gray);
}

.vspace {
	display: block;
	min-height: 1em;
}

/******************************************************************************/

.collapsed {
	overflow: hidden;
}

.collapsed-title {
	cursor: pointer;
	user-select: none;
	padding-top: 2em;
	padding-bottom: 2em;
}

.collapsed-title h2 {
	display: inline;
}

.collapsed-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 1s ease, padding 1s ease;
}

.collapsed-content.expanded {
	max-height: 100%;
}

.collapsed-content-subtitle {
	padding-top: 1em;
	padding-bottom: 1em;
	font-style: italic;
}

.collapsed-title .icon {
	font-size: 1.8em;
	margin-right: 10px;
	transition: transform 0.3s ease;
	display: inline-block;
}

.collapsed-title .icon.rotate {
	transform: rotate(45deg);
}