@charset "UTF-8";

/* reset all */
*:where(:not(iframe, canvas, img, svg, video):not(svg *)) {
  all: unset;
  display: revert;
}

/* Preferred box-sizing value */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/*
  Remove list styles (bullets/numbers)
  in case you use it with normalize.css
*/
ol, ul {
  list-style: none;
}

/* For images to not be able to exceed their container */
img {
  max-width: 100%;
}

/* Removes spacing between cells in tables */
table {
  border-collapse: collapse;
}

/* Revert the 'white-space' property for textarea elements on Safari */
textarea {
  white-space: revert;
}








/* roboto-flex-regular - latin */
@font-face {
  font-family: 'Roboto Flex';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('./fonts/roboto-flex-v9-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('./fonts/roboto-flex-v9-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

*, *::before, *::after {
  box-sizing: border-box;
}

:root {
	--pos-fixed-z-index: 1000;
	--max-width: 84ch;
	
	--main-bg: rgb(253, 252, 251);
	--alt-bg: rgb(243, 242, 241);
	--main-color: black;
}
	
html {
	font-size: clamp(1.0rem, 0.4rem + 1.1vw, 1.5rem);
}

body {
	font-family: Roboto Flex, sans-serif;
	font-display: swap;

	height: 100%;
	width: 100%;

	background-color: var(--main-bg);

	line-height: 1.5;

	display: grid;
  	grid-template-columns: 1fr;
	justify-items: center;
}

#container {
	display: grid;
  	grid-template-columns: 1fr;
}

a {
	text-decoration: none;
	color: var(--main-color);
	cursor: pointer;
}

main {
	display: grid;
  	grid-template-columns: 1fr;
}

header {
	display: flex;
	flex-direction: row;
	justify-content: center;
}

#header-title {
	text-align: center;
}

#nav-fixed-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	width: 100%;

	z-index: var(--pos-fixed-z-index);
	position: fixed;
	left: 0;
	top: 0;

	background-color: black;
	color: var(--main-bg);
}

nav {
	font-weight: 700;
	
	padding-left: 0.5rem;
	padding-right: 0.5rem;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;

	width: 100%;
	max-width: var(--max-width);
	
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;	
}

nav h1 {
	display: inline;
	margin: 0;
}

nav ul {
	margin: 0;
	padding: 0;	
	vertical-align: middle;
	display: flex;
}

nav ul li {
	display: inline;
	white-space: nowrap;
	font-size: 1.1rem;
	margin: 0;
	padding: 0;
	list-style-type: none;
}

nav a {
	color: var(--main-bg);
	background-color: var(--main-color);
}

.nowrap {
	white-space: nowrap;
}

.nav-spacer {
	padding-left: 0.2rem;
	padding-right: 0.2rem;
}

img {
  max-inline-size: 100%;
  block-size: auto;
}

#about-me {
	margin-top: 0.3rem;
	
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	
	column-gap: 0.5rem;
	row-gap: 0.5rem;
}

/*

max-inline-size: 50%;
	flex-basis: 20ch;

*/

#about-me-img {
	flex-basis: 16ch;
	flex-grow: 1;
	position: relative;
}

#about-me-img-img {
	width: 100%;	
    object-fit: contain;
    min-width: 200px;
}


#exali-siegel {
/*	display: none;
	width: 25%;
*/
	position: absolute;
	top: 0px;
	right: 0px;
	width: 20%;
	height: 20%;
	z-index: 1;
}

#exali-siegel img {
	width: 100%;	
    object-fit: contain;
}

#about-me #about-me-aside {
	display: flex;
	flex-direction: column;
	column-gap: 0.5rem;
	row-gap: 0.5rem;
	
	flex-basis: 22ch;
	flex-grow: 1;
}

#about-me #about-me-text {
	display: block;
	flex-grow: 1;
}

.senior {
	font-weight: 700;

	white-space: nowrap;
}

.junior {
	font-weight: 200;
	font-size: 0.8rem;

	white-space: nowrap;
}

.explanation {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.dateplaceholder {
	visibility: hidden;
}

#projects {
	display: flex;
	flex-direction: column;
}
/*
#olderprojectsbuttoncontainer {
	display: block;

	width: 3rem;
	height: 3rem;
	
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	border-radius: 50%;

	color: var(--main-bg);
	background-color: var(--main-color);
	
}
*/
#olderprojectsbutton {
	display: none;
}

#olderprojectsbuttonmore, #olderprojectsbuttonless {
	align-self: center;
	
	margin-top: 1rem;
	margin-bottom: 0.2rem;
	
	font-size: 2.0rem;
	font-weight: 700;
	
	width: 100%;
	
	width: 2.4rem;
	height: 2.4rem;
	
	cursor: pointer;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	
	border-radius: 50%;

	color: var(--main-bg);
	background-color: var(--main-color);
	
}

#olderprojectsbutton:not(:checked) ~ #olderprojectsbuttonmore {
	display: flex;
}

#olderprojectsbutton:checked ~ #olderprojectsbuttonmore {
	display: none;
}

#olderprojectsbutton:not(:checked) ~ #olderprojectsbuttonless {
	display: none;
}

#olderprojectsbutton:checked ~ #olderprojectsbuttonless {
	display: flex;
}


#olderprojectsbutton:checked ~ #olderprojects {
	display: block;
}

#olderprojects {
	display: none;
}

strong {
	font-weight: 700;
	font-size: 1.1rem;
}

h1 {
	font-size: 1.25rem;
	font-weight: 700;
}

h2 {
	font-size: 1.1rem;
	font-weight: 700;
}

section {
	max-inline-size: 66ch;

	padding-top: 2.8rem;
	padding-left: 0.5rem;
	padding-right: 0.5rem;

/*	flex: 1 1 0; */
}

section h1 {
	padding-bottom: 0.5rem;
}


img {
	max-inline-size: 100%;
	block-size: auto;
}

#contact-links-container {
	width: 100%;
	
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	
	padding-top: 0.8rem;
}

.contact-links {
	display: inline-flex;
	flex-direction: column;
}

.contact-link  {
	display: inline-flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
}

.contact-link-icon {
	padding-right: 1.0rem;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}


.contact-link:first-child {
	margin-bottom: 1.0rem;
}

.link-icon {
	font-size: 2rem;
}

.oink {
	font-weight: 700;
	font-size: 1.6rem;
}

#phone-icon {
	height: 2.0rem;
	width: 2.0rem;	
	fill: var(--main-color);
}

#email-icon {
	height: 2.0rem;
	width: 2.0rem;	
	stroke: var(--main-color);
	stroke-width: 60;
	fill: none;
}

#email-icon #text9996 {
	fill: var(--main-color);
	stroke: none;
	font-weight: 700;
}

.social-links {
	display: inline-flex;
	flex-direction: row;
	margin-top: 1.0rem;
}

.social-link {
	font-size: 1.1rem;
	font-weight: 700;
}



footer {
	display: grid;
  	grid-template-columns: 1fr;
}

/*
#footer-contact {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
}
*/

#footer-contact-header {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: flex-end;
}

#footer-contact-content {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	margin-left: 1rem;
}
#copyright {
	margin-top: 1.5rem;
	margin-bottom: 0.2rem;

	font-size: 0.8rem;
	font-weight: 700;
	
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

#scroll-to-top {
	display: block;
	position: relative;

	visibility: visible;

	z-index: var(--pos-fixed-z-index);
	right: 0.5rem;
	bottom: 0.5rem;

	width: 2.4rem;
	height: 2.4rem;
	
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	border-radius: 50%;

	color: var(--main-bg);
	background-color: var(--main-color);
}

/*
#arrow-up-icon {
	height: 2.0rem;
	width: 2.0rem;	
	stroke: var(--main-bg);
	stroke-width: 60;
	fill: none;
}
*/

#arrow-up-icon {
	height: 1.6rem;
	width: 1.6rem;	
	stroke: var(--main-bg);
	stroke-width: 1;
	fill: var(--main-bg);
}

#plus-icon {
	height: 1.6rem;
	width: 1.6rem;	
	stroke: var(--main-bg);
	stroke-width: 1;
	fill: var(--main-bg);
}

#minus-icon {
	height: 1.6rem;
	width: 1.6rem;	
	stroke: var(--main-bg);
	stroke-width: 1;
	fill: var(--main-bg);
}


#bottom-helper-container {
	position: fixed;

	visibility: hidden;

	z-index: var(--pos-fixed-z-index);
	right: 0.0rem;
	bottom: 0.0rem;
	
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	width: 100%;
}

#bottom-helper {
	width: 100%;
	max-width: var(--max-width);

	visibility: hidden;

	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
	
	font-weight: 700;
}

h3 {
	font-size: 1rem;
	font-weight: 700;
}

#skills h3 {
	margin-top: 0.5rem;
}

#skills h3:first-child {
	margin-top: 0.0rem;
}


.project {
	margin-top: 1.0rem;
	padding: 0.2rem;
	
	background-color: var(--alt-bg);

	border-radius: 0.4rem;
}

#actualprojects .project:first-of-type {
	margin-top: 0.2rem;
}

#privacynotice h3 {
	margin-top: 0.5rem;
}

#privacynotice {
	display: none;
}

#privacynoticeheader {
	cursor: pointer;
}

#privacynoticebutton {
	display: none;
}

#privacynoticebutton:checked ~ #privacynotice {
/*	display: block; */
}

#impressum {
	display: none;
}

#impressumheader {
	cursor: pointer;
}

#impressumbutton {
	display: none;
}
	
#impressumbutton:checked ~ #impressum {
/*	display: block; */
}

#legal-links-container {
	width: 100%;
	
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	
	margin-top: 3.0rem;
	
	padding-left: 0.5rem;
	padding-right: 0.5rem;
}

.legal-links {
	display: inline-flex;
	flex-direction: row;
	flex-wrap: wrap;

	margin: 0;
	padding: 0;

	font-size: 1.1rem;
	font-weight: 700;
}

.legal-link {
}


.legalbutton {
	cursor: pointer;
}

.project h3 {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: start;
}

/*.project p {*/
p {
	margin-top: 0.4rem;
}

.legal-h2 {
	padding-top: 0.6rem;
}

b {
	font-weight: 700;
}

.reference {
	margin-top: 0.4rem;
	font-size: 0.8rem;
}

ul {
	margin-top: 0.4rem;
	margin-left: 1.0rem;
}

li {
	list-style-type: disc;
	margin-left: 1.0rem;
}

