/*	http://meyerweb.com/eric/tools/css/reset/ 
	v2.0 | 20110126
	License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}


/* Sidebar */ 

/*--====== Global Variables ======--*/

:root {
	--bg-color: #686888;
	--bg-color-2: #5151ca;
	--text-color: #a9afc3;
  }
  
   
  
  /*--====== Sidebar ======--*/
  #sidebar {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99;
	max-width: 300px;
	width: 80%;
	height: 100%;
	padding: 2rem;
	background-color: var(--bg-color-2);
	box-shadow: 0 10px 20px -4px #000;
	overflow-x: hidden;
	overflow-y: auto;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	transform: translateX(-100%);
	transition: opacity 0.3s ease, visibility 0.2s ease, transform 0.3s ease;
  }
  
  /* when the sidebar has 'show' class */
  #sidebar.show {
	pointer-events: all;
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
  }
  
  .sidebar_content {
	padding: 2.8rem 0;
	pointer-events: none;
	/* so that the Sidebar does not get closed while clicking on sidebar_content */
  }
  
  .sidebar_content a {
	pointer-events: all;
	/* so that all the a inside sidebar_content are clickable */
  }
  
  .sidebar_body {
	border-top: 1px dashed var(--text-color);
	border-bottom: 1px dashed var(--text-color);
  }
  
  .side_navlinks ul {
	display: grid;
	gap: 2rem;
  }
  
  .side_navlinks li a {
	text-transform: uppercase;
	letter-spacing: 1px;
	opacity: 0.8;
  }
  
  .side_navlinks a:hover {
	opacity: 1;
  }
  
  
  /*---- Sidebar-Toggler ----*/
  .sidebar_toggler {
	position: fixed;
	z-index: 100;
	top: 4vh;
	left: 3vw;
	width: 1.75rem;
	height: 1.3rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	cursor: pointer;
	overflow: hidden;
  }
  
  .sidebar_toggler span {
	background-color: #ddd;
	width: 100%;
	height: 2.4px;
	transition: all 0.3s ease;
	pointer-events: none;
	/* so that it doesn't overlap the sidebar_toggler */
  }
  
  /* if the sidebar has 'show' class then their adjacent-sibling (i.e., sidebar_toggler) will... */
  #sidebar.show+.sidebar_toggler {
	justify-content: center;
  }
  
  #sidebar.show+.sidebar_toggler span {
	margin-top: -1.2px;
	margin-bottom: -1.2px;
  }
  
  #sidebar.show+.sidebar_toggler span:first-child {
	transform: rotate(45deg);
  }
  
  #sidebar.show+.sidebar_toggler span:nth-child(2) {
	opacity: 0;
	transform: translateX(-100%);
  }
  
  #sidebar.show+.sidebar_toggler span:last-child {
	transform: rotate(-45deg);
  }
  
/* CSS-grid */

.center {
	margin: auto;
}

.homepage,
.fotopage,
.allpages {
	max-width: 1200px;
	overflow-y: hidden;
	margin: auto;
	display: grid;
	background-color: white;
	grid-template-columns: 1fr 3fr 1fr 1fr;
	grid-template-rows: 80px 490px 30px 30px 50px 3fr 200px 100px;
	grid-template-areas: ". header header . "
		". foto foto . "
		" . checkboxes checkboxes . "
		" . quotefeed quotefeed . "
		". ticker ticker ."
		". body body . "
		". handtekening handtekening . "
		". footer footer . ";

}

.allpages {
	grid-template-rows: 80px 490px 30px 30px 50px 2fr 100px;
	grid-template-areas: ". header header . "
		". foto foto . "
		" . checkboxes checkboxes . "
		" . quotefeed quotefeed . "
		". ticker ticker ."
		". body body . "
		". footer footer . ";

}

/* Header (menu, vlag etc.) */

header,
#center {
	grid-area: header;
	text-align: left;
	margin: 10px 5% 10px 15px;
}

#overlay {
	position: relative;
	width: 110px;
}

#overlay #menuoptions {
	margin-top: -70px;
}

#menuoptions {
	margin-top: -50px;
	max-width: 110px;
}

#menuoptions li {
	position: relative;
	font-size: 200%;
	font-style: normal;
	text-align: center;
	background-color: black;
	max-width: 90px;
	color: white;
	list-style-type: none;
	z-index: 5;
}


.wrap #hamburgermenu,
.wrap #sidebar,
.wrap #globe,
.wrap #weer,
.wrap #weericoon,
.wrap #datum {
	display: inline;
	font-family: "Cookie";
	font-size: 30px;
	margin: 5px;
}

#globe #flag {
	margin-bottom: 25px;
}


#flag a img {
	position: relative;
	display: block;
	z-index: 3;
	margin: 15px 5px;
	margin-left: 50px;
}


.wrap #hamburgermenu:hover,
.wrap #globe:hover,
#flag a img:hover,
.wrap #envelop:hover,
button:hover {
	cursor: pointer;
}

.wrap #envelop {
	display: block;
	margin: 0 auto;
	margin-top: -35px;
}

.wrap #datum {
	position: relative;
	margin-top: -30px;
	float: right;
	z-index: 2;
}


body {
	line-height: 1;
	font-size: 62.5%;
	overflow-x: hidden;
	/* BASISFORMAAT (62,5% = 10PX) */
}

a {
	color: #FFF;
	text-decoration: none;
}

select,
option {
	font-family: "Yanone Kaffeesatz", "Arial Narrow", Sans-Serif;
	background-color: #ECCFAE;
	color: #FFF;
	font-size: 100%;
}

button {
	background-color: #4c5c64;
	border: 1px solid white;
	border-radius: 40%;
	display: inline;
	font-family: "Yanone Kaffeesatz";
	font-size: large;
	color: #ECCFAE;
	padding: 10px;
	margin: 10px;
}

/* Foto boven op elke pagina */

.foto {
	grid-area: foto;
	height: 500px;
	width: 920px;
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-size: contain;
}

.woorden {
	position: relative;
	background-color: red;
	color: white;
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	display: grid;
	grid-template-rows: repeat(4);
	padding: 5px;
	max-height: 50px;
	width: 80px;
	text-align: center;
}

.checkfield {
	position: relative;
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	font-size: 14px;
	width: fit-content;
	background-color: white;
	padding: 0 5px;

}

.checkfield #checkimg,
.checkfield #checkdifflang {
	width: 15px;
	height: 15px;
	margin-bottom: 0px;
}

#difflang,
#rssfeed {
	padding-left: 50px;
	display: inline;
}

#seconds,
#seconds option {
	background-color: white;
	color: black;
	margin: 5px;
}


.wrapup,
.wrapunder {
	left: 1150px;
	width: 100px;
}

.wrapup {
	position: absolute;
	margin-top: 40px;

	/* oorspronkelijk: left: 750px; geen top */
	animation: changeheigth 8s infinite;
	z-index: 2
}

.wrapunder {
	position: absolute;
	/* oorspronkelijk: left: 750px; top: -20.6px */
	top: 169px;
	z-index: 3
}

@keyframes changeheigth {
	0% {
		top: 90.4px;
	}

	50% {
		top: 110px;
	}

	100% {
		top: 90.4px;
	}
}


font {
	line-height: 30px;
}

.checkboxes {
	grid-area: checkboxes;
	width: 920px;
}

#ticker {
	grid-area: ticker;
	z-index: 1;
	width: 920px;
	background-color: #4c5c64;
	margin-top: 5px;
	;

}

#movingquote {
	width: 1100px;
	margin-top: 13px;
	top: 635px;
	color: white;
	font-family: "Cookie";
	font-size: X-large;
}

.movequote {
	position: absolute;
	animation: movequote 25s linear;
}

@keyframes movequote {
	from {
		left: 1550px;
	}

	to {
		left: -650px;
	}

}


.introductie,
#handtekening {
	width: 880px;
	background-color: #4c5c64;
	position: relative;
	color: #fff;
	font-family: "Yanone Kaffeesatz", "Arial Narrow", Sans-Serif;
	font-size: 220%;
	line-height: 1.5em;
	padding: 20px;
	margin-top: 5px;
	word-wrap: break-word;
}

.introductie {
	grid-area: body;
}

.introductie p {
	margin: 10px 0;
}

.introductie a {
	color: #ECCFAE;
	transition: font-weight .2s ease;
	-webkit-transition: color .2s ease;
	-moz-transition: color .2s ease;
	-o-transition: color .2s ease;
}

.introductie a:hover {
	font-weight: bold;
}

#songmovieyoutube {
	text-align: center;
	font-size: 50%;
}

#handtekening {
	grid-area: handtekening;
	margin-top: 0;
}

#handtekening img {
	max-width: 200px;
}

/* oranje font met wit hover (omgekeerd tov introductie) */

.revintroductie {
	position: relative;
	color: #FFF;
	font-family: "Yanone Kaffeesatz", "Arial Narrow", Sans-Serif;
	font-size: 220%;
	line-height: 1em;
	margin: 40px 5% 0 5%;
	z-index: 0;
}

.revintroductie p {
	display: inline;
	margin: 20px;
}

.revintroductie a {
	color: #ECCFAE;
	transition: color 0.2s ease;
	-webkit-transition: color .2s ease;
	-moz-transition: color .2s ease;
	-o-transition: color .2s ease;
}

.revintroductie a:hover {
	color: #FFF;
}

hr {
	width: 70%;
	margin-left: 0px;
}

hr a {
	color: black;
}

ul li {
	padding: 10px;
	color: #000;
	line-height: 1.5em;
	font-size: 50%;
	list-style-type: disc;
	font-style: italic;

}

/* knoppen voor socialmedia */

footer {
	grid-area: footer;
	width: 910px;
	position: relative;
	display: flex;
	justify-content: center;
}

#socmedia {
	margin: 0 auto;
	position: relative;
	top: 10px;
}

#socmedia a img {
	margin-right: 20px;
}

#socmedia a {
	filter: grayscale(100%);
	margin-right: 10px;
}

#socmedia a:hover {
	cursor: pointer;
	filter: grayscale(0%);
}


.visible {
	display: block;

}

.hidden {
	display: none;

}


/* Link-pagina */

#linkbutton {
	grid-area: body;
	width: 910px;
}

#linkbutton {
	text-align: center;
}

.shrink {
	width: 50px;
	height: 50px;
}

#links {
	height: fit-content;
}

#links a img {
	padding: 20px;
	transition-duration: 2s;
}

.grow {
	transform: scale(1.8);
	/*transform: translateY(30px);*/
	transition-duration: 0.2s;
}

.move {
	transform: translate(20px, 20px);
	transition-duration: 0.2s;
}

/* Bij Portfolio-pagina (geeft op een of andere manier 
problemen bij verhuizen naar portfolio.css) */

.hidewincprojects {
	margin-top: 20px;
	display: none;
}

#quote, 
#feed {
width: 10px;
}

#projecten p,
.hidewincprojects p {
	display: block;
}

#projecten p a {
	line-height: 1em;
}

#projecten p a span {
	color: yellow;
	font-size: 0.9em;
	font-weight: bold;

}

#pagination {
	text-align: center;
	color: white;
}

.activepage {
	/*text-decoration-line: underline; */
	color: #ECCFAE;
	font-size: 28px;
}

.hidewincprojects p a {
	line-height: 1.5em;

}

#githubimg {
	width: 20px;
	height: 20px;
	float: right;
	margin-right: 10%;

}

#githubimg:hover {
	transition-duration: 0.7s;
	transform: scale(1.5);
	cursor: pointer;
}


.visible {
	display: block;

}

.hidden {
	display: none;

}


#links a li {
	line-height: 1em;
}

.text {
	color: white;
	font-size: 14px;
}

/* Portfolio-pagina */

#tag {
	background-color: #ECCFAE;
	padding: 5px;
	font-size: 0.15in;
	font-weight: bold;
	color: #4c5c64;
}

/*
#projecten a {
	float: left;
	margin-left: 30%;
}

	
/* Contact-pagina */

input,
textarea,
#submit {
	font-family: "Yanone Kaffeesatz";
	font-size: large;
	padding: 5px;
	width: 400px;
	background-color: #ECCFAE;
}


input {
	margin-bottom: 10px;
}

#submit:hover {
	background-color: orange;
	cursor: pointer;
}

/*	OPTIMALISATIE VOOR KLEINE DISPLAYS */

@media (min-width: 1900px) {

	.wrapup,
	.wrapunder {
		left: 1300px;
		width: fit-content;
	}
}

@media (max-width: 1500px) {

	.wrapup,
	.wrapunder {
		left: 1000px;
		width: fit-content;
	}
}

@media (max-width: 1200px) {

	.wrapup,
	.wrapunder {
		left: 800px;
		width: fit-content;
	}

	@keyframes movequote {
		from {
			left: 1200px;
		}

		to {
			left: -900px;
		}
	}
}


@media (max-width: 1040px) {

	.homepage,
	.allpages,
	.fotopage {
		margin: auto;
		grid-template-columns: 1fr 3fr 1fr;
		grid-template-rows: 80px 450px 30px 30px 50px 3fr 100px;
		grid-template-areas:
			". header ."
			". foto ."
			". checkboxes ."
			". quotefeed . "
			". ticker ."
			". body ."
			". footer .";
	}

	header,
	.wrap,
	.foto,
	#ticker,
	footer,
	#linkbutton {
		width: 820px;
	}

	.foto {
		height: 450px;
	}

	#movingquote {
		top: 595px;
	}

	@keyframes movequote {
		from {
			left: 900px;
		}

		to {
			left: -850px;
		}
	}

	header,
	.introductie {
		width: 780px;
	}

	#handtekening {
		display: none;
	}

	.wrapup,
	.wrapunder {
		left: 640px;
		width: fit-content;
	}
}

@media (max-width : 950px) {

	.homepage,
	.allpages,
	.fotopage {
		margin: auto;
		grid-template-rows: 80px 450px 30px 30px 50px 3fr 100px;
	}

	header,
	.wrap,
	#ticker,
	.foto,
	footer,
	#linkbutton {
		width: 850px;
	}

	.wrapup,
	.wrapunder {
		left: 550px;
		width: fit-content;
	}

	#movingquote {
		top: 595px;
	}

	.introductie {
		width: 810px;
	}

	@keyframes movequote {
		from {
			left: 700px;
		}

		to {
			left: -1200px;
		}
	}

}

@media (max-width : 875px) {

	.homepage,
	.fotopage,
	.allpages {
		margin: 0 2%;
		grid-template-rows: 80px 400px 50px 50px 50px 3fr 100px;
	}


	#movingquote {
		top: 585px;
	}

	#difflang,
	#rssfeed {
		display: block;
		padding-left: 0px;
	}

	@keyframes movequote {
		from {
			left: 630px;
		}

		to {
			left: -850px;
		}
	}

	#tag {
		padding: 3px;
		font-size: 0.1in;
		font-weight: bolder;

	}


	#ticker,
	.foto,
	.wrap,
	.introductie,
	footer,
	#linkbutton {
		width: 750px;
		font-size: 15px;
	}

	.foto {
		height: 400px;
	}

	.wrapup,
	.wrapunder {
		left: 530px;
		width: fit-content;
	}

	.wrapunder {
		top: 199px;
	}

	@keyframes changeheigth {
		0% {
			top: 110.4px;
		}

		50% {
			top: 135px;
		}

		100% {
			top: 110.4px;
		}
	}

	.introductie {
		width: 710px;
	}


	@media (max-width : 750px) {

		.homepage,
		.allpages {
			margin: 0 2%;
			display: grid;
			grid-template-columns: 1fr 1fr 1fr;
			grid-template-rows: 80px 320px 50px 50px 50px 1fr 100px;
			grid-template-areas:
				". header ."
				". foto ."
				". checkboxes ."
				". quotefeed ."
				". ticker ."
				". body ."
				". footer .";
		}

		#movingquote {
			top: 505px;
		}

		@keyframes movequote {
			from {
				left: 550px;
			}

			to {
				left: -850px;
			}
		}

		#quotefeed {
		grid-area: quotefeed;
		
		}

		#quote {
			font-size: small;
		}

		header,
		.wrap,
		#ticker,
		.foto,
		footer,
		#linkbutton {
			width: 600px;
		}

		.introductie {
			width: 560px;
		}

		.foto {
			height: 320px;
		}

		.wrap #datum {
			font-size: 15px;
		}


		.foto .wrapup,
		.foto .wrapunder {
			left: 300px;
			width: fit-content;
		}

		#ticker {
			top: 280px;
			left: 500px;
		}
	}


	@media (max-width : 620px) {

		.homepage,
		.allpages,
		.fotopage {
			grid-template-columns: 1fr 2fr 1fr;
			grid-template-rows: 80px 265px 50px 50px 50px 1fr 100px;

		}

		header,
		.wrap,
		#ticker,
		.foto,
		footer,
		#linkbutton {
			width: 500px;
		}

		#movingquote {
			top: 450px;
		}

		.introductie {
			width: 460px;
		}

		.foto {
			height: 265px;
		}

		#tag {
			padding: 2px;
		}

		@media (max-width : 500px) {

			.homepage,
			.allpages,
			.fotopage {
				margin: 0 2%;
				display: grid;
				grid-template-rows: 80px 200px 50px 50px 50px 1fr 100px;
			}

			header,
			.wrap,
			#ticker,
			.foto,
			footer,
			#linkbutton {
				width: 350px;
			}


			#flag a img {
				margin-top: 15px;
				margin-bottom: 15px;
			}

			.wrap #weer {
				display: none;
			}

			.wrap #envelop {
				margin-top: -30px;
			}

			.wrap #datum {
				margin-top: -25px;
			}

			#envelop {
				width: 36px;
				height: 24px;
			}


			.introductie {
				width: 310px;
			}

			.foto {
				height: 187px;
			}

			.foto .wrapup,
			.foto .wrapunder {
				display: none;
			}

			#difflang, 
			#rssfeed {
				display: block;
			}


			#movingquote {
				top: 385px;
			}

			.checkfield {
				font-size: 12px;
			}

			#socmedia a img {
				width: 20px;
				height: 20px;
				margin-right: 10px;
			}

		}

		.fotobody {
			width: fit-content;
		}

		.introductie a {
			font-weight: bold;
		}

		h1 {
			font-size: 500%;
		}

		h2 {
			font-size: 300%;
		}

		#dagdeel {
			margin-top: 50px;
		}

		.blog,
		a {
			display: block;
			margin-bottom: 20px;
		}

		#handtekening {
			display: none;
		}

		/* algeheel gebruik */
		a {
			display: inline;
		}

		/* Contact-pagina */

		input,
		textarea,
		#submit {
			width: 300px;
		}

	}
}

@media (max-width : 370px) {

	#datum {
		visibility: hidden;
	}
}