* {
	margin: 0;
	padding: 0;
	font-family: "Lato", sans-serif;
	box-sizing: border-box;

}
body {
	background-color: #fff; 
	background-image: linear-gradient(#eee .1em, transparent .1em); 
	background-size: 100% 1.2em;
}

/*Popup figure*/

#popup {
	display: none;
	background: white;
	position: fixed;
	margin: auto;
	top: calc(50% - 14em);
	box-shadow: 0 0 0 100vmax rgba(0,0,0,.8);
	z-index: 1;
	max-width: min-content;
	max-width: -webkit-min-content;
	max-width: -moz-min-content;
}

#popup img {
	width: 20em;
}

#popup:target {
	display: block;
}

#close {
	background-color: #34495e;
	color: white;
	text-decoration: none;
	padding: 1.7em 1em;
	position: absolute;
	right: 0;
	z-index: 0;
}
#close:hover {
	background-color: #2c3e50; 
}

figcaption {
	margin-top: .5em;
	color: #34495e;
	font-weight: 600;
	margin: 1em;
}

/*navigation*/

[role="navigation"], ul {
	background-color: #34495e;
}

svg {
	width: 1em;
	height: 1em;
	margin-right: 1em;
	fill: #1abc9c;
}

.profilePicture {
	width: 5em;
	border-radius: 3em;
	margin: 1em;
	display: block;
    margin-left: auto;
    margin-right: auto;
}

[role="banner"] p {
	text-align: center;
	color: #2c3e50;
}

[role="banner"] {
	background-color: #ecf0f1;
}

[role="banner"] li a:hover {
	display: block;
	background-color: #2c3e50;
}

[role="banner"] p {
	margin-bottom: 1em;
}

[role="banner"] h1 {
	padding-top: .5em;
	font-size: 2em;
	font-family: Ampersand, Helvetica, sans-serif;
	text-align: center;	
	color: #2c3e50;
}

@font-face {
  font-family: 'Ampersand';
  src: local( 'Times New Roman');
  unicode-range: U+26;
}

[role="navigation"] a, ul {
	color: white;
	display: block;
}

[role="navigation"] a {
	padding: 1em;
	list-style: none;	
	text-decoration: none;
}

/*main*/

main > article {	
	color: white;
	padding: 1em;
	line-height: 1.7em;
}

/*about*/

#about {
	background-color: white;
	margin: 2em 0
}

#about h1, p {
	color: #2c3e50;
}

#about span {
	color: #1abc9c;
	font-size: 0.8em;
}

main > article h2 {
	color: #2c3e50;
	font-size: 1.3em;
}

main > article p {
	margin-top: 1em;
}

/*password*/

#password:target{
	border-left: 1em solid #16a085;
	transition-duration: .6s;
}

#password {
	background-color: #1abc9c;
	margin-bottom: 1em;
}

#password fieldset {
	border: none;

}
#password input {
	width: 100%;
	height: 3em;
}

#password button {
	background-color: #16a085;
	border: none;
	width: 100%;
	height: 3em;
	color: white;
	font-size: 1em;
	margin-top: 1em;
}

#password button:hover {
	opacity: .7;
	filter: alpha(opacity=70);
}

#password legend {
	color: #2c3e50;
	margin-bottom: 1em;
}

/*photo album*/

#photo-albums:target{
	border-left: 1em solid #bdc3c7;
	transition-duration: .3s;
}

#photo-albums img {
	width: 100%;
}

#photo-albums img:hover {
	opacity: .8;
	filter: alpha(opacity=80);
}

#photo-albums svg {
	display: none;
}

#photo-albums {
	margin-bottom: 1em;
	background-color: #ecf0f1;
	color: #2c3e50;
}

#photo-albums h2 {
	color: #2c3e50;
}

/*footer*/

[role="contentinfo"] {
	background-color: #34495e;
	line-height: .5em;
	color: white;
	min-width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	padding: 1em;
}

[role="contentinfo"] > * {
	min-width: 15em;
	text-align: center;
}
[role="contentinfo"] li {
	list-style: none;
	padding: 1em;
	
}
[role="contentinfo"] a {
	text-decoration: none;
	color: white;
}

address{
	line-height: 2em;
	border-top: 1px solid #2c3e50;
	border-bottom: 1px solid #2c3e50;
	padding-top: 1.5em;
	margin: .5em 0;
}

@media (min-width: 38em){
	
	/*main*/

	main, body {
		display: flex;
		flex-wrap: wrap;
		box-pack: center;
		justify-content: center;
	}
	
	main {
		width: 50%;
		margin: 1em;
	}
	
	#photo-albums {
		width: 100%;
	}

	/*navigatie*/
	
	[role="banner"] h1 {
		font-size: 1.4em;
		margin: 0 .5em;
	}
	
	[role="banner"] {
		min-width: 25%;
		max-height: 20em;
	}

	/*about*/

	#about header {
		width: 100%;
	}
	
	#about h1 {
		font-size: 3em;
	}
	
	#about span {
		font-size: .5em;
	}
	
	#about {
		margin: 2em 0;
	}

	/*password*/

	#password {
		margin-bottom: 1em;
	}	
}

@media (min-width: 32em) and (max-width: 47em) {
	
	[role="contentinfo"] > * {
		min-width: 30em;
	}
}

@media (min-width: 39em) and (max-width: 53em) {
	
	main{
		width: 60%;
	}
}

@media (max-width: 39em) {
	
	[role="navigation"] {
		text-align: center;
	}
	#popup{
		left: calc(50% - 8.5em);
		
	}
	#popup img{
		width: 17em;
	}

}






