@charset "utf-8";
/* CSS Document */
/* Manuel Keller */
/* Portfolio 2021 */



/* BASICS */

:root {
	--mk-primary: 0, 255, 191;
	--mk-secondary01: 0, 16, 38;
	--mk-secondary02: 16, 36, 64;
	--mk-secondary03: 64, 90, 128;
	--mk-secondary04: 143, 163, 191;
	--mk-white: 242, 248, 255;
}



li {
	list-style-type: none;
}
	


html {
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar {
	display:none
}

::selection {
	background: rgba(var(--mk-primary));
	color: rgba(var(--mk-secondary01));
} 

::moz-selection {
	background: rgba(var(--mk-primary));
	color: rgba(var(--mk-secondary01));
} 

body {
	font-family: monospace;
	font-size: 1rem;
	line-height: 165%;
	font-weight: 400;
	color: rgba(var(--mk-secondary04));
	background-color: rgba(var(--mk-secondary01));
	scrollbar-width:none;
	hyphens: auto;
}

a {
	font-size: 0.875rem;
	font-weight: 400;
	color: rgba(var(--mk-primary));
	text-decoration: none;
	transition: 0.3s ease-in-out;
}

a:hover {
	color: rgba(var(--mk-white));
	text-decoration: underline;
	filter: drop-shadow(0 0.25rem 2rem rgba(var(--mk-primary)));
}



/* GRID */

.container, .container-fluid {
	padding-left: 2rem;
	padding-right: 2rem;
}



/* TYPO */

h1, .h1 {
	font-size: 3rem;
	font-weight: 500;
	line-height: 105%;
	color: rgba(var(--mk-primary));
	letter-spacing: -0.015rem;
}

h2, .h2 {
	font-size: 2rem;
	font-weight: 500;
	line-height: 110%;
	color: rgba(var(--mk-white));
	letter-spacing: -0.015rem;
}

h3, .h3 {
	font-family: 'IBM Plex Mono', monospace;
	font-weight: 400;
	font-size: 1.25rem;
	line-height: 135%;
	color: rgba(var(--mk-primary));
}

h4, .h4 {
	font-family: 'IBM Plex Mono', monospace;
	font-weight: 400;
	font-size: 1.25rem;
	line-height: 135%;
	color: rgba(var(--mk-primary));
}

p, .p {
	margin-bottom: 0;
	letter-spacing: 5%;
}

.hint {
	font-family: 'IBM Plex Mono', monospace;
	font-weight: 400;
	font-size: 0.875rem;
}



/* FARBEN */

.color-primary {
	color: rgba(var(--mk-primary));
}

.color-secondary01 {
	color: rgba(var(--mk-secondary01));
}

.color-secondary02 {
	color: rgba(var(--mk-secondary02));
}

.color-secondary03 {
	color: rgba(var(--mk-secondary03));
}

.color-secondary04 {
	color: rgba(var(--mk-secondary04));
}

.color-white {
	color: rgba(var(--mk-white));
}



/* HINTERGRUND FARBEN */

.bg-white {
	background-color: rgba(var(--mk-white)) !important;
}

.bg-primary {
	background-color: rgba(var(--mk-primary)) !important;
}

.bg-secondary-01 {
	background-color: rgba(var(--mk-secondary01)) !important;
}

.bg-secondary-02 {
	background-color: rgba(var(--mk-secondary02)) !important;
}

.bg-secondary-03 {
	background-color: rgba(var(--mk-secondary03)) !important;
}



/* HEADER */

.logo {
	width: 3rem;
	height: 3rem;
	animation-name: logo-spin;
	animation-duration: 10s;
	animation-iteration-count: infinite;
	animation-timing-function: ease;
}

@keyframes logo-spin {
	0% {transform: rotate(0deg)}
	10% {transform: rotate(360deg)}
	100% {transform: rotate(360deg)}
}



/* STATUS BAR */

.status-bar {
	height: 2rem;
	padding: 0.5rem 1rem;
	line-height: 1rem;
	display: flex;
}

.status-container {
	display: flex;
}

.icon {
	min-width: 1rem;
	min-height: 1rem;
	margin-right: 0.5rem;
	background-color: rgba(var(--mk-primary));
}

.status-text {
	min-width: 4rem;
	margin-right: 2rem;
	line-height: 1rem;
	overflow: hidden;
}

.on {
	background-color: rgba(var(--mk-primary));
}

.off {
	background-color: rgba(var(--mk-secondary04));
}

.lastfm-text {
	line-height: 1rem;
	overflow: hidden;
	margin-left: -1rem;
	margin-right: -1rem;
}

.fade-in {
	min-width: 1rem;
	min-height: 1rem;
	background: linear-gradient(90deg, rgba(var(--mk-secondary03), 1) 0%, rgba(var(--mk-secondary03), 0) 100%);
	z-index: 10;
}

.fade-out {
	min-width: 1rem;
	min-height: 1rem;
	background: linear-gradient(90deg, rgba(var(--mk-secondary03), 1) 0%, rgba(var(--mk-secondary03), 0) 100%);
	z-index: 10;
	transform: rotate(180deg);
}



/* NAVI */

.btn-navi {
	cursor: pointer;
}

.btn-navi-icon {
	width: 2rem;
	height: 2rem;
}

.navi-bar {
	z-index:100;
}

.navi-overlay {
	width: 100%;
	height: 100vh;
	position: fixed;
	top: -100vh;
	left: 0;
	background-color: rgba(var(--mk-secondary02),0.9);
	backdrop-filter: blur(1rem);
	visibility: hidden;
	transition: 0.5s ease-in-out;
	z-index: 200;
}

.navi-open {
	top: 0;
	visibility: visible;
}

.navi-list {
	margin: 0;
	padding: 0;
}

.navi-item {
	display: block;
	font-size: 3rem;
	line-height: 100%;
	font-weight: 500;
	color: rgba(var(--mk-white));
	padding: 1.5rem 0rem;
	clip-path: polygon(95% 0, 100% 50%, 95% 100%, 0% 100%, 0% 0%);
	transition: 0.3s ease-in-out;
}

.navi-item:hover {
	padding-left: 2rem;
	color: rgba(var(--mk-secondary01));
	background-color: rgba(var(--mk-primary));
	clip-path: polygon(95% 0, 100% 50%, 95% 100%, 0% 100%, 0% 0%);
	text-decoration: none;
	filter: none;
}

.navi-social-btn {
	width: 2.5rem;
	height: 2.5rem;
	margin-right: 1rem;
	border: 2px solid rgba(var(--mk-primary));
	padding: 0.5rem;
	transition: 0.3s ease-in-out;
}

.navi-social-btn:hover {
	background-color: rgba(var(--mk-primary));
}



/* BUTTONS */

.btn {
	font-family: 'IBM Plex Mono', monospace;
	font-weight: 500;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.15rem;
	border: 2px solid rgba(var(--mk-primary));
	padding: 0.719rem 1rem;
	border-radius: 0;
	transition: 0.3s ease-in-out;
}

.btn-primary {
	color: rgba(var(--mk-primary));
	background-color: transparent;
	border-color: rgba(var(--mk-primary));
}
.btn-primary:hover {
	color: rgba(var(--mk-secondary01));
	background-color: rgba(var(--mk-primary));
	border-color: rgba(var(--mk-primary));
}
.btn-primary:focus, .btn-primary.focus {
	color: #fff;
	background-color: rgba(var(--mk-primary));
	border-color: rgba(var(--mk-primary));
	box-shadow: none;
}
.btn-primary.disabled, .btn-primary:disabled {
	color: #fff;
	background-color: rgba(var(--mk-primary));
	border-color: rgba(var(--mk-primary));
}
.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show > .btn-primary.dropdown-toggle {
	color: #fff;
	background-color: rgba(var(--mk-primary));
	border-color: rgba(var(--mk-primary));
}
.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus, .show > .btn-primary.dropdown-toggle:focus {
	box-shadow: none;
}



/* GRAFISCHE ELEMENTE */

.line {
	width: 100%;
	height: 1px;
	background-color: rgba(var(--mk-primary));
	margin-bottom: 2rem;
}

.scroll-arrow-container {
	position: absolute;
	right: 2rem;
	bottom: 5rem;
	animation-name: scroll-arrow;
	animation-duration: 1.5s;
	animation-iteration-count: infinite;
	animation-timing-function: ease;
	transition: 0.5s;
	z-index: 100;
}

.scroll-arrow {
	width: 1rem;
	height: 3rem;
}

@keyframes scroll-arrow {
	0% {bottom: 5rem}
	50% {bottom: 3rem}
	100% {bottom: 5rem}
}

.scrollbar {
	width: 0%;
	height: 0.25rem;
	background-color: rgba(var(--mk-primary));
	position: fixed;
	bottom: 0;
}

.x {
	width: 90vh;
	height: 90vh;
	position: absolute;
	bottom: 2rem;
	right: 0;
	clip-path: polygon(25% 0%, 0% 25%, 25% 50%, 0% 75%, 25% 100%, 50% 75%, 75% 100%, 100% 75%, 75% 50%, 100% 25%, 75% 0%, 50% 25%);
	overflow: hidden;
	z-index: -1;
}



/* COOKIE */

.cookie-consent {
	padding: 2rem;
	z-index: 100;
	transition: 1s ease-in-out;
	filter: drop-shadow(0 0.25rem 2rem rgba(var(--mk-primary)));
}

.cookie-consent-off {
	visibility: hidden;
	opacity: 0;
}

.cookie-consent-modal {
	background-color: rgba(var(--mk-secondary01),0.75);
	backdrop-filter: blur(1rem);
	transition: 0.3s ease-in-out;
}



/* IMAGE */

.img-ref {
	width: 20vh;
	height: 20vh;
	object-fit: cover;
	margin-bottom: 2rem;
}

.img-x {
	height: 90vh;
	object-fit: cover;
	opacity: 0.1;
	filter: grayscale(1);
}



/* LIST */

.list-group-item {
	padding: 1rem 0rem;
	background-color: transparent;
	border: none;
	border-bottom: 1px solid rgba(var(--mk-secondary02));
}

.list-animation {
	transition: 0.3s ease-in-out;
}

.list-animation:hover {
	padding-left: 1rem;
}

.list-hover {
	transition: 0.3s ease-in-out;
}

.list-hover:hover {
	padding: 1rem 1rem;
	background-color: rgba(var(--mk-secondary02));
}

.list-group-item:first-child {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.list-group-item:last-child {
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}

.list-arrow {
	width: 1rem;
	height: 1rem;
	margin-right: 1rem;
}



/* FADE IN VIEW */

.fade-in-view {
	opacity: 0;
	top: 10rem;
	transition: 0.1s ease;
}



/* FORMS */

.form-control {
    width: 100%;
    height: 3rem;
    padding: 0.5rem 1rem;
	margin-bottom: 1.5rem;
    color: rgba(var(--mk-secondary04)) !important;
    background-color: rgba(var(--mk-secondary02)) !important;
    border: 2px solid rgba(var(--mk-secondary03)) !important;
    border-radius: 0;
    transition: 0.3s ease-in-out;
}

.form-control:focus {
	color: rgba(var(--mk-secondary04)) !important;
	background-color: rgba(var(--mk-secondary02)) !important;
	border-color: rgba(var(--mk-secondary03)) !important;
	box-shadow: none;
}

.form-control::placeholder {
	color: rgba(var(--mk-secondary03));
	opacity: 1;
}

select.form-control:focus::-ms-value {
  color: rgba(var(--mk-primary));
  background-color: rgba(var(--mk-secondary03));
}



/* REFERENZEN */

.ref-navi {
	width: 100%;
	height: 4rem;
	position: fixed;
	bottom: 0;
	background-color: rgba(var(--mk-secondary02),0.75);
	backdrop-filter: blur(1rem);
	z-index: 100;
}

.ref-navi-row {
	height: 4rem;
	padding: 0.5rem 0 0.5rem 0;
}

.ref-ul {
	padding-left: 0rem;
}

.ref-li {
	display: inline-block;
    padding: 0.25em 0.5em;
	background-color: rgba(var(--mk-secondary02));
	color: rgba(var(--mk-secondary03));
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 1rem;
}

.btn-ref {
	display: flex;
	flex-direction: row;
	justify-content: end;
}

.btn-ref-next {
	width: 1rem;
	height: 1rem;
	margin: 1rem;
}

.btn-ref-prev {
	width: 1rem;
	height: 1rem;
	margin: 1rem 2rem 1rem 1rem;
	transform: rotate(180deg);
}



/* FOOTER */

footer {
	height: 6rem;
	padding: 1rem 0;
	position: relative;
	z-index: 100;
}



/* GRÖßEN */

.min-vh-75 {
	height: 75vh;
}



/* PADDING / MARGIN */

.mt-1 {
	margin-top: 1rem !important;
}

.mb-1 {
	margin-bottom: 1rem !important;
}

.mb-2 {
	margin-bottom: 2rem !important;
}

.mb-3 {
	margin-bottom: 3rem !important;
}

.mb-5 {
	margin-bottom: 5rem !important;
}

.pt-4 {
	padding-top: 4rem !important;
}

.py-section {
	padding-top: 10rem !important;
	padding-bottom: 5rem !important;
}



/* MISC */

.hide {
	display: none;
}

.view {
	display: inherit;
}



/* MEDIA QUERIES */

@media (min-width: 576px) {
	
	h1, .h1 {
		font-size: 5rem;
	}
	
	h2, .h2 {
		font-size: 2.5rem;
	}
	
	.hide {
		display: inherit;
	}
	
	.view {
		display: none;
	}

	.py-section {
		padding-top: 15rem !important;
		padding-bottom: 10rem !important;
	}
	
	.cookie-notification {
		width: 26rem;
	}
	
	.scroll-arrow-container {
		right: 50%;
		left: 50%;
	}
	

}
