@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Mono:wght@100..900&display=swap');

@font-face {
	font-family: "Signifier";
	src:url(../fonts/Signifier-Light.otf) format("opentype");
	font-weight: 200;
	font-style: normal;
	}
@font-face {
	font-family: "Signifier";
	src:url(../fonts/Signifier-LightItalic.otf) format("opentype");
	font-weight: 200;
	font-style: italic;
	}
@font-face {
	font-family: "Signifier";
	src:url(../fonts/Signifier-Regular.otf) format("opentype");
	font-weight: 400;
	font-style: normal;
	}
@font-face {
	font-family: "Signifier";
	src:url(../fonts/Signifier-RegularItalic.otf) format("opentype");
	font-weight: 400;
	font-style: italic;
	}

@font-face {
	font-family: "Signifier Test";
	src:url(../fonts/test-signifier-thin.woff2) format("woff2");
	font-weight: 100;
	font-style: normal;
	}
@font-face {
	font-family: "Signifier Test";
	src:url(../fonts/test-signifier-thin-italic.woff2) format("woff2");
	font-weight: 100;
	font-style: italic;
	}
@font-face {
	font-family: "Signifier Test";
	src:url(../fonts/test-signifier-light.woff2) format("woff2");
	font-weight: 300;
	font-style: normal;
	}
@font-face {
	font-family: "Signifier Test";
	src:url(../fonts/test-signifier-light-italic.woff2) format("woff2");
	font-weight: 300;
	font-style: italic;
	}
@font-face {
	font-family: "Signifier Test";
	src:url(../fonts/test-signifier-regular.woff2) format("woff2");
	font-weight: 400;
	font-style: normal;
	}
@font-face {
	font-family: "Signifier Test";
	src:url(../fonts/test-signifier-regular-italic.woff2) format("woff2");
	font-weight: 400;
	font-style: italic;
	}



* {
	margin: 0;
	padding: 0;
	}

html {
	font-size: 14pt;
	font-family: 'Signifier Test', serif;
	background: #e9e9e9;
	}
img {
	width: 100%;
	}
body {
	}
li {
	list-style: none;
	}
a {
	color: currentColor;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.4em;
	transition: all 0.2s;
	}
a:hover {
	text-underline-offset: 0.3em;
	text-decoration-thickness: 3px;
	}
button {
	font: inherit;
	background: none;
	border: 0;
	color: currentColor;
	cursor: pointer;
	}
strong, b {
	font-weight: 600;
	}
small {
	font-size: inherit;
	}
h1, h2, h3, h4, h5 {
	font-weight: normal;
	}


header {
	background: #fff;
	padding: 1rem;
	margin-bottom: 3em;
	position: sticky;
	top: 0;
	z-index: 0;
	box-shadow: 0px 10px 20px 0px rgba(0,0,0,0.15);	
	}
header .headline{
	font-size: 3.5vw;
	line-height: 1em;
	font-weight: 200;
	letter-spacing: -0.02em;
	margin-bottom: 0.2em;
	}
header .about-toggler{
	font-size: 1rem;
	background: #000;
	border-radius: 1em;
	margin-left: .5rem;
	padding: 0.2em 0.4em;
	line-height: 1em;
	color: #fff;
	cursor: pointer;
	transform: translate(0,-1em);
	display: inline-block;
	}
header .header-about{
	margin-top: 2rem;
	display: none;
	border: 1px solid #000;
	padding: 1rem;
	border-radius: 1rem;
	}
header .header-about.show{
	display: block;
	}
header .header-about p{
	margin-bottom: 1rem;
	}
header .header-about p:last-child{
	margin-bottom: 0rem;
	}
header .submenu {
	text-align: right;
	margin-bottom: 1rem;
	}
header .submenu a{
	background: #aaa;
	padding: 0.2em 0.4em;
	border-radius: 10px;
	text-decoration: none;
	color: #fff;
	border: 1px solid #aaa;
	transition: all 0.2s;
	background: radial-gradient(#ccc, #aaa);
	}
header .submenu a:hover{
	background: #fff;
	color: #aaa;
	}


main {
	min-height: calc(100vh - 25rem);
	}

section.cat{
	padding-top: 1.5rem;
	border-top: 1px dashed #000;
	margin-bottom: 15rem;
	padding: 1rem;
	position: relative;
	z-index: 100;
	background: #eee;
	box-shadow: 0px 10px 20px 0px rgba(0,0,0,0.15);	
	-webkit-transform: translate3d(0,0,0);
	}
section.cat .cat-infos{
	margin-bottom: 2rem;
	}
section.cat h2 {
	font-size: 4rem;
	line-height: 1em;
	font-weight: 100;
	margin-bottom: 0.5em;
	}
section.cat h3 {
	margin-bottom: 0.2em;
	text-transform: uppercase;
	}
section.cat .cat-resources{
	flex: 1;
	display: flex;
	gap: 1rem;
	position: relative;
	flex-wrap: wrap;
	align-items:flex-start;
	align-content:flex-start;
	gap: 1rem;
	}


section.cat .cat-resource {
	margin-bottom: 1rem;
	padding-bottom: 1rem;
	width: calc(33.3% - 1.7rem);
	background: #fff;
	padding: .5rem;
	border-radius: 1rem;
	color: #000;
	}
section.cat .cat-resource.newsticker {
	width: 100%;
	background: none;
	}


section.cat .cat-resource h3 {
	margin-bottom: 1rem;
	}
section.cat .cat-resource .resource-text {
	margin-bottom: 1rem;
	}

section.cat .cat-resource .resource-link {
	border: 1px solid #aaa;
	padding: 0.2em 2em 0.2em 0.5em;
	display: inline-block;
	margin-top: 0.3em;
	transition: all 0.2s;
	border-radius: .5rem;
	text-decoration: none;
	font-size: 0.8rem;
	font-family: "Noto Sans Mono", monospace;
	font-optical-sizing: auto;
	font-weight: 300;
	font-style: normal;
	font-variation-settings:"wdth" 100;
	}
/*
section.cat .cat-resource .resource-link:before {
	content: '↷ ';
	font-family: 'Arial', sans-serif;
	font-size: 1.2rem;
	line-height: 1rem;
	}
*/
section.cat .cat-resource .resource-link:hover {
	padding: 0.2em 0.5em 0.2em 2em;
	background: #aaa;
	color: #fff;
	}
section.cat .cat-resource .resource-link .restype {
	font-size: 0.6rem;
	background: #aaa;
	color: #fff;
	border-radius: 0.3em;
	padding: 0em 0.2em;
	font-weight: 400;
	text-transform: uppercase;
	margin-right: 0.4rem;
	}
section.cat .cat-resource .resource-link:hover .restype {
	background: #fff;
	color: #aaa;
	}

footer {
	margin-top: 10rem;
	padding: 1rem;
	margin-bottom: 1rem;
	background: #fff;
	}


section.login {
	width: 50%;
	margin: 0 auto;
	position: relative;
	}
section.login form{
	background: #000;
	border-radius: 2rem;
	padding: 0.5rem;
	width: 20rem;
	margin: 0 auto;
	display: block;
	color: #fff;
	text-align: center;
	}
section.login form h2{
	font-weight: 100;
	margin-bottom: 1rem;
	}
section.login form input{
	border: 1px solid #fff;
	background: #eee;
	display: block;
	font-family: 'Signifier Test', serif;
	font-size: 1rem;
	padding: 0.4em;	
	margin: 0 auto;
	margin-bottom: 1em;
	}
section.login form input[type=submit]{
	border-radius: 0.5rem;
	cursor: pointer;
	}
section.login form input[type=submit]:hover{
	background: red;
	}
section.login .alert {
	margin: 0 auto;
	background: red;
	color: #fff;
	padding: 0.5rem;
	margin-bottom: 2rem;
	position: absolute;
	top: 40%;
	width: 100%;
	transform: rotate(5deg);
	text-align: center;
	}


.home h2{
	margin-top: 1.5rem;
}

@media only screen and (max-width: 1200px) {
	html {
		font-size: 12pt;
		}	
	section.cat .cat-resource {
		width: calc(50% - 1.5rem);
		}
	header .headline{
		font-size: 2rem;
		line-height: 1.2em;
		}
	section.cat h2 {
		font-size: 2rem;
		line-height: 1.2em;
		}
	}
@media only screen and (max-width: 900px) {
	section.cat .cat-resource {
		width: 100%;
		}
	}


