@font-face {
	font-family: "MyriadPro-Regular";
	src: url('fonts/MyriadPro-Regular.otf') format('opentype');
}

@font-face {
	font-family: "MyriadPro-Bold";
	src: url('fonts/MyriadPro-Bold.otf') format('opentype');
}

@font-face {
	font-family: "MyriadPro-BoldIt";
	src: url('fonts/MyriadPro-BoldIt.otf') format('opentype');
}

html {
	height: 100%;
	@media (orientation: landscape) {
		font-size: x-large;
	}
	@media (orientation: portrait) {
		font-size: medium;
	}
}

body {
	display: grid;
	height: 100%;
	margin: auto;
	color: DarkBlue;
	background-color: White;
	font-family: MyriadPro-Regular, Arial, Helvetica, sans-serif;
}

.header {
	top: 0px;
	margin: auto;
	z-index: 0;
	text-align: center;
}

.title {
	-webkit-text-fill-color: transparent;
	@media (orientation: landscape) {
		font-size: 9em;
		line-height: 0.7em;
		-webkit-text-stroke: 4px;
	}
	@media (orientation: portrait) {
		font-size: 3em;
		line-height: 0.9em;
		-webkit-text-stroke: 1.5px;
	}
	font-family: MyriadPro-BoldIt;
	margin: auto;
	padding: 0px;
	font-style: regular;
}

.subtitle {
	text-transform: uppercase;
	letter-spacing: 0.6em;
	@media (orientation: landscape) {
		font-size: 1.5em;
	}
	@media (orientation: portrait) {
		font-size: 0.5em;
	}
	margin: auto;
	padding: 0px;
}

menu {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	list-style: none;
	margin: auto;
	padding: 1em;
}

.container {
	@media (orientation: landscape) {
		width: 30em;
	}
	@media (orientation: portrait) {
		width: 20em;
	}
	margin: auto;
	text-align: justify;
}

.footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 0px;
	padding: 0px:
	z-index: 1;
	position: fixed;
	bottom: 10px;
	text-align: center;
	width: 100%;
}

.upbutton {
	width: 50px;
	height: 50px;
	display: block; /* Required to avoid gap, see: https://stackoverflow.com/questions/27698166/link-extends-to-space-outside-of-image */
}

h1 {
	font-family: MyriadPro-Bold;
	font-size: 1.5em;
}

a {
	color: DarkBlue;
	text-decoration: none;
}

.site {
	text-align: center;
}

#projects {
	display: grid;
	flex-wrap: wrap;
	justify-content: center;
	margin: auto;
	gap: 3em;
	@media (orientation: landscape) {
		grid-template-columns: 1fr 1fr 1fr;
		width: 30em;
	}
	@media (orientation: portrait) {
		grid-template-columns: 1fr 1fr;
		width: 20em;
	}
}

#contact {
	margin: auto;
	width: 30em;
	text-align: justify;
}

.project {
	height: 100px;
	width: 100px;
	border-radius: 50%;
}