/* ------------------------------
   1. BASIS & TYPOGRAFIE
------------------------------ */

body {
	font-family: serif;
	background: #1e1e1e;
	color: beige;
	margin-bottom: 200px;
}

a {
	color: lightblue;
	text-decoration: none;
}
a:hover {
	color: white;
}

strong {
	color: orange;
}

mark {
	background: unset;
	color: orange;
	font-weight: bold;
}

/* Koppen */
h1 {
	text-align: center;
	color: springgreen;
}
h2 {
	text-align: center;
	color: palegreen;
	font-size: 28px;
}
h3 {
	color: gold;
	text-align: center;
	clear: both;
}

/* Tekstopmaak */
.ll {
	font-size: large;
	line-height: 1.3em;
	margin: auto;
	display: block;
	max-width: 600px;
	text-align: center;
}

/* Code blocks */
code {
	border-radius: 5px;
}
pre {
	border: 1px solid gold;
	border-radius: 20px;
	padding: 1em;
	white-space: pre-wrap;
	overflow-wrap: break-word;
	max-width: 600px;
	margin: auto;
}

br {
	clear: both;
}
dt {
	font-weight: bold;
}


/* ------------------------------
   2. LAYOUT & CONTAINERS
------------------------------ */

main {
	max-width: 800px;
	margin: auto;
}

header {
	max-width: 900px;
	margin: auto;
}
header h1 {
	text-align: center;
	font-size: 40px;
}
header h1 a {
	color: springgreen;
	text-decoration: none;
}

/* Flex-secties */
.flex-container {
	display: flex;
	justify-content: space-between;
	gap: 40px;
	margin-top: 40px;
	flex-wrap: wrap;
}
.flex-item {
	flex: 1;
	min-width: 280px;
}


/* ------------------------------
   3. COMPONENTEN
------------------------------ */

img {
	max-width: 400px;
	margin: auto;
	display: block;
}

.flex-item img {
	max-width: 200px;
	height: auto;
	border-radius: 50%;
}

#intro {
  margin-top: 2em;
  align-items: center;
}

#introtext {
  margin-top: 0;
  text-align: center;
}

/* Navigatie */
nav {
	font-size: small;
}

/* Footer */
footer {
	text-align: center;
	clear: both;
	font-variant: small-caps;
	padding: 2em 0;
}

footer li {
	display: inline-block;
	padding: 0 .5em;
	font-size: x-large;
}
footer li:hover {
	background: lightblue;
}

.rss-icon {
	border-radius: 15%;
}

/* ------------------------------
   4. HULPKLASSEN (bijv. left/right/wide)
------------------------------ */

.left {
	width: 45%;
	clear: both;
	margin: auto;
	float: left;
}
.right {
	float: right;
}
.wide {
	max-width: inherit;
}


/* ------------------------------
   5. SPECIFIEKE PAGINA'S / PARTIALS
------------------------------ */

/* TAGLIST.HTML */
.taglist {
	text-align: center;
	clear: both;
}

/* NEXTPREV.HTML */
/* #nextprev { } */

#prevart {
	float: left;
	text-align: left;
	padding-top: 30px;
}
#nextart {
	float: right;
	text-align: right;
	padding-top: 30px;
}
#nextart,
#prevart {
	max-width: 33%;
}

/* ------------------------------
   6. ANIMATIONS
------------------------------ */
#portret:active {
	animation: coinflip 0.5s linear infinite;
	transform-style: preserve-3d;
	cursor: grabbing;
}

@keyframes coinflip {
	from {
		transform: rotateY(0deg);
	}
	to {
		transform: rotateY(-360deg);
	}
}



/* ------------------------------
   7. RESPONSIVE
------------------------------ */

@media only screen and (max-width: 480px) {
	img {
		max-width: 150px;
	}
	#intro {
		grid-template-columns: 1fr;
	}

	#introtext {
	text-align: center;
}

}

