/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	background-color: #000;
	line-height: 1;
}
html {
	background-color: #000;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* END OF RESET CSS */

/* --------------------GLOBALS-------------------- */
.main-nav_list{
	display: grid;
	grid-template-columns: repeat(9, minmax(0, 1fr));
	align-items: flex-end;
	width: 100%;
	height: auto;
	padding: 0 1rem;
	box-sizing: border-box;
}

.main-nav {
	display: flex;
	align-items: center;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: 3;
}

.showtime-nav {
	position: fixed;
}

.main-nav_list-item a {
    color: white;
	font-family: "Open Sans", sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
	line-height: 10px;
    text-decoration: none;
	text-align: center;
}

.main-nav_list-item {
	justify-self: center;
	align-self: end;
}
.main-nav_list-item:nth-child(1) {
	grid-column: 1;
}
.main-nav_list-item:nth-child(2) {
	grid-column: 2;
}
.main-nav_list-item:nth-child(3) {
	grid-column: 3;
}
.main-nav_list-item:nth-child(4) {
	grid-column: 4;
}
.main-nav_list-item:nth-child(5) {
	grid-column: 5;
}
.main-nav_list-item:nth-child(6) {
	grid-column: 6;
}
.main-nav_list-item:nth-child(7) {
	grid-column: 7;
}
.main-nav_list-item:nth-child(8) {
	grid-column: 8;
}
.main-nav_list-item:nth-child(9) {
	grid-column: 9;
}
.main-nav_list-item a:hover {
	color: red;
}
.main-nav_list-item-1:has(> a) a:hover {
	color: red;
}


.openair-stelle {
    grid-column: 3;
    justify-self: center;
    align-self: end;
}
.bad-faith {
    grid-column: 4;
    justify-self: center;
    align-self: end;
}
.mengentext {
    grid-column: 5;
    justify-self: center;
    align-self: end;
}
.industrieviertel {
    grid-column: 6;
    justify-self: center;
    align-self: end;
}
.züri-demo {
    grid-column: 7;
    justify-self: center;
    align-self: end;
}
.ex-libris {
    grid-column: 8;
    justify-self: center;
    align-self: end;
}
.jänu {
    grid-column: 9;
    justify-self: center;
    align-self: end;
}

@media (max-width: 393px) {
	.main-nav_list {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: repeat(9, minmax(0, 1fr));
		align-items: center;
		height: 100vh;
	}

	.main-nav_list-item,
	.main-nav_list-item:nth-child(n) {
		grid-column: 1;
		justify-self: center;
		align-self: center;
	}

	.main-nav_list-item:nth-child(1) { grid-row: 1; }
	.main-nav_list-item:nth-child(2) { grid-row: 2; }
	.main-nav_list-item:nth-child(3) { grid-row: 3; }
	.main-nav_list-item:nth-child(4) { grid-row: 4; }
	.main-nav_list-item:nth-child(5) { grid-row: 5; }
	.main-nav_list-item:nth-child(6) { grid-row: 6; }
	.main-nav_list-item:nth-child(7) { grid-row: 7; }
	.main-nav_list-item:nth-child(8) { grid-row: 8; }
	.main-nav_list-item:nth-child(9) { grid-row: 9; }
}

/* --------------------HOMEPAGE-------------------- */
#main-homepage {
	position: relative;
	overflow: hidden;
	height: 100vh;
    width: 100%;
	background-image: url(../assets/media/dokumentation.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
    
}

.element-7-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}

@media (max-width: 393px) {
	.element-7-image {
		inset: auto;
		top: 50%;
		left: 50%;
		width: 100vh;
		height: 100vw;
		transform: translate(-50%, -50%) rotate(90deg);
	}
}

.main-nav_list li {
    color: white;
	font-family: "Open Sans", sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: 10px;
}


/* --------------------SHOWTIME--------------------*/

.project-list{
    color: red;
	font-family: "Open Sans", sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: 10px;
}
.showtime-title {
	grid-column: 2;
    justify-self: center;
    align-self: end;
}
.showtime-year {
	grid-column: 8;
    justify-self: right;
    align-self: end;
}
.showtime-category {
	grid-column: 9;
    justify-self: right;
    align-self: end;
}
.showtime-text {
	position: absolute;
	grid-column: 1;
	grid-row: 1;
	left: 1rem;
	width: calc((100% - 2rem) / 9);
	box-sizing: border-box;
    justify-self: left;
    align-self: end;
}
.number-list {
	position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	z-index: 3;
	appearance: none;
    border: 0;
    padding: 0;
	background: transparent;
	color: red;
	opacity: 70%;
	font-family: "Open Sans Extrabold", "Open Sans", sans-serif;
    font-size: 600px;
    font-weight: 700;
	line-height: 0.8;
    cursor: pointer;
}
.number-list:hover,
.number-list:focus-visible {
	color: red;
    opacity: 100%;
}
body.number-hidden .number-list {
	visibility: hidden;
	pointer-events: none;
}
.project-overlay {
	position: fixed;
	inset: 0;
	display: grid;
	align-items: center;
	z-index: 2;
	background: rgb(255 255 255 / 70%);
	opacity: 0;
	visibility: hidden;
	transition: opacity 150ms ease;
	pointer-events: none;
}


.project-overlay_list {
	display: grid;
	grid-template-columns: repeat(9, minmax(0, 1fr));
	align-items: end;
	align-self: center;
	width: 100%;
	padding: 0 1rem;
	box-sizing: border-box;
}

body:has(.number-list:hover, .number-list:focus-visible) .project-overlay {
	opacity: 1;
	visibility: visible;
}
.showtime-gallery {
	padding-top: 0;
}
.showtime-frame {
	margin: 0;
}
.showtime-frame img {
	display: block;
	width: 100%;
	height: auto;
}
main[class$="-gallery"] > figure picture {
	display: block;
	width: 100%;
}
.showtime-logo-frame {
	width: 100%;
	margin: auto;
}
.project-overlay-symbols {
	position: fixed;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	z-index: 4;
	display: grid;
	grid-template-columns: repeat(3, 1.5rem);
	justify-content: center;
	column-gap: 0.25rem;
	justify-items: center;
	align-items: end;
	width: max-content;
	margin: 0;
	padding: 0 1rem 1rem;
	box-sizing: border-box;
	color: red;
    opacity: 70%;
	font-family: "Open Sans Extrabold", "Open Sans", sans-serif;
	font-size: 20px;
	line-height: 10px;
}
body:has(.number-list:hover, .number-list:focus-visible) .project-overlay-symbols {
	color: red;
    opacity: 100%;
}
.project-header {
    position: fixed;
	z-index: 5;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
    color: red;
    opacity: 70%;
	font-family: "Open Sans", sans-serif;
    font-size: 10px;
    line-height: 10px;
    text-align: center;
    color: red;
    opacity: 70%;
	font-family: "Open Sans", sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: 10px;
}
body:has(.number-list:hover, .number-list:focus-visible) .project-header {
	color: red;
    opacity: 100%;
}
.project-contact-details {
	visibility: hidden;
	opacity: 0;
	transition: opacity 150ms ease;
}
body:has(.number-list:hover, .number-list:focus-visible) .project-contact-details {
	visibility: visible;
	opacity: 1;
	color: red;
}
.project-overlay-symbols a {
	color: inherit;
	font: inherit;
	text-decoration: none;
}
.project-overlay-symbols button {
	border: 0;
	padding: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
}
.project-overlay-symbols .close-button {
	font-family: "Open Sans", sans-serif;
	font-weight: 400;
}

/* --------------------ANNA BLUME-------------------- */
.anna-blume-gallery {
	padding-top: 0;
}
.anna-blume-frame {
	margin: 0;
}
.anna-blume-frame img {
	display: block;
	width: 100%;
	height: auto;
}
.anna-blume-logo-frame {
	width: 100%;
	margin: auto;
}
 
.anna-blume-title {
	grid-column: 2;
    justify-self: center;
    align-self: end;
}
.anna-blume-year {
	grid-column: 8;
    justify-self: right;
    align-self: end;
}
.anna-blume-category {
	grid-column: 9;
    justify-self: right;
    align-self: end;
}
.anna-blume-text {
	position: absolute;
	grid-column: 1;
	grid-row: 1;
	left: 1rem;
	width: calc((100% - 2rem) / 9);
	box-sizing: border-box;
    justify-self: left;
    align-self: end;
}
/* --------------------OPENAIR-STELLE-------------------- */
.openair-stelle-gallery {
	padding-top: 0;
}
.openair-stelle-frame {
	margin: 0;
}
.openair-stelle-frame img {
	display: block;
	width: 100%;
	height: auto;
}
.openair-stelle-logo-frame {
	width: 100%;
	margin: auto;
}
 
.openair-stelle-title {
	grid-column: 2;
    justify-self: center;
    align-self: end;
}
.openair-stelle-year {
	grid-column: 8;
    justify-self: right;
    align-self: end;
}
.openair-stelle-category {
	grid-column: 9;
    justify-self: right;
    align-self: end;
}
.openair-stelle-text {
	position: absolute;
	grid-column: 1;
	grid-row: 1;
	left: 1rem;
	width: calc((100% - 2rem) / 9);
	box-sizing: border-box;
    justify-self: left;
    align-self: end;
}
/* --------------------BAD FAITH-------------------- */
.bad-faith-gallery {
	padding-top: 0;
}
.bad-faith-frame {
	margin: 0;
}
.bad-faith-frame img {
	display: block;
	width: 100%;
	height: auto;
}
.bad-faith-logo-frame {
	width: 100%;
	margin: auto;
}
 
.bad-faith-title {
	grid-column: 2;
    justify-self: center;
    align-self: end;
}
.bad-faith-year {
	grid-column: 8;
    justify-self: right;
    align-self: end;
}
.bad-faith-category {
	grid-column: 9;
    justify-self: right;
    align-self: end;
}
.bad-faith-text {
	position: absolute;
	grid-column: 1;
	grid-row: 1;
	left: 1rem;
	width: calc((100% - 2rem) / 9);
	box-sizing: border-box;
    justify-self: left;
    align-self: end;
}
/* --------------------MENGENTEXT-------------------- */
.mengentext-gallery {
	padding-top: 0;
}
.mengentext-frame {
	margin: 0;
}
.mengentext-frame img {
	display: block;
	width: 100%;
	height: auto;
}
.mengentext-logo-frame {
	width: 100%;
	margin: auto;
}
 
.mengentext-title {
	grid-column: 2;
    justify-self: center;
    align-self: end;
}
.mengentext-year {
	grid-column: 8;
    justify-self: right;
    align-self: end;
}
.mengentext-category {
	grid-column: 9;
    justify-self: right;
    align-self: end;
}
.mengentext-text {
	position: absolute;
	grid-column: 1;
	grid-row: 1;
	left: 1rem;
	width: calc((100% - 2rem) / 9);
	box-sizing: border-box;
    justify-self: left;
    align-self: end;
}
/* --------------------INDUSTRIEVIERTEL-------------------- */
.industrieviertel-gallery {
	padding-top: 0;
}
.industrieviertel-frame {
	margin: 0;
}
.industrieviertel-frame img {
	display: block;
	width: 100%;
	height: auto;
}
.industrieviertel-logo-frame {
	width: 100%;
	margin: auto;
}
 
.industrieviertel-title {
	grid-column: 2;
    justify-self: center;
    align-self: end;
}
.industrieviertel-year {
	grid-column: 8;
    justify-self: right;
    align-self: end;
}
.industrieviertel-category {
	grid-column: 9;
    justify-self: right;
    align-self: end;
}
.industrieviertel-text {
	position: absolute;
	grid-column: 1;
	grid-row: 1;
	left: 1rem;
	width: calc((100% - 2rem) / 9);
	box-sizing: border-box;
    justify-self: left;
    align-self: end;
}
/* --------------------ZÜRI DEMO-------------------- */
.züri-demo-gallery {
	padding-top: 0;
}
.züri-demo-frame {
	margin: 0;
}
.züri-demo-frame img {
	display: block;
	width: 100%;
	height: auto;
}
.züri-demo-logo-frame {
	width: 100%;
	margin: auto;
}
 
.züri-demo-title {
	grid-column: 2;
    justify-self: center;
    align-self: end;
}
.züri-demo-year {
	grid-column: 8;
    justify-self: right;
    align-self: end;
}
.züri-demo-category {
	grid-column: 9;
    justify-self: right;
    align-self: end;
}
.züri-demo-text {
	position: absolute;
	grid-column: 1;
	grid-row: 1;
	left: 1rem;
	width: calc((100% - 2rem) / 9);
	box-sizing: border-box;
    justify-self: left;
    align-self: end;
}
/* --------------------EX LIBRIS-------------------- */
.ex-libris-gallery {
	padding-top: 0;
}
.ex-libris-frame {
	margin: 0;
}
.ex-libris-frame img {
	display: block;
	width: 100%;
	height: auto;
}
.ex-libris-logo-frame {
	width: 100%;
	margin: auto;
}
 
.ex-libris-title {
	grid-column: 2;
    justify-self: center;
    align-self: end;
}
.ex-libris-year {
	grid-column: 8;
    justify-self: right;
    align-self: end;
}
.ex-libris-category {
	grid-column: 9;
    justify-self: right;
    align-self: end;
}
.ex-libris-text {
	position: absolute;
	grid-column: 1;
	grid-row: 1;
	left: 1rem;
	width: calc((100% - 2rem) / 9);
	box-sizing: border-box;
    justify-self: left;
    align-self: end;
}
/* --------------------JÄNU-------------------- */
.jänu-gallery {
	padding-top: 0;
}
.jänu-frame {
	margin: 0;
}
.jänu-frame img {
	display: block;
	width: 100%;
	height: auto;
}
.jänu-logo-frame {
	width: 100%;
	margin: auto;
}
 
.jänu-title {
	grid-column: 2;
    justify-self: center;
    align-self: end;
}
.jänu-year {
	grid-column: 8;
    justify-self: right;
    align-self: end;
}
.jänu-category {
	grid-column: 9;
    justify-self: right;
    align-self: end;
}
.jänu-text {
	position: absolute;
	grid-column: 1;
	grid-row: 1;
	left: 1rem;
	width: calc((100% - 2rem) / 9);
	box-sizing: border-box;
    justify-self: left;
    align-self: end;
}

@media (max-width: 393px) {
	.project-overlay-symbols {
		grid-template-columns: repeat(2, auto);
		column-gap: 1.5rem;
	}

	.project-overlay-symbols li:has(.scroll-button) {
		display: none;
	}

	.project-overlay-symbols .home-button a {
		font-size: 30px;
		line-height: 30px;
	}

	.project-overlay-symbols .close-button {
		font-size: 25px;
		line-height: 25px;
	}

	.number-list {
		font-size: 300px;
	}

	body:not(.mobile-project-overlay-open) .number-list {
		opacity: 70%;
	}

	body:not(.mobile-project-overlay-open) .project-header,
	body:not(.mobile-project-overlay-open) .project-overlay-symbols {
		opacity: 70% !important;
	}

	body:has(.number-list:hover, .number-list:focus-visible) .project-overlay {
		opacity: 0;
		visibility: hidden;
	}

	body.mobile-project-overlay-open:has(.number-list) .project-overlay {
		opacity: 1;
		visibility: visible;
	}

	.project-header {
		font-size: 8px;
		line-height: 8px;
	}

	.project-header > br,
	.project-contact-details {
		display: none;
	}

	.project-header {
		cursor: pointer;
	}

	body.contact-details-open .project-header > br {
		display: initial;
	}

	body.contact-details-open .project-contact-details {
		display: inline;
		visibility: visible;
		opacity: 1;
	}

	.project-overlay_list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		grid-template-rows: repeat(9, minmax(0, 1fr));
		height: 100vh;
		height: 100svh;
		align-items: center;
		align-self: stretch;
	}

	.project-overlay_list > .project-list {
		position: static;
		grid-column: 1;
		grid-row: auto;
		left: auto;
		width: auto;
		justify-self: left;
		align-self: center;
		font-size: 8px;
        line-height: 8px;
	}

	.project-overlay_list > .project-list[class$="-title"] {
		grid-row: 2;
		grid-column: 2;
		justify-self: center;
		text-align: left;
	}

	.project-overlay_list > .project-list[class$="-text"] {
		grid-row: 3;
		grid-column: 2;
		justify-self: left;
		width: 100%;
		text-align: left;
	}

	.project-overlay_list > .project-list[class$="-year"] {
		grid-row: 7;
		grid-column: 2;
		justify-self: center;
		text-align: left;
	}

	.project-overlay_list > .project-list[class$="-category"] {
		grid-row: 8;
		grid-column: 2;
		justify-self: center;
		text-align: left;
	}

	.showtime-frame,
	.anna-blume-frame,
	.openair-stelle-frame,
	.bad-faith-frame,
	.mengentext-frame,
	.industrieviertel-frame,
	.züri-demo-frame,
	.ex-libris-frame,
	.jänu-frame {
		display: flex;
		width: 100%;
		height: 100vh;
		height: 100svh;
		margin: 0;
		overflow: hidden;
		align-items: center;
		justify-content: center;
	}

	.showtime-frame img,
	.anna-blume-frame img,
	.openair-stelle-frame img,
	.bad-faith-frame img,
	.mengentext-frame img,
	.industrieviertel-frame img,
	.züri-demo-frame img,
	.ex-libris-frame img,
	.jänu-frame img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	main[class$="-gallery"] > figure picture {
		height: 100%;
	}
}