body {
	background-image: url("anim_BG_01.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

#banner {
	width: 100%;
	height: 15%;
}
#banner > div {
	background-image: url("CVtitle_comp_B.png");
	padding: 1em 20%;
	height: 100%;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	background-origin: content-box;
}

#button-back {
	display: block;
	float: left;
	width: 15%;
	height: 100%;
}

#button-pdf {
	display: block;
	float: right;
	width: 20%;
	height: 100%;
	background-image: url("PDF.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	padding: 1em;
	box-sizing: border-box;
	background-origin: content-box;
}
#button-pdf::after {
	/* image preload */
	position:absolute; width:0; height:0; overflow:hidden; z-index:-1;
	content: url("PDF_on.png");
}
#button-pdf:hover {
	background-image: url("PDF_on.png");
}

#container {
	height: 85%;
	padding-top: 1em;
	box-sizing: border-box;
}

#buttons {
	height: 25%;
	width: 80%;
	margin: 0 auto;
	display: table;
}

.portfolio-button {
	cursor: pointer;
	display: table-cell;
}

#gallery {
	height: 100%;
	overflow-y: auto;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  align-items: auto;
  align-content: start
}
.item {
  flex: 0 1 auto;
  margin: 10px;
}
.item > img {
	display: block;
	max-width: 100%;
	height: auto;
}

div.buttons {
	height: 6em;
	text-align: center;
}
div.buttons > a {
	height: 100%;
	width: 23%;
	display: inline-block;
}