/**************/
/* CSS REMEDY */
/**************/
*, *::after, *::before {
  box-sizing:border-box;  
}

/*********************/
/* CUSTOM PROPERTIES */
/*********************/





/****************/
/* SECTION STORYLIST */
/****************/

section:nth-of-type(1) ul {
	display:flex;
	overflow-x:auto;
	flex-shrink:0;
	gap:1em;
}

section:nth-of-type(1) li{
	display:inline-block;
	flex-wrap:wrap;
	justify-content:center;
	flex-direction:column;	
	
}

section:nth-of-type(1) img {
	width:4em;
	border-radius: 50%;
	border: 3px solid #e0164a;
	order:-1;
}


section:nth-of-type(1) a {
	text-decoration: none;
	color:#111;

	display:flex;
	flex-direction: column;

	@media (prefers-color-scheme:dark){
		color:#ffffff;
	}
}

main li{
	list-style-type: none;
	
}

section:nth-of-type(1) ul li a span{
	display:flex;
	order: 2;
	font-size: 0.7em;

	justify-content: center;
}





/****************/
/* MAIN SECTIONS */
/****************/

/* section nummer 2 */
section:nth-of-type(2) ul{
	display:flex;
	flex-direction: row;
	flex-wrap: wrap;

	position: relative;
	gap: 0.5em;
}

section:nth-of-type(2) li{
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 2fr;	
	position: relative;
}

section:nth-of-type(2) img {
	width:100%;
	height: auto;
	display:flex;
}

section:nth-of-type(2) a{
	background-color: var(--color-button);
	color: var(--color-text-button);

	text-decoration: none;
	position: absolute;
	top: 65%;
	left: 22%;
	padding: 1.5em 5em;



}



section:nth-of-type(2) p {
	display: flex;
	justify-content: center;

	font-size: 0.7em;
	color: var(--color-text-button);
	background-color: var(--color-button);

	padding: 1em 1em;
	position: absolute;
	top:16%;
	width:100%;



}


/* section nummer 3 */
section:nth-of-type(3) ul{
	display:flex;
	flex-direction: row;
	flex-wrap: wrap;

	position: relative;
	gap: 0.5em;

	padding: 0 0 0 6%;
}

section:nth-of-type(3) li{
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 2fr;	
	position: relative;
}


section:nth-of-type(3) img {
	width:12em;
	height: auto;
	display:flex;
}

section:nth-of-type(3) a{
	background-color: var(--color-button);
	color: var(--color-text-button);

	text-decoration: none;
	position: absolute;
	top: 70%;
	left: 20%;
	padding: 1em 0.8em;
}


/* section nummer 4 */
section:nth-of-type(4) ul {
	display:flex;
	padding: 0 0 0 6%;

	overflow-x:auto;
	flex-shrink:0;
	gap:1em;
}

section:nth-of-type(4) img {
	width:10em;
	display:flex;
}

section:nth-of-type(4) li {
	line-height: 75%;

	flex-wrap:wrap;
	justify-content:center;
	flex-direction:column-reverse;	

	position: relative;
}

section:nth-of-type(4) button {
	width:2em;

	position: absolute;
	top: 60%;
	left: 80%;
	padding: 1em 0.8em;
}

section:nth-of-type(4) button svg {
	width:1.5em;

	position: absolute;
	top:11%;
	left: 9%;
}

section:nth-of-type(4) a{
	text-decoration: none;
}


section:nth-of-type(5) button {
	width:5em;
	height: 5em;

	position:fixed;
 	right:var(--whitespace);
 	bottom:var(--whitespace);
  	z-index:10;

	background-color:var(--kerst-button);

	
}

section:nth-of-type(5) button svg {
	width:3.5em;
	z-index:1;
	position:absolute;
	top:15%;
	left:18%;
	
}



button {
background-color: var(--background-color) ;

	
}




/* font-family hoeft ik niet meer te gebruiken, gebruikt dan font-family:inherit; op het element zoals de body bijvoorbeeld. */