/* Style Sheet for http://www.blindsicht.de */

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
/*    outline: 1px solid red; */
}

/* ####################### SET CSS VARIABLES ######################## */

:root {
	--bg-gradient: radial-gradient( ellipse at 80%, rgba(75, 0, 75, 0.875) 0%, rgba(33, 23, 68, 0.95) 50%, rgba(25, 23, 52, 1.0) 85% );
	--outline-shadow:
		-1px -1px 0 rgb(33, 23, 68),
		1px -1px 0 rgb(33, 23, 68),
		-1px 1px 0 rgb(33, 23, 68),
		1px 1px 0 rgb(33, 23, 68),
		-2px 0 0 rgb(33, 23, 68),
		2px 0 0 rgb(33, 23, 68),
		0 -2px 0 rgb(33, 23, 68),
		0 2px 0 rgb(33, 23, 68),
		0 0 0.2rem rgb(33, 23, 68),
		0 0 0.4rem rgb(33, 23, 68),
		0 0 0.6rem rgb(33, 23, 68),
		0 0 0.8rem rgb(33, 23, 68),
		0 0 1.0rem rgb(33, 23, 68),
		0 0 1.2rem rgb(33, 23, 68),
		0 0 1.4rem rgb(33, 23, 68);
}

/* ####################### DEFINE FONT FACES ######################## */

/* encode-sans-condensed-regular - latin */
@font-face {
	font-family: 'Encode Sans Condensed';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/encode-sans-condensed-v10-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
		 url('../fonts/encode-sans-condensed-v10-latin-regular.woff') format('woff'), /* Modern Browsers */
		 url('../fonts/encode-sans-condensed-v10-latin-regular.ttf') format('truetype'); /* Safari, Android, iOS */
}
/* encode-sans-condensed-700 - latin */
@font-face {
	font-family: 'Encode Sans Condensed';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/encode-sans-condensed-v10-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
		 url('../fonts/encode-sans-condensed-v10-latin-700.woff') format('woff'), /* Modern Browsers */
		 url('../fonts/encode-sans-condensed-v10-latin-700.ttf') format('truetype'); /* Safari, Android, iOS */
}

/* orbitron-700 - latin */
@font-face {
	font-family: 'Orbitron';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/orbitron-v25-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
		 url('../fonts/orbitron-v25-latin-700.woff') format('woff'), /* Modern Browsers */
		 url('../fonts/orbitron-v25-latin-700.ttf') format('truetype'); /* Old Safari, Android, iOS */
}

/* ##################### DEFINE BASEFONT SIZE ####################### */

html { 
	font-size: 16px;
	-webkit-text-size-adjust: 100%;
}

/* ####################### DEFINE TEXTSTYLES ######################## */

.bold { font-weight: 700; }

.italic { font-style: italic; }

.small {
	font-size: 0.75em; 
	font-weight: 400;  
	line-height: 1.33;
}

.subline {
	font-family: 'Orbitron'; 
	font-weight: 700;
	font-size: 0.75em; 
	color: #CCCCCC;
	line-height: 1.2;
	display: block;
}

/* ####################### DEFINE BODY APPEARANCE ######################## */

body {
	margin: 0;
	font-family: 'Encode Sans Condensed';
	font-weight: 400;
	font-size: 16px;
	color: #FFFFFF;
	background-color: rgb(25, 23, 52);
	overflow-x: hidden;
}

body::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	height: 100lvh; 
	pointer-events: none;
	background: repeating-linear-gradient( to bottom, rgba(0,0,0,0.15) 0px, rgba(0,0,0,0.15) 2px, transparent 2px, transparent 4px ),
	var(--bg-gradient),
	var(--bg-image);
	background-size: auto, auto, cover;
	background-position: 0 0, center, center;
	background-repeat: repeat, no-repeat, no-repeat;
	z-index: -1;
}

/* ####################### DEFINE LINKS ######################## */

a {
	position: relative;
	font-weight: 400;
	text-decoration: none; 
	color: #D2D1E7; 
}

a::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 1px;
	background-color: rgb(180, 37, 106);
	bottom: 0;
	left: 0;
	transform-origin: left;
	transform: scaleX(0);
	transition: transform .3s ease-in-out;
	pointer-events: none;
}

a:hover::before {
	transform-origin: left;
	transform: scaleX(1);
}

a:hover {
	cursor: pointer;
	color: #E05476; 
}

a:active {
	color: #FEFEFE;
}

a.mainmenu {
	font-family: 'Orbitron';
/*	position: relative;
	text-decoration: none; */
	font-weight: 700;
	color: #D2D1E7;
}

a.mainmenu::before {
	height: 2px;
	border-radius: 1px;
}

a.mainmenu:hover::before {
	transform-origin: left;
	transform: scaleX(1);
}

a.mainmenu:hover {
	color: #E05476; 
}

a.mainmenu:active {
	color: #FEFEFE;
}

a.external::before {
	background-color: rgb(0, 200, 0);
}

a.external:hover::before {
	transform-origin: left;
	transform: scaleX(1);
}

a.external:visited {
	color: #D2D1E7; 
}

a.external:hover {
	color: #5AAF5A; 
}

a.external:active {
	color: #FEFEFE;
}

a.external::after {
	content: "\279A";
	font-size: 0.75em;
	vertical-align: text-top;
	margin-left: 0.2em;
	color: #FEFEFE;
	text-decoration: none;
	display: inline-block;
	pointer-events: none;
} 

a.secret, a.secret:hover, a.secret:active {
	color: #FFFFFF;
}

/* ####################### DEFINE HEADLINES & NOTIONS ######################## */

h1, h2, h3 {
	font-family: 'Orbitron', sans-serif; 
	font-weight: 700;
	color: #FFFFFF;
}

h2, h3 {
	margin: 0;
	overflow-wrap: break-word;
}

h1 {
	font-size: 2.6rem;
	margin: 0.813rem 0 0.5rem;
	text-align: right;
	animation: neonFlickerSoft 2.5s infinite;
}

@keyframes neonFlickerSoft {
	0%, 19%, 21%, 23%, 55%, 57%, 100% {
		text-shadow:
		0 0 4px #fff,
		0 0 8px #fff,
		0 0 16px rgb(255, 0, 103),
		0 0 32px rgb(255, 0, 103),
		0 0 64px rgb(255, 0, 103);
	}

	20%, 22%, 56% {
		text-shadow:
		0 0 2px #fff,
		0 0 4px rgb(255, 0, 103);
	}
} 

h2 {
	font-size: 1.3125rem;
	text-shadow: 0 0 0.75rem rgb(255, 0, 103);
}

h3 {
	font-size: 1.125rem;
	text-shadow: 0 0 0.625rem rgb(255, 0, 103);
}

sup {
	font-size: 0.5em;
}

.neondefect {
	animation: rareFlicker 4s infinite;
}

@keyframes rareFlicker {
/* Meistens AUS */
	0%, 85%, 100% {
		text-shadow: none;
		opacity: 0.2;
	}

/* Kurze, seltene ON-Momente */
	86%, 88%, 90% {
		text-shadow:
		0 0 4px #fff,
		0 0 8px #fff,
		0 0 16px rgb(255, 0, 103),
		0 0 32px rgb(255, 0, 103),
		0 0 64px rgb(255, 0, 103);
		opacity: 1;
	}

/* Mini-Flackern beim Einschalten */
	87%, 89% {
		text-shadow: none;
		opacity: 0.3;
	}
}

/* ##################### BUTTONLINKVISUALIZER ###################### */

.arrow-orbitron {
	margin: 0;
	font-family: 'Orbitron', sans-serif;
	font-weight: 700;
	font-size: 5rem;
	line-height: 0.6;
}

/* ##################### DEFINE HTML AUDIO ###################### */

audio {
	width: 100%;
}

/* ################# DEFINE GALLERYCONTAINERS #################### */

.hasbottomgallery {
	display: grid;
	grid-template-rows: auto 1fr auto;
}

.hasbottomgallery .gallery {
	align-self: end;
}

.gallery {
	--cols: 4;
	display: grid;
	gap: 0.625rem;
	grid-template-columns: repeat(var(--cols), 1fr);
}

.gallery img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 0.313rem;
}

.gallery--small {
	--cols: 1;
}

.gallery--medium {
	--cols: 4;
}

.gallery--big {
 	--cols: 8;
}

.gallery--smallwithspace {
	--cols: 1;
	padding-right: 1rem;
}

img.previewbig:hover, img.previewsmall:hover {
	box-shadow: 0 0 0.938rem rgb(186, 0, 133); 
}

img.worklinks {
	float: right;
	margin:0 0.313rem;
	width: 4rem;
	height: 4rem;
}

/* ####################### DEFINE MAIN PAGE CONTAINERS ######################## */

.pagewrapper {
	max-width: 1000px;
  	margin: 0 auto;
}

#hsHeader {
	position: sticky;
	z-index: 15;
	top: 0;
    display: flow-root;
}

#hsHauptinhalt {
	z-index: 6;
	position: relative;
	border-radius: 0;
	text-align: center;
	margin-top: 0.5rem;
}

#hsMark {
	z-index: 5;
	padding: 0;
	vertical-align: top;
	margin: -0.625rem auto 0;
	text-align: center;
	font-family: 'Orbitron';
	font-size: 9.0625rem;
	font-weight: 700;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.1);
	line-height: 1.0;
	position: relative;
	left: -0.438rem;
}

.hsMarkgrid {
	display: grid; 
	grid-template-columns: 4fr 6fr;
	column-gap: 0px;
}

#photomark {
	font-family: 'Encode Sans Condensed'; 
	font-weight: 400;
	padding: 0;
	vertical-align: top;
	margin: -0.375rem 0 0 0.313rem;
	text-align: left;
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.2);
	line-height: 1.0;
}

#timestamp {
	font-family: 'Encode Sans Condensed'; 
	font-weight: 400;
	padding: 0;
	vertical-align: top;
  	margin: -0.375rem -0.313rem 0 0;
	text-align: right;
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.2);
	line-height: 1.0;
}

#effectsOverlay,
#legallinks {
	will-change: transform;
	transform: translateZ(0);
}

#legallinks {
	position: fixed;
	bottom: 0.05rem; 
	padding-bottom: env(safe-area-inset-bottom);
	left: 50%;
	transform: translateX(-50%);
	z-index: 12;
	font-size: 0.875rem;
	line-height: 1.75;
	text-align: center;
	padding: 1rem 5rem;
	text-shadow: var(--outline-shadow);
	background: radial-gradient(ellipse closest-side at center, rgba(25, 23, 52, 1), rgba(25, 23, 52, 1) 40%, rgba(25, 23, 52, 0.0));
}

/* Vignette und Co */
 #effectsOverlay {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 10;
	background: linear-gradient(rgb(25, 23, 52) 20%, rgba(25, 23, 52, 0.5) 70%, rgba(25, 23, 52, 0));
	background-size: 100% 8.75rem;
	background-position: top;
	background-repeat: no-repeat;
} 

#warnhinweis {
	font-family: 'Orbitron';
	position:fixed;
	z-index: 50;
	background: linear-gradient(to right, rgba(150, 0, 0, 0.0), rgba(150, 0, 0, 1.0), rgba(150, 0, 0, 0.0));
	height:1.125rem; 
	width: 100%;    
	left: 0; top: 0;
	font-size: 0.75rem; 
	font-weight: 700;  
	color: #FFFFFF;
	text-align: center;
	margin: 0 auto;
}

/* ####################### DEFINE INSERTIONPAGE CONTAINERS ######################## */

.inhalt, .inhalt2 {
	border-radius: 0.625rem; 
	padding: 0.875rem;
	vertical-align: top;
	text-align: left;
	box-sizing: border-box;
	overflow-wrap: anywhere;
	min-width: 0;
}

.inhalt {
	border: 2px solid rgba(255, 255, 255, 0.08); 
}

.inhalt form {
	font-size: 16px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

.inhalt form a {
	display: inline-block;
	font-size: 18px;
}

.inhalt input[type="text"],
.inhalt input[type="email"],
.inhalt textarea {
	width: 100%;
	padding: 5px 5px; 
	border-radius: 0.625rem;
	background-color: rgba(0, 0, 0, 0.35);
	border: 0;
	font-size: inherit; /* wichtig */
	color: #FFFFFF;
	box-sizing: border-box;
}

.inhalt input::placeholder,
.inhalt textarea::placeholder {
	color: rgba(255, 255, 255, 0.7);
}

.inhalt input:focus,
.inhalt textarea:focus {
	outline: none; 
	box-shadow: 0 0 0 2px rgba(224, 84, 118, 0.8);
}

.inhalt textarea {
	height: 200px;
	resize: vertical;
}

.inhalt2 {
	background-color: rgba(255, 255, 255, 0.08); 
}

.inhalt2fortabs { 
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.singlecolumngrid {
	display: grid;
	gap: 0.625rem;
}

.twocolumngrid, 
.twocolumngridtab,
.twocolumngridtwentyeighty,
.twocolumngridsixtyfourty,
.twocolumngridseventythirty,
.fourcolumngrid,
.fourcolumngridtab {
	display: grid;
	gap: 0.625rem;
}

.twocolumngrid, .twocolumngridtab {
	grid-template-columns: 1fr 1fr;
}

.twocolumngridtwentyeighty {
	grid-template-columns: 1fr 4fr;
}

.twocolumngridthirtyseventy {
	display: grid;
	grid-template-columns: 3fr 7fr;
	gap: 0;
}

.twocolumngridsixtyfourty {
	grid-template-columns: 6fr 4fr;
}
	
.twocolumngridseventythirty {
	grid-template-columns: 7fr 3fr;
}

.twocolumngridninetyten {
	display: grid;
	grid-template-columns: 11fr 1fr;
	gap: 0;
}

.fourcolumngrid, .fourcolumngridtab {
	grid-template-columns: 1fr 1fr 1fr 1fr;
}

.fullverttworow {
	grid-row: span 2;
}

.fullvertthreerow {
	grid-row: span 3;
}

.full {
	grid-column: 1 / -1;
}

/* ################# CONTAINER TOGGLE UND TABS ################## */
.tabs-wrapper { 
	position: relative; 
} 

.tab-scroll-hint { 
	position: absolute; 
	right: 0.1rem; 
	z-index: 10; 
	font-size:2rem; 
	color: rgb(255, 255, 255); 
	text-shadow: var(--outline-shadow);
	top: -1.5rem;
	transform: none;
	pointer-events: none; 
	transition: opacity 0.2s ease; 
}

.tabs {
	position: relative;
	margin-bottom: 0;
	gap: 0;
	display: grid;
	overflow-x: visible; 
	scroll-snap-type: none;
}

.tab {
	white-space: normal;
	scroll-snap-align: none;
	user-select: none; 
	cursor: pointer;
	padding: 0.5rem 1rem;
	border-radius: 0.625rem 0.625rem 0 0;
	border: 2px solid rgba(255, 255, 255, 0.175);
	border-bottom: none;
	text-align: left;
	background-color: rgba(0, 0, 0, 0.15);
	opacity: 0.6;
	transition: opacity 0.2s ease;
}

.tab:hover {
	opacity: 1;
}

.tab-content {
	display: none;
}

.tab-content.active {
	display: grid;
}

.tab.active {
	border: 0;
	background-color: rgba(255, 255, 255, 0.08);
	opacity: 1;
	position: relative;
	z-index: 2;
}

/* ################## DISPLAY MENU AND THINGS ################# */

#menu, .menu2, .worksintro{
	display: block; /* Desktop-Menü sichtbar */
}
#mobile-nav, #hamburger {
	display: none; /* Mobile-Menü ausblenden */
}

/* ####################### DEFINE MENU ######################## */

#menu ul {
	list-style: none;
	padding: 0;
	margin: 0;
	text-align: right;
	line-height: 1.4;
	text-shadow: var(--outline-shadow);
}

#menu li {
	display: inline;
}

#menu li + li {
	margin-left: 20px;
}

.menu1 a {
	font-size: 1.25rem;
	line-height: 1.25;
}

.menu2 a,
.menu3 a {
	font-size: 1rem;
	line-height: 1.75;
}

.menu1 li a:hover {
	text-shadow:
	-1px 0 #ff00cc,
	1px 0 #00eaff;
}

/* #################### DEFINE MOBILE MENU  ###################### */

#hamburger {
	bottom: calc(1rem + env(safe-area-inset-bottom));
	right: calc(1rem + env(safe-area-inset-right));
	font-family: 'Orbitron', sans-serif; 
	font-weight: 700;
	position: fixed;
	z-index: 20;
	font-size: 2.5rem;
	background: rgba(63, 53, 98, 0.75);
	color: #D2D1E7;
	border: none;
	padding: 0rem 1rem 0.5rem 1rem;
	border-radius: 0.625rem;
	cursor: pointer;
}

/* Mobile-Menü Container */
#mobile-nav {
	position: fixed; /* über dem Content */
	z-index: 22;
	bottom: 3.5rem; /* über dem Hamburger-Button */
	right: 3rem;
	width: 250px;
	background-color: rgba(63, 53, 98, 0.6); 
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	font-family: 'Orbitron', sans-serif; 
	font-weight: 700;
	font-size: 1.25rem;
	color: #FFFFFF;
	text-shadow:
	-1px -1px 0 rgb(33, 23, 68),
	1px -1px 0 rgb(33, 23, 68),
	-1px 1px 0 rgb(33, 23, 68),
	1px 1px 0 rgb(33, 23, 68);
	display: none; /* standardmäßig zugeklappt */
	border-radius: 0.625rem;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* Listen und Untermenüs */
.mobile-menu1, .mobile-submenu, .mobile-subsubmenu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mobile-submenu li { 
	background-color: rgba(0,0,0,0.2); 
}

.mobile-subsubmenu li { 
	background-color: rgba(0,0,0,0.15);
} 

.mobile-menu1 a, .mobile-submenu a, .mobile-subsubmenu a {
	display: block;
	padding: 0.675rem 1rem; 
	color: #D2D1E7;
	text-decoration: none;
}

.mobile-submenu, .mobile-subsubmenu {
	display: none;
}

/* ################## DEFINE STUFF FOR SECRET PAGES #################### */

iframe {
	border: 0;
}

/* ################### DEFINE EVENT DAY CHANGES ##################### */

body.alienday {
	--bg-gradient: radial-gradient( ellipse at 80%, rgba(0, 50, 0, 0.8) 0%, rgba(10, 10, 15, 1.0) 60%, rgba(0, 0, 0, 1.0) 90%);
}

body.judgementday{
	--bg-gradient: radial-gradient(ellipse at 80%, rgba(100, 0, 0, 0.8) 0%, rgba(30, 0, 0, 1.0) 60%, rgba(10, 0, 0, 1.0) 90%);
}

body.halloween{
	--bg-gradient: radial-gradient(ellipse at 80%, rgba(100, 50, 0, 0.8) 0%, rgba(33, 23, 68, 1.0) 60%, rgba(25, 23, 52, 1.0) 90%);
}

body.threeothreeday{
	--bg-gradient: radial-gradient(ellipse at 80%, rgba(62, 27, 63, 0.8) 0%, rgba(33, 23, 68, 1.0) 60%, rgba(25, 23, 52, 1.0) 90%); 
}

body.autismday {
	--bg-gradient: radial-gradient(ellipse at 80%, rgba(0, 56, 133, 0.8) 0%, rgba(0, 41, 103, 1.0) 60%, rgba(0, 20, 69, 1.0) 90%);
}

body.autismday h1 { animation: none; text-shadow: 0 0 1.5625rem rgb(200, 200, 255); }
body.autismday h2 { text-shadow: 0 0 0.75rem rgb(200, 200, 255); }
body.autismday h3 { text-shadow: 0 0 0.625rem rgb(200, 200, 255); }
body.autismday .neondefect { animation: none; }

body.alienday h1 { animation: none; text-shadow: 0 0 1.5625rem rgb(0, 200, 0); }
body.alienday h2 { text-shadow: 0 0 0.75rem rgb(0, 200, 0); }
body.alienday h3 { text-shadow: 0 0 0.625rem rgb(0, 200, 0); }
body.alienday .neondefect { animation: none; }

body.judgementday h1 { animation: none; text-shadow: 0 0 1.5625rem rgb(255, 0, 0); }
body.judgementday h2 { text-shadow: 0 0 0.75rem rgb(255, 0, 0); }
body.judgementday h3 { text-shadow: 0 0 0.625rem rgb(255, 0, 0); }
body.judgementday .neondefect { animation: none; }

body.halloween h1 { animation: none; text-shadow: 0 0 1.5625rem rgb(255, 150, 0); }
body.halloween h2 { text-shadow: 0 0 0.75rem rgb(255, 150, 0); }
body.halloween h3 { text-shadow: 0 0 0.625rem rgb(255, 150, 0); }
body.halloween .neondefect { animation: none; }

body.threeothreeday h1 { animation: none; text-shadow: 0 0 1.5625rem rgb(255, 150, 0); }

body.threeothreeday .neondefect { animation: none !important; }

body.threeothreeday h1,
body.threeothreeday h2,
body.threeothreeday h3 {
	animation: rainbowShadow 1s linear infinite;
}

body.threeothreeday h1 { text-shadow: 0 0 1.5625rem red; }
body.threeothreeday h2 { text-shadow: 0 0 0.75rem red; }
body.threeothreeday h3 { text-shadow: 0 0 0.625rem red; }

@keyframes rainbowShadow {
	0%, 100% { text-shadow: 0 0 1.5625rem red; }
	14% { text-shadow: 0 0 1.5625rem orange; }
	28% { text-shadow: 0 0 1.5625rem yellow; }
	42% { text-shadow: 0 0 1.5625rem green; }
	57% { text-shadow: 0 0 1.5625rem blue; }
	71% { text-shadow: 0 0 1.5625rem indigo; }
	85% { text-shadow: 0 0 1.5625rem violet; }
}

/* ##################### SCREEN SIZE CHANGES ######################## */
/* ####################### Min WIDTH 1500 ######################## */

@media only screen and (min-width:1500px) {
	html {
		font-size: 19.2px;
	}
	#realBody {
		font-size: 20px;
	}
	.pagewrapper {
		max-width: 1200px;
	}
	#legallinks {
		font-size: 16px;
	}
}

/* ####################### Min WIDTH 1900 ######################## */

@media only screen and (min-width:2200px) {
	html {
		font-size: 25.6px;
	}
	#realBody {
		font-size: 22px;
	}
	.pagewrapper {
		max-width: 1600px;
	}
	#legallinks {
		font-size: 16px;
	}
}

/* ######################## MAX WIDTH 1024 ########################## */

@media only screen and (max-width:1024px) {
	.pagewrapper {
		max-width: 800px;
	}	
}

/* ######################## MAX WIDTH 956 ########################## */

@media only screen and (max-width:956px) {
	.pagewrapper {
		max-width: 800px;
		width: 90%;
	}
	h1 {
		font-size: 1.875rem; 
	}
	.gallery--medium {
		--cols: 2;
	}
	.gallery--big {
		--cols: 4;
	}
  	#legallinks {
		left: 6%;
		transform: translateX(-0%);
		text-align: left;
		padding: 1rem 2rem 1rem 0;
		background: 
			radial-gradient(ellipse farthest-side at left center, rgba(25, 23, 52, 1), rgba(25, 23, 52, 1) 40%, rgba(25, 23, 52, 0.0)),
			radial-gradient(ellipse closest-side at center, rgba(25, 23, 52, 1), rgba(25, 23, 52, 1) 40%, rgba(25, 23, 52, 0.0));
	}
	#effectsOverlay {
		background-size: 100% 6.5rem;
	} 
	.fourcolumngrid {
		grid-template-columns: 1fr 1fr;
	}
	#menu {
		display: block;
	}
	.menu1 a {
		font-size: 1.5rem;
		line-height: 1.25;
	}
	#mobile-nav, #hamburger, .menu2, .worksintro {
		display: none;
	}
}

/* ####################### MAX WIDTH 441 ######################## */

@media only screen and (max-width:576px) {
	.subline {
		font-size: 0.875rem; 
	}
/* #### BODY #### 
	body::before {
		display: none;
	}*/
/* #### HEADLINES #### */
	h1 {
		text-align: center;
		font-size: 1.75rem;
	}
	h2 {
		font-size: 1.125rem;
	}
	h3 {
		font-size: 1.063rem;
	}
/* #### IMG #### */
	.gallery--medium {
		--cols: 2;
	}
	.gallery--big {
	 	--cols: 2;
	}
	.gallery--smallwithspace {
		padding-bottom: 2rem;
	}
/* #### CONTAINERS #### */
	#effectsOverlay {
		background-size: 100% 5rem;
	}
	.pagewrapper {
		width: 90%;
	}
	#hsMark {
		font-size: 3.172rem;
		margin: 0 auto 0;
	}
	#photomark {
		display: none;
	}
	#timestamp {
		margin: 0 0 0 0.313rem;
		text-align: left;
	}
	#legallinks {
		left: 6%;
		transform: translateX(-0%);
		text-align: left;
		padding: 1rem 2rem 1rem 0;
		background: 
			radial-gradient(ellipse farthest-side at left center, rgba(25, 23, 52, 1), rgba(25, 23, 52, 1) 40%, rgba(25, 23, 52, 0.0)),
			radial-gradient(ellipse closest-side at center, rgba(25, 23, 52, 1), rgba(25, 23, 52, 1) 40%, rgba(25, 23, 52, 0.0));
	}
	.hsMarkgrid {
		grid-template-columns: 1fr;
	}
	.homegrid,
	.twocolumngrid,
	.fourcolumngrid,
	.twocolumngridthirtyseventy,
	.twocolumngridsixtyfourty,
	.twocolumngridtwentyeighty {
		grid-template-columns: 1fr;
		gap: 0.313rem;
	}
	.twocolumngridsixtyfourty > div:nth-child(1) {
		order: 1;
	}
	.twocolumngridsixtyfourty > div:nth-child(3) {
		order: 5;
	}
	.twocolumngridsixtyfourty > div:nth-child(4) {
		order: 2;
	}
	.twocolumngridsixtyfourty > div:nth-child(2) {
		order: 4;
	}
	.twocolumngridsixtyfourty > div:nth-child(5) {
		order: 3;
	}
	.twocolumngridsixtyfourty > div:nth-child(6) {
		order: 6;
	}
	.twocolumngridsixtyfourty > div:nth-child(7) {
		order: 7;
	}
	.twocolumngridseventythirty {
		grid-template-columns: 1fr;
	}
/* ### DISPLAY MENU ### */
	#menu { 
		display: none;
	}
	#mobile-nav, #hamburger {
		display: block;
	}
/* #### MENU #### */
	#menu ul {
		text-align: center;
	}
	#menu li + li {
		margin-left: 1rem;
	}
	.menu1 a {
		font-size: 1.375rem;
		line-height: 1.5;
	}
	.menu2 a,
	.menu3 a {
		font-size: 1rem;
		line-height: 2.0;
	}
/* #### SCROLLTABS ### */
	.tabs {
		display: flex; 
		overflow-x: auto; 
		-webkit-overflow-scrolling: touch; 
		scrollbar-width: none; 
		scroll-behavior: smooth; 
		scroll-snap-type: x proximity; 
	} 
	.tab { 
		flex: 0 0 auto;
		white-space: nowrap;
		scroll-snap-align: start;
	} 
	.tabs::-webkit-scrollbar {
		display: none;
	}
}

/* ################ MODERN FEATURES OVERRIDE ################### */

@supports (container-type: inline-size) {
	.pagewrapper { container-type:
		inline-size;
	}
	#hsMark {
		font-size: 14.4cqw;
	}
}