/****************************** CSS Reset *****************************/

/* 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%;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
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;
}

/****************************** Keyframes *****************************/

@keyframes showSlow {
	0%	{
		opacity: 0;
	}
	100%	{
		opacity: 1;
		animation-play-state: paused;
	}
}

/****************************** Color *****************************/

:root {
	color-scheme: light dark;
	--color-lightgray05: rgba(52, 52, 52, 0.5);
	--color-lightgray10: rgba(52, 52, 52, 1);
	--color-darkgray00: rgba(30, 30, 30, 0);
	--color-darkgray08: rgba(30, 30, 30, 0.8);
	--color-darkgray10: rgba(30, 30, 30, 1);
}

/****************************** Text *****************************/

body	{
	font-family: 'Roboto', sans-serif;
	color: var(--color-darkgray10);
}

h1	{
	text-transform: uppercase;
	font-size: 1.2em;
	font-weight: 500;
	text-decoration: none;
}

h2	{
	font-family: 'Bree Serif', serif;
	margin: 25px 30px 0px 30px;
	padding-bottom: 0.8em;
	font-size: 2em;
	line-height: 1.3em;
	text-transform: none;
}

h3	{
	font-family: 'Bree Serif', serif;
	margin: 0px 30px 0px 30px;
	padding-bottom: 0.8em;
	font-size: 1.6em;
	line-height: 1em;
	text-transform: none;
}


h4	{
	margin: 0px 30px 0px 30px;
	font-size: 1.2em;
	padding-bottom: 0.4em;
	line-height: 1.4em;
	text-transform: none;
	font-weight: 400;
	transform: translateY(-10px);
}

p, iframe{
	margin: 0px 30px 0em 30px;
	font-size: 1.2em;
	line-height: 1.8em;
	padding-bottom: 0.8em;
	font-weight: 400;
}

p:last-child	{
	margin-bottom: 20px;
}

a	{
	color: var(--color-lightgray05);
	text-decoration: underline;
}

a:hover	{
	text-decoration: underline;
	color: var(--color-lightgray10);
}

@media only screen and (max-width: 900px) {

	h2	{
		font-size: 1.5em;
		line-height: 1.3em;
		margin: 15px 15px 0px 15px;
	}

	h3	{
		font-family: 'Bree Serif', serif;
		margin: 15px 15px 0px 15px;
		padding-bottom: 0.3em;
		font-size: 1.1em;
		line-height: 1.1em;
		text-transform: none;
	}

	h4	{
		font-size: 1.1em;
		margin: 0px 15px 0px 15px;
	}

	p, iframe {
		margin: 0px 15px 0.6em 15px;
		font-size: 1.1em;
		line-height: 1.7em;
	}

	p:last-child	{
		margin-bottom: 0px;
	}

}

/****************************** Header *****************************/

header	{
	position: fixed;
	top: 0;
	z-index: 99;
	width: 100%;
	padding: 44px 0px;
	background-color: var(--color-darkgray00);
	transition: all 0.4s ease-in-out;
}

header .header-wrapper	{
	display: flex;
	justify-content: space-between;
 	width: 90%;
	max-width: 1000px;
	margin: auto;
	text-transform: uppercase;
	text-decoration: none;
	color: white;
	font-size: 1.2em;
	font-weight: 400;
	transition:	0.3s ease;
}

header h1	{
	color: white;
	padding-bottom: 4px;
}

header nav ul	{
	display: flex;
	flex-direction: row;
}

header nav ul li	{
	color: white;
	margin-left: 40px;
	padding-bottom: 4px;
}

.currentpage	{
	border-bottom: 2px solid white;
}

header nav ul li:hover	{
	color: white;
	border-bottom: 2px solid white;
	cursor: pointer;
}

.shrink	{
	padding: 18px 0 13px 0;
	background-color: var(--color-darkgray08);
	border: none;
}

#mobilenav	{
	display: none;
}

header a	{
	text-decoration: none;
}

header a:hover	{
	text-decoration: none;
}


@media only screen and (max-width: 900px) {

	header	{
		display: none;
		position: absolute;
		top: 0;
		height: 110px;
		background-color: var(--color-darkgray08);
		text-decoration: none;
	}

	header .header-wrapper	{
		display: flex;
		flex-direction: column;
		text-align: center;
		}

	header nav ul	{
		display: flex;
		flex-direction: column;
		text-align: center;
		border-bottom: 2px solid var(--color-darkgray08);
	}

	header h1	{
		font-size: 1.1em;
		font-weight: 300;
		text-decoration: none;
	}

	header nav	{
		border-top: 1px solid white;
		padding-top: 10px;
		margin-top: 10px;
	}

	header nav ul li	{
		margin-left: 0;
		margin-top: 10px;
		font-weight: 300;
		text-decoration: none;
	}

	header h1:hover, header nav ul li:hover	{
		border-bottom: none;
		text-decoration: none;
	}

	.currentpage	{
		border-bottom: none;
		font-weight: 700;
	}

	.shrink	{
		padding: none;
		height: 110px;
		background-color: inherit;
		text-decoration: none;
	}

	#mobilenav	{
		display: flex;
		position: fixed;
		height: 60px;
		background-color: var(--color-darkgray08);
		width: 100%;
		z-index: 99;
		top:0;
	}

	#controls	{
		margin-left: 5%;
		margin-right: 5%;
		margin-top: 20px;
		width: 90%;
		display: block;
	}

	#mobilenav i {
		font-size: 20px;
		color: white;
		height: 30px;
		width: 30px;
		margin-right: 30px;
	}

	#mobilenav h1 {
		float: left;
		color: white;
	}

	#mobilenav .icon i{
		float: right;
		text-align: right;
		margin-right: 0px;
	}

	#mobilenav nav {
		display: none;
		color: white;
		flex-flow: nowrap;
		animation: showSlow 0.4s ease forwards;
	}

	#hamburgermenu	{
		width: 100%;
		position: fixed;
		display: flex;
		flex-direction: column;
		z-index: 99;
		top: 60px;
		background-color: var(--color-darkgray08);
	}

	#hamburgermenu li	{
		padding: 20px 5% 20px 0px;
		text-align: right;
		font-size: 1.2em;
		color: white;
		font-weight: 400;
		text-decoration: none;
		text-transform: uppercase;
	}

	#hamburgermenu ul li:hover	{
		border-bottom: none;
		text-decoration: none;
		font-weight: 700;
	}

	#hamburgermenu	.currentpage	{
		border-bottom: none;
		font-weight: 700;
	}

	header a:hover	{
		text-decoration: none;
	}

}

/****************************** Buttons *****************************/

button	{
	padding: 20px 30px;
	font-size: 1.2em;
	text-transform: uppercase;
	transition: 0.3s ease;
	white-space: nowrap;
  overflow: hidden;
}

button:hover, button:focus, button:active	{
	cursor: pointer;
	border: 1px solid var(--color-lightgray10);
	background-color: white;
	color: var(--color-lightgray10);
}

.buttonintro	{
	background-color: var(--color-darkgray00);
	border: 1px solid white;
	margin: 0;
	color: white;
	margin-bottom: 115px;
}

.buttonintro:hover, .buttonintro:focus, .buttonintro:active,	{
	border: 1px solid white;
	background-color: white;
	color: var(--color-lightgray10);
}

.buttondark	{
	background-color: var(--color-lightgray10);
	border: 1px solid var(--color-lightgray10);
	margin: 0 30px 30px 30px;
	color: white;
}

button i {
	margin-right: 12px;
}

@media only screen and (max-width: 900px) {

	button	{
		width: 90%;
		margin: 0 5% 0 5%;
		font-size: 1.1em;
	}

	.buttonintro	{
		max-width: 240px;
		padding: 15px 0px 15px 0px;
		margin-bottom: 40px;
	}

	.buttondark	{
		margin: 0 5%;
		margin-bottom: 20px;
		color: white;
		padding-left: 20px;
	}

}

/****************************** Sections *****************************/

section	{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	width: 90%;
	max-width: 1000px;
	margin: auto;
	margin-top: 50px;
	border: 1px solid var(--color-lightgray10);
	animation: showSlow 1s ease forwards;
}

section	.text	{
	width: 65%;
	text-align: left;
}

section:nth-of-type(1)	{
	opacity: 0;
	animation-delay: 0.15s;
}

section:nth-of-type(2)	{
	opacity: 0;
	animation-delay: 0.3s;
}

section:nth-of-type(3)	{
	opacity: 0;
	animation-delay: 0.5s;
}

section:nth-of-type(4)	{
	opacity: 0;
	animation-delay: 0.8s;
}

section:nth-of-type(5)	{
	opacity: 0;
	animation-delay: 1.1s;
}

section:nth-of-type(6)	{
	opacity: 0;
	animation-delay: 1.4s;
}

section:nth-of-type(7)	{
	opacity: 0;
	animation-delay: 1.8s;
}

section:nth-of-type(8)	{
	opacity: 0;
	animation-delay: 2.2s;
}

section:nth-of-type(9)	{
	opacity: 0;
	animation-delay: 2.6s;
}

section:nth-of-type(10)	{
	opacity: 0;
	animation-delay: 3.0s;
}

footer	{
	animation: showSlow 1s ease forwards;
	opacity: 0;
}

#footerportfolio	{
	padding-top: 50px;
}

@media only screen and (max-width: 900px) {

	section	{
		display: flex;
		flex-direction: column;
		justify-content: center;
		flex-wrap: wrap;
		margin-top: 25px;
	}

	section	.text	{
		text-align: left;
		width: 100%;
	}

}

/****************************** Intro-headers *****************************/

.intro	{
	min-height: 120px;
	top: 0;
	width: 100%;
	background-image: url(images/BackgroundRight.jpg);
	background-color: var(--color-darkgray1);
	background-position: center top;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

.introtext	{
	margin-top: 0px;
	display: flex;
	flex-direction: column;
	color: white;
	border: none;
}

.introtext p	{
	font-family: 'Bree Serif', serif;
	max-width: 80%;
	font-size: 3em;
	line-height: 1.4em;
	color: white;
	margin: 170px 0 0 0;
}

.introtext .subtitle	{
	font-family: 'Roboto', sans-serif;
	font-size: 1.4em;
	line-height: 1.6em;
	margin: 0 0 50px 0;
}

@media only screen and (max-width: 900px) {

	.intro	{
		height: auto;
		min-height: 60px;
		background-position: center top;
	}

	.introtext	{
		max-width: 90%;
	}

	.intro p {
		max-width: 90%;
		margin-top: 80px;
		font-size: 1.6em;
	}

	.intro .subtitle	{
		max-width: 90%;
		font-family: 'Roboto', sans-serif;
		font-size: 1.1em;
		margin-bottom: 25px;
	}

}

/****************************** Portfolio-overview *****************************/


.mobileimage	{
	display: none;
}

.imagerow	{
	display: block;
	width: 100%;
	border: none;
	margin-bottom: 40px;
	text-align: center;
	text-decoration: none;
}

.imagewrap	{
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	width: 100%;
}

.imagewrap .logo {
	min-width: 150px;
	max-width: 25%;
}

.imagewrap .logo img {
	max-width: 80%;
}

.imagewrap .logo a {
	text-decoration: none;
}

.portfolio {
	flex-direction: row;
	border-color: var(--color-lightgray10);
	text-align: left;
	margin-top: 75px;
}

.portfolio img	{
	align-self: center;
	width: 100%;
	max-width:600px;
	transform: translateX(65px);
	transition: 0.2s ease;
}

#even	{
	text-align: right;
	align: right;
}

#even img	{
	transform: translateX(-65px);
}

footer	{
	flex-direction: column;
	width: 100%;
	margin: auto;
	border: none;
	text-align: center;
	margin-bottom: 4em;
}

footer	h2	{
	width: 100%;
	border: none;
	margin: auto;
}

/****************************** Portfolio detail-pages *****************************/

.mainview	{
	display: flex;
	flex-direction: row;
	justify-content: center;
	width: 100%;
	height: 250px;
	background-image: url(images/BackgroundCentre.jpg);
	background-color: var(--color-lightgray10);
	background-position: center top;
	margin-bottom: 250px;
	padding-top: 200px;
}

.mainimage	{
	height: 500px;
	animation: showSlow 0.5s ease forwards;
}

.portfolioblock	{
	border: none;
	max-width: 760px;
	margin-bottom: 10px;
	margin-top: 0;
	opacity: 0;
	animation: showSlow 0.5s ease forwards;
	animation-delay: 0.3s;
}

.portfolioblock .text	{
	width: 100%;
	margin: auto;
}

.portfolioblock img	{
	width: 100%;
	max-width: 754px;
	margin-top: 20px;
	margin-bottom: 20px;
}

iframe	{
	width: 100%;
	height: 400px;
	padding-bottom: 2em;
}

/****************************** Portfolio-tables *****************************/

table	{
	margin: auto;
	width: 93%;
	max-width: 760px;
	margin-bottom: 1em;
	padding-bottom: 1em;
}

table	th{
	padding: 5px;
	color: var(--color-lightgray05);
	font-weight: 400;
	line-height: 1.4em;
}

table .firstcollumn	{
	width: 100px;
}

/****************************** About-page *****************************/

.aboutme .text	{
	width: 65%;
}

#FotoMarrick	{
	align-self: flex-end;
	max-height: 450px;
	margin-right: 30px;
}

/****************************** Media Queries *****************************/

@media (prefers-color-scheme: dark) {
	:root {
		color-scheme: light dark;
		--color-lightgray05: rgba(255, 255, 255, 1);
		--color-lightgray10: rgba(255, 255, 255, 1);
		--color-darkgray00: rgba(30, 30, 30, 0);
		--color-darkgray08: rgba(30, 30, 30, 0.8);
		--color-darkgray10: rgba(30, 30, 30, 1);
	}

	body	{
		background-color: var(--color-darkgray10);
	}

	h1, h2, h3, h4, p	{
		color: rgba(255, 255, 255, 1);
	}

	h3, h4 {
		color: rgba(255, 255, 255, 0.5);
	}

	.buttondark	{
		background-color: rgba(52, 52, 52, 1);
		border-color: rgba(52, 52, 52, 1);
	}

	.buttondark:hover	{
		color: rgba(52, 52, 52, 1);
	}
}

@media only screen and (max-width: 1200px) {

	.portfolio img	{
		transform: translateX(-10px);
		width: 55%;
	}

	.portfolio img:hover	{
		transform: none;
		transition: none;
	}
}


@media only screen and (max-width: 900px) {

	.portfolio	{
		margin-top: 30px;
		margin-bottom: 50px;
	}

	.portfolio button	{
		margin-bottom: 5px;
	}

	.portfolio h2	{
		margin-top: 0;
	}

	.portfolioblock .text	{
		width: 100%;
	}

	.portfolioblock img	{
		margin-top: 0;
		margin-bottom: 1em;
	}

	.mobileimage	{
		display: block;
	}

	.desktopimage	{
		display: none;
	}

	.imagerow	{
		margin-bottom: 35px;
		max-width: 100%;
	}

	.imagerow .imagewrap	{
		flex-wrap: wrap;
		margin: auto;
	}

	.imagewrap .logo	{
		max-width: 50%;
	}

	.imagerow .imagewrap img	{
		margin: auto;
		max-height: 150px;
		max-width: 85%;
	}

	.portfolio img	{
		width: 90%;
		max-width:500px;
		transform: translateY(-30px);
		margin: auto;
	}

	.portfolio img:hover	{
		width: 90%;
		max-width:500px;
		transform: translateY(-30px);
		margin: auto;
	}

	.portfolio .text	{
		transform: translateY(-15px);
	}

	.mainview	{
		padding-top: 75px;
		justify-content: center;
		width: 100%;
		max-width: none;
		border: none;
		height: auto;
		margin-bottom: 0px;
		background-color: rgba(52, 52, 52, 1);
		animation: showSlow 0.5s ease forward;
	}

	.mainimage	{
		align-self: center;
		width: 90%;
		max-width: 475px;
		height: auto;
		margin-bottom: 1em;
	}

	.portfolioblock	{
		width: 95%;
		padding: none;
		margin: 0.5em auto 0em auto;
	}

	iframe	{
		width: 90%;
		height: none;
		max-height: 180px;
		padding: 0px;
		padding-bottom: 1em;
	}

	footer	{
		border-top: 1px solid rgba(52, 52, 52, 1);
		width: 90%;
		padding-top: 20px;
		margin: 10px auto 30px auto;
	}

	#footerportfolio	{
		border: none;
		padding-top: 0;
		margin: 0 auto 30px auto;
	}

	.aboutme .text	{
		width: 100%;
	}

	#FotoMarrick	{
		max-width: 300px;
		align-self: center;
		margin: 0px;
		transform: translateX(15px);
	}

	#contactsymbols logo{
		max-width: 10%;
	}
}
