@font-face  {
	font-family: "SF-Pro-Text-Light";
	src: url("https://minzinger.ndu.schulwebspace.at/webfonts/SFProText-Light.woff");
}

@font-face  {
	font-family: "SF-Pro-Text-Regular";
	src: url("https://minzinger.ndu.schulwebspace.at/webfonts/SFProText-Regular.woff");
}

@font-face  {
	font-family: "SF-Pro-Text-Medium";
	src: url("https://minzinger.ndu.schulwebspace.at/webfonts/SFProText-Medium.woff");
}

@font-face  {
	font-family: "SF-Pro-Text-Semibold";
	src: url("https://minzinger.ndu.schulwebspace.at/webfonts/SFProText-Semibold.woff");
}

:root {
    --red: rgb(255, 59, 48);
    --yellow: rgb(255, 204, 0);
    --grey: rgb(142, 142, 147);
    --blue: rgb(0, 122, 255);
    --opaque-05: rgba(0, 0, 0, 0.1);
    --opaque-4: rgba(255, 255, 255, 0.4);
    --opaque: rgba(255, 255, 255, 0.6);
    --text: rgb(0, 0, 0);
    --background: rgb(255, 255, 255);
    --placeholder: rgb(0, 0, 0);
    --background-gradient-1: rgb(239, 239, 239);
    --background-gradient-2: rgb(222, 222, 222);
}

* {
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

::selection {
    background: transparent;
}

::placeholder {
    color: var(--placeholder);
    opacity: 1;
}

html, body {
	margin: 0;
	padding: 0;
	background-image: url("https://minzinger.ndu.schulwebspace.at/images/macos-big-sur.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	width: 100vw;
	height: 100vh;
}

.no-js #loader {
	display: none;
}

.js #loader {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
}

.preloader {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: url(https://minzinger.ndu.schulwebspace.at/images/logo.png) center 40% no-repeat #000000;
	background-size: 15%;
}

.loading-bar {
    width: 25%;
	border-radius: 50px;
	position: absolute;
    left: 50%;
    top: 60%;
    -webkit-transform: translate(-50%, -60%);
    transform: translate(-50%, -60%);
	overflow: hidden;
}

.static {
	height: 4px;
	background: white;
	opacity: .25;
}

.loading {
	background: white;
}

.pace {
  -webkit-pointer-events: none;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.pace-inactive {
  display: none;
}

.pace .pace-progress {
  background: white;
  position: fixed;
  z-index: 20000;
  top: 0;
  right: 100%;
  width: 100%;
  height: 4px;
}

.menubar {
    margin: 0;
    background-color: var(--opaque-4);
    -webkit-backdrop-filter: blur(50px);
}

.menubar ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    padding: 5px 0 5px 20px;
}

.menubar li {
    display: inline-block;
    padding-left: 20px;
}

.menubar li:first-child {
    background-image: url("images/logo_dark.png");
    width: 25px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.menubar a {
    color: var(--text);
    font-family: "SF-Pro-Text-Regular";
    font-size: 16px;
    text-decoration: none;
}

.contact {
	width: 15%;
	height: 7.5%;
	position: absolute;
	top: 4%;
	right: 2.5%;
	background-color: var(--opaque-4);
	-webkit-backdrop-filter: blur(50px);
	border-radius: 15px;
	overflow: hidden;
	display: flex;
	align-items: center;
}

.contact img {
	position: relative;
	left: 1%;
	display: inline-block;
	float: left;
	width: 20%;
	height: 100%;
	object-fit: contain;
	margin: 0;
	padding: 0;
}

.contact .text {
	display: inline-block;
	width: 80%;
	padding-left: 4%;
	padding-right: 2%;
}

a .contact .text {
	color: var(--text);
	text-decoration: none;
}

.contact .text h1 {
	margin: 0;
	font-family: "SF-Pro-Text-Regular";
	font-size: 13px;
	letter-spacing: -0.75px;
	-webkit-text-stroke: var(--text) 0.2px;
}

.contact .text p {
	margin: 0;
	font-family: "SF-Pro-Text-Regular";
	font-size: 13px;
	padding-top: 1px;
	line-height: 1.1em;
}

.folder {
    position: absolute;
    top: 10vh;
    left: 10vw;
    font-family: "SF-Pro-Text-Semibold";
    text-align: center;
    color: #ffffff;
    text-shadow: 1px 1px 2px var(--text);
}

.folder img {
    height: 5vw;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.mode {
    font-family: "SF-Pro-Text-Semibold";
    position: absolute;
    top: 7.5vh;
    left: 55vw;
    color: #ffffff;
    text-shadow: 1px 1px 2px var(--text);
}

.rounded {
	width: 50%;
	background-color: var(--opaque-4);
	border-radius: 20px;
	-webkit-backdrop-filter: blur(50px);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 20px 20px 5px 20px;
	text-align: center;
	z-index: 1;
}

.rounded ul li {
	display: inline;
}

.rounded ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.rounded li {
	margin: 0;
	padding: 0;
	text-align: center;
}

li:hover img {
	background-color: var(--rounded-hover);
	border-radius: 15px;
	transition: ease-in-out .15s;
}

.rounded div {
	margin: 0;
	padding: 0;
	float: left;
	width: 20%;
}

.rounded img {
	width: 100%;
	padding: 0;
	margin: 0;
}

.rounded a {
	text-decoration: none;
	color: transparent;
}

.rounded li:hover a {
	color: var(--text);
	transition: ease-in-out .15s;
}

.rounded p {
	margin: 0;
	padding: 5px 0 0 0;
	font-family: "SF-Pro-Text-Light";
	opacity: .6;
}

.about {
	width: 20%;
	height: 40%;
	background-color: var(--background);
	position: absolute;
	left: 50%;
    top: 60%;
    -webkit-transform: translate(-50%, -60%);
    transform: translate(-50%, -60%);
	border-radius: 10px;
	overflow-y: scroll;
	box-shadow: 0 0 20px 0 rgba(0,0,0,0.25);
}

.header {
	position: sticky;
    top: 0;
	width: 100%;
	background: linear-gradient(180deg, var(--background-gradient-1) 0%, var(--background-gradient-2) 100%);*/
	border-radius: 10px 10px 0 0;
	height: 25px;
	z-index: 100000;
    height: auto;
}

.about-me {
	position: absolute;
	display: inline;
	width: 100%;
	margin-top: 5px;
	height: 15px;
	left: 0;
	text-align: center;
	z-index: -1;
}

.about-me p {
	font-family: "SF-Pro-Text-Regular";
	color: var(--grey);
	font-size: 14px;
	display: inline;
}

.intro {
	margin-top: 10%;
	padding: 0 20px;
}

.portrait {
	display: block;
	width: calc(100%/1.5);
	margin: 50px auto 30px auto;
	border-radius: 5px;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.25);
}

.intro {
    color: var(--text);
}

.intro h1 {
	margin: 0;
	padding: 0;
	font-family: "SF-Pro-Text-Medium";
	font-size: 14px;
	padding-bottom: 2.5px;
	letter-spacing: -0.25px;
}

.intro p {
	margin: 0;
	padding: 0;
	font-family: "SF-Pro-Text-Regular";
	font-size: 14px;
	line-height: 1.3em;
}

.intro span {
	font-style: italic;
}

.intro .final {
	padding-bottom: 20px;
}

.finder {
	border-radius: 15px;
	width: 60%;
	height: 70%;
	position: absolute;
    left: 50%;
	top: 60%;
    -webkit-transform: translate(-50%, -60%);
    transform: translate(-50%, -60%);
	margin: 0;
	padding: 0;
	font-size: 0;
	box-shadow: 0 0 20px 0 rgba(0,0,0,0.25);
}

.lwindow {
	background-color: var(--opaque);
	border-radius: 15px 0 0 15px;
	-webkit-backdrop-filter: blur(50px);
	width: 25%;
	height: 100%;
	float: left;
	overflow-y: scroll;
    overflow-x: hidden;
}

.buttons {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: initial;
	display: inline-block;
}

.buttons li {
	padding: 0;
	margin: 7.5px 0 5px 10px;
	width: 15px;
	height: 15px;
	border-radius: 15px;
	float: left;
}

.buttons li:nth-child(1){
	background-color: var(--red);
	margin-left: 10px;
}

.buttons li:nth-child(2){
	background-color: var(--yellow);
}

.buttons li:nth-child(3){
	background-color: var(--grey);
}

.buttons li a {
	text-decoration: none;
}

.buttons li:hover a {
	cursor: pointer;
	display: block;
}

.clients {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
	left: 20px;
	font-size: 14px;
	line-height: 1.6em;
	font-family: "SF-Pro-Text-Regular";
}

.clients p {
    color: var(--text);
	margin: 0;
	margin-top: 10%;
	opacity: .3;
	font-size: 12px;
	font-family: "SF-Pro-Text-Semibold";
}

.clients li a {
	text-decoration: none;
	color: var(--text);
	opacity: .3;
}

.clients li a.active {
	opacity: 1;
}

.items {
	list-style: none;
	margin: 0;
	margin-top: 10%;
	padding: 0;
	font-size: 18px;
	line-height: 1.6em;
	font-family: "SF-Pro-Text-Regular";
}

.items svg {
	width: 20px;
	vertical-align: text-top;
}

.items li a {
	text-decoration: none;
	color: var(--text);
	padding-left: 5px;
}

.highlight {
	background-color: var(--opaque-4);
	padding: 2.5px 0 2.5px 20px;
}

.account {
    color: var(--text);
	padding-left: 20px;
	position: absolute;
	bottom: 2.5%;
	display: flex;
	align-items: center;
}

.account img {
	width: 35px;
	height: 35px;
	object-fit: cover;
	border-radius: 500px;
}

.account p {
	margin: 0;
	font-family: "SF-Pro-Text-Medium";
	font-size: 15px;
	display: inline;
	padding-left: 10px;
}

.rwindow {
	background-color: var(--background);
	border-radius: 0 15px 15px 0;
	width: 75%;
	height: 100%;
	display: inline-block;
	box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.1);
    overflow-y: scroll;
}

.rwindow .title {
	width: inherit;
	z-index: 10000;
	position: fixed;
	background-color: var(--background);
	border-radius: 0 15px 0 0;
	padding: 10px 0;
}

.rwindow ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.rwindow ul li:nth-child(1) {
	padding-left: 2.5%;
}

.rwindow ul li:nth-child(2) {
	padding-right: 2.5%;
}

.rwindow h1:not(.description h1, .product h1, .preview h1) {
    color: var(--text);
	font-size: 20px;
	letter-spacing: -0.5px;
	margin: 0;
	padding: 10px 0;
	display: inline-block;
	font-family: "SF-Pro-Text-Medium";
}

.projects {
	margin: 7.5% 0 0 0;
	position: relative;
	top: 20px;
	display: grid;
	column-gap: 0;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    padding: 0 10px;
    border-radius: 0 0 15px 0;
    align-items: stretch;
    grid-template-rows: repeat(auto-fill, minmax(200px, 1fr));
}

.projects img {
	object-fit: cover;
    width: 100%;
    padding: 0 5px;
    padding-bottom: 30px;
}

.projects img:first-child, .projects img:nth-child(7) {
    padding-left: 0;
}

#lightbox-c {
    position: fixed;
    z-index: 10000;
    background: var(--background);
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
}

#lightbox img {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 90%;
    width: auto;
    transform:translate3d(-50%, -50%, 0)
}

#lightbox-border {
    position: absolute;
    top: 0;
    left: 0;
    border: 1px solid var(--text);
    box-sizing: border-box;
} 

#lightbox-close-c {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    bottom: 0;
    height: 11.5%;
    font-family: "";
    text-transform: uppercase;
    opacity: 0;
}

#lightbox-close {
    pointer-events: auto;
    cursor: pointer;
    font-family: "SFMono-Regular";
    letter-spacing: 2.5px;
    font-size: 14px;
    color: var(--text);
}

.rwindow .title .buy {
	font-size: 14px;
	display: inline;
	font-family: "SF-Pro-Text-Medium";
	background-color: var(--blue);
	border-radius: 50px;
	color: #ffffff;
	text-transform: uppercase;
	padding: 2.5px 20px;
	text-align: center;
	text-decoration: none;
}

.description {
    color: var(--text);
	background-color: transparent;
    margin-top: 60px;
    padding-bottom: 2.5%;
	display: flex;
}

.description img {
	margin-left: 2.5%;
	align-self: flex-start;
    object-fit: cover;
    width: 200px;
    height: 200px;
}

.description .text {
	padding-left: 5%;
	padding-right: 2.5%;
	position: relative;
    flex: 1 1 auto;
}

.description h1 {
	margin: 0;
	letter-spacing: -1px;
	font-size: 24px;
	font-family: "SF-Pro-Text-Semibold";
}

.description p {
	padding: 5px 0;
	margin: 0;
	font-size: 14px;
	font-family: "SF-Pro-Text-Regular";
	opacity: .5;
}

.description p.author {
	color: var(--blue);
	opacity: 1;
	padding: 0;
	margin: 0;
	padding-bottom: 2.5%;
	border-bottom: solid 1px var(--opaque-05);
}

p.rating {
	text-align: center;
	display: inline-block;
	position: absolute;
	bottom: 0;
}

p.rating {
	font-family: "SF-Pro-Text-Semibold";
	font-size: 22px;
	opacity: .7;
	line-height: .75em;
}

p.rating span {
	font-family: "SF-Pro-Text-Regular";
	font-size: 14px;
}

.product, .preview {
    color: var(--text);
	width: 95%;
	margin: 0 auto;
}

.product {
	border-top: solid 1px var(--opaque-05);
	clear: both;
	padding: 1% 0 3.5% 0;
	border-bottom: solid 1px var(--opaque-05);
}

.product h1, .preview h1 {
	display: inline;
	vertical-align: top;
	letter-spacing: -1px;
	font-size: 20px;
	font-family: "SF-Pro-Text-Regular";
}

.product p {
	font-size: 14px;
	font-family: "SF-Pro-Text-Regular";
	margin: 0;
	margin-top: 2%;
}

.preview {
	padding: 1% 0 5% 0;
}

.preview img:not(:first-child) {
	margin-left: 2.5%;
}

.preview img {
	width: 40%;
	align-self: center;
	border-radius: 5px;
}

.preview .slideshow {
	width: 100%;
	padding-top: 2%;
	overflow-x: scroll;
	display: flex;
}

.textedit {
	width: 40%;
	height: 60%;
	background-color: var(--background);
	position: absolute;
	left: 50%;
    top: 60%;
    -webkit-transform: translate(-50%, -60%);
    transform: translate(-50%, -60%);
	border-radius: 10px;
	overflow-y: scroll;
	box-shadow: 0 0 20px 0 rgba(0,0,0,0.25);
}

.container {
	position: sticky;
    top: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	border-radius: 0 0 10px 10px;
}

#menu {
	padding-bottom: 1%;
	margin-left: 10px;
}

#menu select:first-of-type {
	width: 20%;
}

*:focus {
	outline: none;
}

form {
	flex: 1;
	overflow-y: scroll;
	border-radius: 0 0 10px 10px;
}

textarea {
    color: var(--text);
	display: block;
	width: 100%;
	height: 100%;
	padding: 0.5% 10px;
	resize: none;
	box-sizing: border-box;
	border: none;
	font-size: 12pt;
	font-family: Helvetica, Arial, sans-serif;
    background-color: var(--background);
    white-space: pre-line;
}

@media all and (max-width: 768px){
    body {width: 100%; overflow: hidden;}
    .menubar ul {display: flex; text-align: center;}
    .menubar li {flex: 1 1 auto; padding-left: 0;}
    .contact {width: 65%; height: auto; top: 7.5%;}
    #menu select:first-of-type {width: 40%;}
    .rounded {width: 85%;}
    .rounded a {color: var(--text);}
    .rounded p {padding: 0; margin-top: -5px;}
    .preloader {background-size: 35%; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); background-position-y: 45%;}
    .loading-bar {width: 50%;}
    .folder {top: 15vh;}
    .folder img {height: 20vw;}
    .mode {bottom: 5vh; top: auto; left: 5vw;}
    .finder {width: 100%; height: 90%; top: 10%; -webkit-transform: translate(-50%, 0); transform: translate(-50%, 0); border-radius: 15px 15px 0 0;}
    .lwindow {width: 100%; overflow-x: hidden; border-radius: 15px 15px 0 0; position: absolute;}
    .rwindow {width: 90%; position: absolute; display: inline-block; left: 10%; border-radius: 0 15px 0 0; box-shadow: -10px 0 15px -2.5px rgba(0,0,0,0.3);}
    .projects {top: 20px; padding-bottom: 30px;}
    .projects img {padding: 0; padding-top: 30px;}
    .projects img:nth-child(even) {padding-left: 5px;}
    .projects img:nth-child(odd) {padding-right: 5px;}
    .preview img {width: 45%;}
    .description h1 {font-size: 20px;}
    .description .text {padding-left: 3.5%;}
    .product, .preview {padding-top: 2%;}
    .about-me {margin-top: 3.5px;}
    .about, .textedit {width: 85%; height: 85%;}
}

@media all and (max-width: 768px) and (orientation: portrait){
    #lightbox-close-c {opacity: 1;}
    #lightbox img {width: 45vh; height: auto; object-fit: cover;}
}

@media all and (max-width: 768px) and (orientation: landscape){
    .contact {width: 40%;}
    .preloader {background-size: 20%; background-position-y: 35%;}
    .loading-bar {width: 40%;}
    #lightbox-close-c {opacity: 1; top: 0; left: 0; width: auto; padding: 5%;}
    #lightbox img {width: auto; height: 70%; top: 30%; left: 50%; transform: translate3d(-50%, -30%, 0);}
    .about {height: 70%; left: 50%; top: 50%; -webkit-transform: translate(-50%, -55%); transform: translate(-50%, -55%);}
    .textedit {height: 70%; left: 50%; top: 50%; -webkit-transform: translate(-50%, -55%); transform: translate(-50%, -55%);}
}

@media (prefers-color-scheme: dark) {
    html, body {background-image: url("https://minzinger.ndu.schulwebspace.at/images/macos-big-sur-dark.jpg");}
    .menubar li:first-child {background-image: url("images/logo.png");}
    .clients p, .clients li a {opacity: .4;}
    :root {
    --red: rgb(255, 69, 58);
    --yellow: rgb(255, 214, 10);
    --grey: rgb(152, 152, 157);
    --opaque-4: rgba(0, 0, 0, 0.4);
    --opaque: rgba(0, 0, 0, 0.6);
    --text: rgb(255, 255, 255);
    --background: rgb(20, 20, 20);
    --rounded-hover: rgba(0, 0, 0, 0.1);
    --background-gradient-1: rgb(40, 40, 40);
    --background-gradient-2: rgb(20, 20, 20);
    --placeholder: rgb(239, 239, 239);
}
}
