/* Style sheet Panjoel 30-08-2021 gebaseerd op Mike A */

body {
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
	font-size: 1em;
	color: #333333;
}

* {
  box-sizing: border-box;
}

h1 {
	font-size: 1em;
	font-style: italic;
	font-weight: bold;
	margin: 0em;
}

p {
	font-size: 1em;
}
		
a {		
	color: #333333;
}

a.link {
	color: #333333;
	text-decoration: none;
}

a.underline {
	color: #333333;
	text-decoration: underline;
}

.centered {
	text-align: center;
}

.quote {
	font-size: 1em;
	font-style: italic;
	font-weight: bold;
	margin: 0.5em;
}

/* Index page */

header.centered>img {
	width: 40%;
	height: auto;
}

main.main {
	display: block;
	width: 96%;
	margin-left: 2%;
}

main.main>article {
	width: 100%;
	max-width: 100%;
}

nav.indexen>a>img {
	position: relative;
	width: 20%;
	height: auto;
	margin-left: 20%;
	margin-bottom: 1em;
}

a.old:link{
	opacity: 0.5;
}

a.old:hover{
	opacity: 1;
}

nav.sites {
	display: grid;
	grid-template-columns: calc(50% - 0.75em) calc(50% - 0.75em);
	grid-template-areas: ". .";
	grid-gap: 0em 1.5em;
	box-sizing: content-box;
}

div.site {
	border: double;
	border-width: thick;
	border-color: #C0C0C0;
	padding: 1em;
	margin-bottom: 1.5em;
	box-shadow: 0em 0.6em 2em rgba(0,0,0,0.20);
	box-sizing: content-box;
	height: calc(100% -(3.5em + 10px));
	overflow: hidden;
}

div.site>img {
	width: 7em;
	height: auto;
	display: inline-block;
	float: left;
	margin: 0.75em 1.25em 0.75em 0.75em;
}

/* Blog pages */

/* dropdown menu */

ul.menu {
	list-style-type: none;
	padding: 0;
	overflow: hidden;
	margin: 0 auto;
}

div.dropdown {
	position: absolute;	
	display: inline-block;
}
	
nav.dropdown-content {
	display: none;
	position: absolute;
	background-color: #ffffff;
	min-width: 16em;
	box-shadow: 0em 0.6em 1em 0em rgba(0,0,0,0.2);
	z-index: 1;
}
		
nav.dropdown-content a {
	color: #333333;
	padding: 0.75em 1em;
	text-decoration: none;
	display: block;
}
		
nav.dropdown-content a:hover {
	background-color: #2E2AFC;
}
		
div.dropdown:hover .dropdown-content {
  display: block;
}

div.dropdown:hover .dropbtn {
  background-color: #2E2AFC;
}

img.dropbtn {
	height: 1.6em;
	width: 1.6em;
}

/* Header */

header {
	margin-bottom: 2em;
}

/* Content lay-out */

main {
	display: flex;
}

article {
	flex: 50%;
	max-width: 50%;
}

div.desktop {
	flex: 50%;
	max-width: 50%;
	display: grid;
	grid-template-columns: 100%;
	grid-template-areas: ".";
	align-items: center;
}

div.mobile {
	display: none !important;
}

article>div>p {
	max-width: 40em;
	margin: 1em auto;
	padding: 0 1em;
}

/* image styling */

img.lig, img.sta {
	display: block;
	width: 80%;
	height: auto;
	margin: 1.7em auto;
	padding: 0.75em;
	box-shadow: 0em 0.75em 2.25em rgba(0,0,0,0.35);
}

img.lig {
	max-width: 27em;
}

img.sta {
	max-width: 20em;
}

/* Footer */

footer {
	margin-bottom: 50px;
}

/* Small screens */

@media all and (max-width: 50em) {
  div.desktop {
		display: none !important;
	}
	
	div.mobile {
		display: block !important;
	}
	
	article {
		width: 100%;
		max-width: 100%;
	}

	nav.sites {
		display: grid;
		grid-template-columns: 100%;
		grid-template-areas: ".";
		box-sizing: content-box;
	}
}

/* Medium-Large screens */

@media all and (min-width: 102em) and (max-width: 132em) {
	article {
		flex: 50em;
		max-width: 50em;
	}
	
	div.desktop {
		flex: calc(100% - 50em);
		max-width: calc(100% - 50em);
		grid-template-columns: 50% 50%;
		grid-template-areas: ". .";
	}
	
	img.lig {
		max-width: 54em;
	}

	img.sta {
		max-width: 40em;
	}

	nav.sites {
		display: grid;
		grid-template-columns: calc(33.3% - 1em) calc(33.3% - 1em) calc(33.3% - 1em);
		grid-template-areas: ". . .";
		grid-gap: 0em 1.5em;
		box-sizing: content-box;
	}
	
	main.main>article {
		font-size: 1.5em;
	}
}

/* Big screens */

@media all and (min-width: 132em) {
	article {
		flex: 50em;
		max-width: 50em;
	}
	
	div.desktop {
		flex: calc(100% - 50em);
		max-width: calc(100% - 50em);
		grid-template-columns: 33% 33% 33%;
		grid-template-areas: ". . .";
	}
	
	img.lig {
		max-width: 54em;
	}

	img.sta {
		max-width: 40em;
	}

	nav.sites {
		display: grid;
		grid-template-columns: calc(25% - 1.125em) calc(25% - 1.125em) calc(25% - 1.125em) calc(25% - 1.125em);
		grid-template-areas: ". . . .";
		grid-gap: 0em 1.5em;
		box-sizing: content-box;
	}
	
	main.main>article {
		font-size: 1.7em;
	}
}