@font-face {
	font-family: "Paragraph";
	src: url(/res/font/paragraph.woff2) format("woff2");
}

@font-face {
	font-family: "Heading";
	src: url(/res/font/heading.woff) format("woff");
}

@font-face {
	font-family: "S";
	src: url(/res/font/synapsian.woff2) format("woff2");
}

@font-face {
	font-family: "A";
	src: url(/res/font/makina.woff2) format("woff2");
}

html {
	background-color: #000;
	color: #FFF;
	font-family: "Paragraph", sans-serif;
	font-size: 16px;
	cursor: url(/res/img/ui/cursor.png), default;
}

a {
	cursor: url(/res/img/ui/pointer.png), default;
	color: inherit;
	text-decoration: none;
}

h1 {
	font-family: Heading;
}

*::-moz-selection {
	color: #000;
	background-color: #FFF;
}

*::selection {
	color: #000;
	background-color: #FFF;
}

/* Scrollbars */
::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0);
}

::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 1);
}

.seperator {
	width: 100%;
	height: 32px;
	background-image: url(/res/img/ui/seperator.png);
}

.seperate {
	width: 100%;
	height: 32px;
	background-image: url(/res/img/ui/seperate.png);
}

.syn {
	font-family: S;
}

.padded {
	padding-left: 10vw;
	padding-right: 10vw;
}

.overload {
	margin-left: 20vw;
	width: calc(100% - 40vw);
	background-color: #000;
}

.link {
	color: #FF0;
}

.link:hover {
	color: #FF0;
	text-decoration: none;
}

.overno {
	color: #888 !important;
	pointer-events: none;
}

.overno:hover {
	background-color: #888 !important;
	color: #000 !important;
}

/* Index List */
#index {
	background-color: #000;
	background-image: url('/res/img/bg/index.png');
	background-attachment: fixed;
	background-position: center;
	padding: 5.2em 10vw 5.2em 10vw;
}

.indexlist {
	width: calc(100% - 170px);
	display: inline-block;
	height: 64px;
	line-height: 64px;
	vertical-align: 28px;
}

.indexlist span {
	display: inline-block;
	vertical-align: middle;
	line-height: normal;
}

.indexlist a, .linkt1 {
	color: #FFFF00;
}

.indexlist a:hover, .linkt1:hover {
	background-color: #FFFF00;
	color: #000;
}

/* New top-left knob (logo + name) */
.newknob {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 45px;
	padding: 0 26px 0 6px;
	background-color: #000;
	clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
	font-family: "Heading", sans-serif;
	font-size: 1.5em;
	letter-spacing: -0.15em;
	color: #FFF;
}

.newknob img {
	height: 36px;
	width: 36px;
	image-rendering: pixelated;
}

/* Footer: picture left, links right */
.footerflex {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5em;
	flex-wrap: wrap;
	padding: 1em 0;
}

.footerflex .footerpic {
	width: 260px;
	max-width: 45vw;
	height: auto;
	display: block;
	box-shadow: 0 0 16px #000;
}

.footerflex .footerlinks {
	width: auto;
	height: auto;
	line-height: normal;
	vertical-align: middle;
	font-size: 1.4em;
}

.footerflex > img[src*="right.png"] {
	flex-shrink: 0;
}

/* Work in progress placeholder */
.wip {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 45vh;
	padding: 3em 1em;
	gap: 0.6em;
}

.wip .wip-title {
	font-size: 2.4em;
	letter-spacing: 0.15em;
	margin: 0;
}

.wip .wip-sign {
	font-family: "Heading", monospace;
	font-size: 1.6em;
	letter-spacing: 0.2em;
	color: #FFFF00;
	border: 2px dashed #FFFF00;
	padding: 0.5em 1em;
	animation: wipblink 1.4s steps(2, start) infinite;
}

.wip .wip-sub {
	color: #AAA;
	font-size: 1em;
	margin: 0;
}

@keyframes wipblink {
	0%   { opacity: 1; }
	50%  { opacity: 0.35; }
	100% { opacity: 1; }
}

/* Dataverses Specifics */
#index.dataverses {
	background-image: url('/res/img/bg/dataverses.png');
}

#index.dataverses h6 {
	font-weight: bold;
	font-size: 70%;
	margin: 2.33em 0;
}
