* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-size: 16px;
	font-family: "Montserrat", sans-serif;
}

:root {
	--a4width: 2480px;
	--a4height: 3508px;
	--max-container-width: 40rem;
	--nav-height: 2em;
	--font-weight-p: 400;
	--font-weight-h3: 500;
}

.body {
	position: relative;
}

a {
	color: black;
	text-decoration: none;
}

a:hover, a:focus {
	text-decoration: underline;
}

.cursor {
	position: absolute;
	width: 1.5em;
	height: 1.375em;
	background-size: contain;
	background-repeat: no-repeat;
	pointer-events: none;
}

.pageContainer {
	padding: 0.5em;
	position: relative;
	margin-inline: auto;
	max-width: var(--max-container-width);
}

.nav {
	width: 100%;
	margin-block-start: 1em;
	min-height: var(--nav-height);

	& .nav_list {
		list-style: none;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		gap: 2em;
	}

	& a {
		font-size: 1.5em;
	}

	& .active {
		text-decoration: underline !important;
	}
}

.header {
	width: 100%;
	margin-block-start: 2em;
	margin-block-end: 4em;

	& .information {
		position: relative;
		margin-inline: auto;
		margin-block-end: 2em;
		width: fit-content;
		text-align: center;

		@media screen and (min-width: 576px) {
			display: flex;
			align-items: center;
			gap: 1em;
		}
	}

	& .information_img {
		max-width: 15em;
		max-height: 15em;
		border-radius: 50%;
		border: 1px solid black;
	}

	& .information_img:hover {
		rotate: 360deg;
		transition-duration: 2.5s;
	}

	& .information_text {
		margin-block-end: 1.75em;

		& h1 {
			font-size: 2em;
			font-weight: bold;
			margin-block-end: 0.25em;
		}

		& p {
			font-size: 1.25em;
		}
	}


	& .information_socials {
		position: relative;
		display: flex;
		justify-content: space-evenly;
		gap: 2em;
		list-style: none;
	}

	& .information_social {
		text-align: center;

		& img {
			max-height: 2em;
			margin-inline: auto;
		}

		& p {
			font-size: 1em;
			text-align: center;
		}
	}

	& .aboutme {
		max-width: 60ch;
		margin-inline: auto;
		font-weight: var(--font-weight-p);
	}
}

.contact{
	margin-block-end: 2em;

	& h2{	
		font-size: 1.125em;
	}

	& ul{
		list-style: none;
	}

	& li {
		margin-block-start: 0.75em;
		display: flex;
		align-items: center;
	}

	& .icon{
		margin-inline-end: 0.5em;
	}
}

.highlighted {
	& h2 {
		text-align: center;
		margin-block-end: 1em;
		font-size: 1.25em;
	}
}

.highlight {
	margin-block-end: 0 !important;
}


.project {
	margin-block-end: 1.5em;

	& figure {
		position: relative;
		background: grey;
		border-radius: 1em;
		min-height: 20em;
		background-size: cover;
		background-position: center;
		border: 1px solid black;
	}

	& a {
		padding: 0.25em;
		border: 2px solid gray;
		border-radius: 0.5em;
		background: none;
	}

	.project_about {
		padding: 0.75em;
		margin-block-end: 0.5em;

		& p {
			font-weight: var(--font-weight-p);
		}
	}

	.project_titleDate {
		display: flex;
		justify-content: space-between;
		margin-block-end: 0.5em;

		& h2 {
			font-weight: var(--font-weight-h3);
			font-size: 1.125em;
		}

		& p {
			font-weight: var(--font-weight-p);
		}
	}
}

.myworkTitle {
	text-align: center;
	font-size: 1.5em;
	margin-block: 2em;
}

.cvList {
	margin-block-end: 2em;
}

.cvH2 {
	font-size: 1.25em;
	text-align: center;
	margin-block-end: 1em;
}

.cvListItem {
	margin-block: 2.5em;
}

.cvListItemTop {
	display: flex;
	justify-content: space-between;
}

.cvListItemTop, .cvListItemPlace, .cvListItemText {
	margin-block-end: 0.5em;
}

.cvListItemText {
	font-style: italic;
}

.footer {
	padding-inline: 0.5em;
	padding-block: 1em;
	text-align: center;
	color: #585858;
}

.hidden {
	display: none;
}

#ghost{
	min-height: 15em;
	min-width: 15em;
	display: none;
}

.DownloadPrint{
	display: flex;
	justify-content: center;
	gap: 5em;
	flex-wrap: wrap;

	& button, a {
		padding-inline: 1em;
		padding-block: 0.5em;
		border: 1px solid darkgray;
		border-radius: 0.5em;
		text-align: center;
		background: rgba(250, 250, 250, 1);
	}

	& button:hover, a:hover{
		cursor: pointer;
	}
}


@media print {
	.hidden {
		display: block;
	}

	.notHidden{
		display: none;
	}

	.information{
		display: flex;
		margin-block-end: 1em;
		align-items: center;
	}

	.information_text{
		& p, h1{
			margin-inline-start: 1em;
		}
	}

	.information_img{
		width: 15em;
		max-height: 15em;
	}

	.header{
		margin-block: 2em;
		width: 100%;
	}

	.aboutme{
		margin-block-end: 2em;
	}
}