@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat'), url(./Montserrat/Montserrat-VariableFont_wght.ttf) format('truetype');
}

@font-face {
  font-family: 'EdoSZ';
  src: local('EdoSZ'), url(./edo-sz/edosz.ttf) format('truetype');
}

html {
	scroll-behavior: smooth;
}

:root {
	--darkBlue: #B1237E;
	--lightBlue: #4479E3;
	--highlight: #ffc000;
	
	--white: #ffffff;
	--veryLightGrey: #f5f5f5;
	--lightGrey: #c6c6c6;
	--grey: rgb(122, 122, 122);
	--darkGrey: #424242;
}

body {
	color: var(--darkGrey);
	font-family: -apple-system, BlinkMacSystemFont, 'Montserrat', sans-serif;
	margin: 0px;
	font-weight: 400;
	background-color: var(--veryLightGrey);
	width: 100%;
}

h1, h2 {
	font-weight: 400;
	text-align: center;
}

h1 {
	font-size: 3rem;
}

h2 {
	font-size: 2rem;
}

/**
	Header
**/
header {
	display: flex;
	height: 3rem;
	background-color: var(--darkBlue);
	color: var(--white);
	position: fixed;
	width: 100%;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	z-index: 1000;
}

.socialMediaIconContainer {
	width: 4rem;
	align-self: center;
}

header i {
	font-size: 1rem;
	transition: font-size 0.5s;
}

header i:hover {
	font-size: 1.8rem;
}

header a, footer a {
	color: var(--white);
	transition: color 2s;
	padding: 2rem;
}

header a:hover, footer a:hover, .dropbtn:hover, .dropbtn:focus {
	color: var(--veryLightGrey);
}

/**
	Menu
**/

.menuContainer {
	flex-grow: 8;
	text-align: right;
	align-self: center;
	margin-right:1rem;
}

.menuContainer a{
	text-decoration:none;
	display: inline-block;
	padding-top: 2rem;
	padding-left: 0;
	padding-right: 1rem;
}
.menuContainer a:hover {
  color: var(--grey);
}

.menuContainer i:hover {
	font-size: 1rem;
	cursor: pointer;
}

.menuIcon{
	padding-right:0.5rem;
}

.sideNavigation {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
  background-color: var(--darkGrey);
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 3rem;
	text-align: left;
	box-shadow: 0 4px 8px 4px rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.sideNavigation a {
  font-size: 1.5rem;
  padding: 1rem 1rem 1rem 2.5rem;
  text-decoration: none;
  color: var(--grey);
  display: block;
  transition: 0.3s;
}

.sideNavigation a:hover {
  color: var(--veryLightGrey);
}

.sideNavigation .closeTimes {
  position: absolute;
  top: 0;
  right: 1rem;
  margin-left: 2rem;
}
.sideNavigation .closeTimes i {
  font-size: 1.5rem;
}

/**
	Content
**/

.grid-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding-top: 3rem;
}

.parallaxWelcome {
	background-image: url("image/welcomeImage.jpg");
	min-height: 50rem; 
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.welcomeText {
  	position: absolute;
  	left: 0;
  	top: 30rem;
  	width: 100%;
  	text-align: center;
  	background-color:transparent;
	color:var(--white);
}

.welcomeText > i {
	cursor: pointer;
}

.welcomePerson {
	display: flex;
	flex-direction: column-reverse;
	justify-content: center;
	text-align: center;
}

.imageWelcomePerson{
	align-self: center;
}

.imagePerson {
	margin: 2rem;
	width: 100%;
	max-width: 235px;
	height: auto;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.textWelcomePerson {
	margin: 2rem;
	width: 80%;
	align-self: center;
	text-align: left;
	line-height: 1.5;
}

hr {
  border-width: 0;
  background-color: var(--grey);
  height: 1px;
  width: 25%;
}



/**
	Parallax
**/

.parallaxImageFirst {
	background-image: url("image/parallax.jpg");
}
.parallaxImageSecond {
	background-image: url("image/parallax2.jpg");
}

.parallax {
	/*Parallax*/
	min-height: 600px; 
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	
	/*Hover Effekt*/
	opacity: 1;
	display: block;
	width: 100%;
	transition: .5s ease;
	backface-visibility: hidden;
}

.containerParallax {
  position: relative;
}

.parallaxOverlay {
	transition: .5s ease;
	opacity: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	text-align: center;
}

.containerParallax:hover .parallax {
  opacity: 0.3;
}

.containerParallax:hover .parallaxOverlay {
  opacity: 1;
}

.parallaxText {
	background-color:var(--darkBlue);
	color: var(--white);
	padding: 0.5rem 1rem;
	text-decoration: none;
	transition: 0.3s;
}

.parallaxText:hover {
	background-color: var(--highlight);
}

.copyRightImage {
  	position: absolute;
  	left: 0;
  	top: 90%;
	right: 10%;
  	width: 90%;
  	text-align: right;
  	background-color:transparent;
	color:var(--white);
	font-size: 0.7rem;
	font-style: italic;
}



.timeIsUp {
	display: flex;
	gap: 3rem;
	padding-right: 20%;
	padding-left: 20%;
	padding-bottom: 3rem;
	text-align: center;
	flex-direction: column;
	padding-top: 3rem;
}

.timeIsUpImageContainer {
	text-align: center;
}

.timeUpImage {
	width: 70%;
}

.timeIsUp > div > h1 {
	font-family: 'EdoSZ', 'Montserrat', sans-serif;
	color: var(--darkBlue);
}

.timeIsUp > div > p {
	padding-bottom: 1rem;
	line-height: 1.75;
}


.kontaktGrid {
	display: grid;
	grid-template-columns: repeat(3, 30%);
	gap: 5%;
	padding-bottom: 5rem;	
}

.kontaktGrid div {
	grid-column-start: 1;
	grid-column-end: 4;
	justify-self: center;
	white-space: nowrap;
}

.kontaktGrid div a { 
	margin-left: 0.25rem;
}

footer {
	font-size: 0.6rem;
	display: flex;
	height: 3rem;
	background-color: var(--darkBlue);
	color: var(--white);
	padding-right: 1rem;
	justify-content: center;
	align-items: center;
}

.notVisibleOnSmartphone {
	display: none;
}

.onlyVisibleOnSmartphone {
	display: none;
}

/* Portfolio, Lebenslauf
*/
.lebenslauf, .portfolio, .kontakt{
	padding-top: 2rem;
}

.lebenslauf{
	padding-bottom: 2rem;
}

.portfolioListe {
	display: flex;
	gap: 2rem;
	margin: 2rem;
	justify-content: space-around;
	flex-direction: column;
}

.lebenslaufListe {
	display: flex;
	gap: 2rem;	
	justify-content: space-around;
	flex-direction: column;
}

.portfolioItem {
	display: flex;
	flex-direction: column;
	margin: 1rem;
	white-space: nowrap;
}

.lebenslaufItem {
	display: flex;
	margin: 1rem;
}

.portfolioIcon {
	font-size: 3rem;
	color: var(--darkBlue);
	align-self: center;
	margin-bottom: 1.5rem;
}

.lebenslaufIcon {
	font-size: 3rem;
	color: var(--darkBlue);
	align-self: center;
	margin-right: 1rem;
	margin-left: 0.5rem;
}

.lebenslaufImage {
	width: 7rem;
	height: 7rem;
	border-radius: 50%;
}

.lebenslaufIcon i {
	padding-left: 1.5rem;
  	padding-right: 2rem;
}

.portfolioHeader, .lebenslaufHeader {
	font-size: 1.5rem;
	align-self: center;
	margin-bottom: 1rem;
}

.portfolioContent {
	font-size: 0.8rem;
	align-self: center;
	text-align: center;
}

.lebenslaufContent {
	font-size: 0.8rem;
	align-self: center;
	hyphens: auto;
}

@media only screen and (max-width: 800px) {
	.onlyVisibleOnSmartphone {
		display: revert;
	}
}

@media only screen and (min-width: 800px) {
	.notVisibleOnSmartphone {
		display: revert;
	}
	
	.welcomePerson {
		flex-direction: row;
	}
	
	.textWelcomePerson {
		width: 30%;
	}
	
	.kontaktGrid div {
		grid-column-start: 2;
		grid-column-end: 3;
	}
	
	.timeIsUp {
		flex-direction: row;
	}
	
	.timeIsUpImageContainer {
		width: 50rem;
		text-align: right;
	}
	
	.portfolioListe {
		flex-direction: row;
	}
	
	.portfolioItem {
		width: 25%;
	}
	
	.lebenslaufItem {
		width: 45%;
	}
	
	.lebenslaufListe{
		margin-left: 25%;
	}
	
	.lebenslaufIcon {
		margin-right: 2rem;
		margin-left: 2rem;
	}

	.lebenslaufContent{
		hyphens: none;
	}
	
	.portfolioHeader, .lebenslaufHeader {
		font-size: 2rem;
	}
	
	.parallaxText {
		padding: 1rem 2rem;
	}
	
	footer {
		font-size: 0.7rem;
		padding-right: 2rem;
	}
}




