body{
	margin: 0;
	font-family: Arial;
}

/*--------------------Header--------------------*/

.header{
	position: sticky;
	top: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #444;
	box-shadow: 0 0 7px #444;
	white-space: nowrap;
	letter-spacing: 2px;
}

.nav{
	top: 0;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding-right: 1em;
}

.nav__item__link{
	font-size: 1.5em;
	font-weight: bold;
	color: #00bfff;
	text-decoration: none;
}

.nav__item{
	position:relative;
	padding: 0.3em 0.7em;
	margin: 0.5em 0.7em;
	border-left-style: solid;
	border-width: thick;
	border-color: #00bfff;
}

.nav__item:hover > .nav__item__link{
	color: #444;
	transition: .3s;
}

.nav__item::before{
	content: "";
	position: absolute;
	z-index:-1;
	top: 0;  left: 0;  right: 0;  bottom: 0;
	background: #00bfff;
	transform: scaleX(0);
	transform-origin: 0 50%;
	transition: transform .3s;
}

.nav__item:hover::before{
	transform: scaleX(1);
}

.header__title{
	padding: 0.2em 1em;
	color: #00bfff;
	font-size: 3em;
	font-weight: bold;
	user-select: none;
}

.current::before{
	transform: scaleX(1);
}

.current .nav__item__link{
	color: #444;
}

.header__title::before{
	width: 0.2em;
	content: "";
	position: absolute;
	z-index:-1;
	top: 0;  left: 0;  right: 0;  bottom: 0;
	background: #00bfff;
	transform: translateX(0.25em) scaleY(0.12) scaleX(3);
	transform-origin: 0 50%;
	transition: transform .3s;
}

.header__title:hover::before{
	transform: translateX(8.6em) scaleY(0.6) scaleX(1);
}

.burgericon{
	height: 4em;
	width: 4em;
	fill: #00bfff;
	display: none;
}

@media screen and (max-width: 1910px) {
	.header{
	flex-direction: column;
	}

	.nav{
		display: flex;
		flex-wrap: wrap;
		justify-content: space-around;
	}

	.nav__item{
		margin: 1em 4em;
		font-size: 1.5em;
	}

	.header__title{
		white-space: normal;
		text-align: center;
	}

	.header__title::before{
	content: none;
	}
}

@media screen and (max-width: 800px) {
	.burgericon{
		display: initial;
	}

	.nav{
		display: none;
	}

	.header__title{
		font-size: 3em;
	}
}


/*--------------------Footer--------------------*/

.footer{
	bottom: 0px;
	width: 100%;
	background: #444;
	display: flex;
	justify-content: center;
	align-items: center;
	color: white;
}

.footer__logoiut{
	width: 10em;
	height: 4em;
	position: relative;
	margin: 1em 2em;
}

.footer__text{
	font-size: 1.2em;
	margin: 1em 2em;
}

.footer__ref{
	color:white;
}

.footer__button{
	width: 3em;
	height: 3em;
	position: fixed;
	left: 1.5em;
	bottom: 1.5em;
	z-index: 1;
	transition: transform 0.3s;
	cursor: pointer;
}

.footer__links{
	position: fixed;
	bottom: 7em;
	right: 1em;
	display: flex;
	flex-direction: column;
	justify-items: flex-end;
	align-items: center;
}

.footer__links__item{
	width: 3em;
	height: 3em;
	margin: 0.3em 0;
}



/*--------------------Main--------------------*/


.cv{
	display: grid;
	grid-template-columns: 30% 70%;
	grid-template-rows: 3% 12% 85%;
	width: 60em;
	margin: auto;
	margin-top: 1em;
	margin-bottom: 8em;
	border: 1px solid;
}

.cv__item{
	padding: 0.6em;
	line-height: 1.7em;
}

.topLeft{
	background: #f9f9f9;
}

.middleLeft{
	background: #58c8f5;
}

.middleRight{
	background: #58c8f5;
	color: #fff;
	font-weight: bold;
	font-size: 2em;
}

.bottomLeft{
	background-image: linear-gradient(#f9f9f9, #fff);
}

.cv__item__title{
	font-weight: bold;
	font-size: 1.4em;
	margin-top: 0.3em;
}

.cv__item__line{
	height: 4px;
	background-color: #58c8f5;
	border-style: none;
	margin-top: 0;
}

.cv__item__img{
	display: block;
	height: 8em;
	width: 8em;
	margin: auto;
	border: 3px solid #fff;
}

.alignright{
	float: right;
}

.printbutton{
	position: fixed;
	top: 20em;
	right: 1em;
	height: 7em;
	width: 7em;
	cursor: pointer;
}

@media print{
	.header{
		display: none;
	}

	footer{
		display: none;
	}

	.printbutton{
		display: none;
	}
}