:root {
	--max-page-width: 1200px;

	--font-size: 24px;
	--font-size-column: 16px;
	--font-size-mono: 14px;
	--font-size-overlay: 16px;

	--font-size-mobile: 16px;
	--font-size-mono-mobile: 13px;
	--font-size-overlay-mobile: 14px;
}


@font-face {
	font-family: 'AllgemeinGroteskWeb';
	src: url('fonts/AllgemeinGroteskWeb-Medium.woff2') format('woff2'),
		url('fonts/AllgemeinGroteskWeb-Medium.woff') format('woff');
}

@font-face {
	font-family: 'RetroskopSerifMonoWeb';
	src: url('fonts/RetroskopSerifMonoWeb-Regular.woff2') format('woff2'),
		url('fonts/RetroskopSerifMonoWeb-Regular.woff') format('woff');
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0 40px 20px 40px;
	width: 100%;
	min-width: 320px;
	background-color: white;
	color: black;
	font-family: 'AllgemeinGroteskWeb', sans-serif;
	font-size: var(--font-size);
}

body.dark {
	background-color: black;
	color: white;
}

.main {
	max-width: var(--max-page-width);
	margin: 0 auto;

	/* fixed */
	margin-top: 52px;
}

.menu {
	font-family: 'RetroskopSerifMonoWeb', monospace;
	font-size: var(--font-size-mono);

	max-width: var(--max-page-width);
	margin: 0 auto;

	position: sticky;
	top: 0;
	height: 50px;
	background-color: white;
	padding: 20px 0;
	z-index: 3;
}

.dark .menu {
	background-color: black;
}

.menu::after {
	content: "";
	clear: both;
	display: table;
}

.menu a {
	float: left;
}

.menu .dot {
	height: 16px;
	width: 16px;
	border-radius: 50%;
	display: inline-block;
	float: right;
	cursor: pointer;
	/*filter: blur(.5px);*/
}

.menu .dot.black {
	background-color: black;
}

.menu .dot.white {
	background-color: white;
	border: 2px solid black;
	margin-right: 10px;
}

.dark .menu .dot.black {
	border: 2px solid white;
}

.dark .menu .dot.white {
	background-color: white;
	border: none;
}

.menu .dot:hover {
	filter: blur(2px);
}

.footer {
	font-family: 'RetroskopSerifMonoWeb', monospace;
	font-size: var(--font-size-mono);
	padding-top: 5vw;
	text-align: center;
}

.header {
	display: block;
	width: 100%;
}

/* TEXT BLOCK ********************************************************************************/

.text::after {
	content: "";
	clear: both;
	display: table;
}

.text h1
{
	font-family: 'RetroskopSerifMonoWeb', monospace;
	font-size: var(--font-size-mono);
	font-weight: normal;
	text-decoration: underline;
	text-underline-offset: .15em;
	text-indent: 4rem;
	margin: 0;
	padding: 0;
}

hr {
	border: 0;
	height: 1px;
	background: black;
	margin: .8em 0;
}

.dark hr {
	background: white;
}

.text p {
	margin: 0;
	text-indent: 4rem;
}
.text h1 + p,
.text h2 + p
{
	text-indent: 0;
}

a {
	text-decoration: none;
	color: black;
	background: white;
}

.dark a {
	color: white;
	background: black;
}

.text a:before {
    content: "↘ ";
	white-space: nowrap;
}

.text a:hover,
.menu a:hover
{
	filter: blur(1px);
}

.text ul {
    list-style-type: none;

    margin: 0;
    padding-left: 1.8rem;
    text-indent: -1.8rem;
}

.text li:before {
    content: "○";
    display: block;
    float: left;
    width: 1.8rem;
}

.column {
	font-size: var(--font-size-column);
	width: 48%;
}

.column:first-of-type {
	float: left;
}

.column:last-of-type {
	float: right;
}

.column h1 {
	margin-top: 2em;
}

.column h1:first-child {
	margin-top: 0;
}

.column ul {
    list-style-type: disc;
    text-indent: 0;
    margin-left: 0;
    padding-left: 0;
}

.column li {
    margin-left: 1rem;
}

.column li:before {
    display: none;
}

/*
.column li span {
	display: block;
	margin-left: 3.5rem;
}
*/

.column li span:first-child {
	float: left;
	margin: 0;
}

.column li span:nth-child(2) {
	display: block;
	margin-left: 3rem;
}


.column li span:nth-child(2)::after {
	content: "";
	clear: both;
	display: table;
}


/* GALLERY BLOCK ********************************************************************************/

.row {
	position: relative;
	margin-bottom: min(5vw, 50px);
}

.row:first-child {
	margin-top: .4rem;
}

.row::after {
	content: "";
	clear: both;
	display: table;
}

figure {
	display: block;
	margin: 0 1vw;
	position: relative;
}

figure:first-child {
	margin-left: 0;
}

figure:last-child {
	margin-right: 0;
}

figure img {
	display: block;
	width: 100%;
}

.center {
	text-align: center;
}

.center figure {
	display: inline-block;
}

/* describes home page overlays */
.overlay {
	display: inline-block;
	visibility: hidden;

	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 2;

	padding: 1.6em;
	color: #fff;
	background: rgba(0,0,0,0.7);

	text-align: left;

	font-size: var(--font-size-overlay);
	line-height: 1.2em;
}

.overlay p {
	padding: 0;
	margin: 0;
}

figure a:hover .overlay {
	visibility: visible;
}

.dark .header,
.dark.font img
{
	filter: invert(1);
}

a[data-fslightbox] img:hover {
	filter: blur(3px);
}

@media screen and (max-width:600px) {
	body {
		padding: 0 20px 20px 20px;
		font-size: var(--font-size-mobile);
	}

	.menu,
	.footer,
	.text h1
	{
		font-size: var(--font-size-mono-mobile);
	}

	.main {
		margin-top: 24px;
	}

	.overlay {
		font-size: var(--font-size-overlay-mobile);
	}

	figure {
		display: block !important;
		width: 100% !important;
		float: none !important;
		margin: 0 0 20px 0 !important;
	}

	.row {
		margin: 0 !important;
	}

	.row:first-child {
		margin-top: .5rem !important;
	}

	.column
	{
		width: 100% !important;
		float: none !important;
		font-size: var(--font-size-mobile);
	}

	.column:not(:first-of-type) h1 {
		margin-top: 2em !important;
	}

	/* test */
	.text h1 {
		text-indent: 3rem;
	}
	.column ul {
		list-style: none;
	}
	.column li {
		margin-left: 0;
	}
}
