/* Shared styles for the paper project pages (GraphSHA.html, HomoGCL.html) */
body {
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-weight: 300;
	font-size: 18px;
	line-height: 1.5;
	color: #222;
	background: #fff;
	margin: 0;
}

.page {
	max-width: 1100px;
	margin: 0 auto;
	padding: 1.5rem 16px 3rem;
}

a:link,
a:visited {
	color: #1367a7;
	text-decoration: none;
}

a:hover {
	color: #208799;
}

h1.paper-title {
	font-size: clamp(26px, 5vw, 42px);
	font-weight: 300;
	text-align: center;
	line-height: 1.25;
	margin: 0.5rem 0 1.5rem;
}

h2 {
	text-align: center;
	font-weight: 400;
}

h3 {
	font-size: 1.15em;
	font-weight: 600;
	margin-top: 2rem;
}

hr {
	border: 0;
	height: 1.5px;
	margin: 2rem 0;
	background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

/* Authors, affiliations and links: rows that wrap on narrow screens */
.inline-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem 2rem;
	margin: 0.75rem 0;
	padding: 0;
	list-style: none;
	font-size: 20px;
	text-align: center;
}

/* Figures scale down with the screen and never get stretched */
.figure {
	display: block;
	width: 100%;
	height: auto;
	margin: 1rem auto;
}

.figure.half {
	max-width: 500px;
}

.figure.wide {
	max-width: 800px;
}

.figure.full {
	max-width: 1000px;
}

.abstract {
	max-width: 1000px;
	margin: 0 auto;
	text-align: justify;
}

@media (max-width: 600px) {
	.abstract {
		text-align: left;
	}
}

.video {
	position: relative;
	max-width: 640px;
	margin: 0 auto;
	aspect-ratio: 16 / 9;
}

.video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

pre.bibtex {
	overflow-x: auto;
	text-align: left;
	font-size: 14px;
	line-height: 1.4;
	background: gainsboro;
	border: 1px solid grey;
	border-radius: 3px;
	padding: 1.5rem;
}
