@font-face {
	font-family: 'regular';
	src: url("../fonts/AllTogetherSans-Regular.woff2");
	font-weight: 400;
  }

  @font-face {
	font-family: 'wideblck';
	src: url("../fonts/AllTogetherSerif-WideBlk.woff2");
  }

  @font-face{
	font-family: 'bold';
	src:url("../fonts/AllTogetherSans-Bold.woff2");
  }

  @font-face{
	font-family:'regular';
	src:url("../fonts/AllTogetherSans-Regular.woff2");
  }

  @font-face{
	font-family:'semilight';
	src:url("../fonts/AllTogetherSans-SemiLight.woff2");
  }


  @font-face{
	font-family:'cnbold';
	src:url("../fonts/AllTogetherSerif-CnBold.woff2");
  }

 @font-face{
	font-family:'cnlight';
	src: url("../fonts/AllTogetherSerif-CnLight.woff2.woff2");
 }

  :root {
	/* startje */
	--color-text:#111;
	--color-background:#d4ebff;
	--color-darkgrey:#6d6e70;
	--color-lightgrey:#dbdee3;
	--color-white:#FFFFFF;
	--color-brown:#5b1f06;
	--color-yellow:#ffd200;
	--color-lightlightgrey:#f3f6fb;
	--color-blue:#0e74e2;
	--color-orange:#fa6400;
	--color-pink:#ffadbf;
	--color-red:#d70100;
	--color-green:#73cf11;
	--color-lilac:#d7a1ff;
	--color-lime:#dce84f;
}


/* MAIN */
main{
	background-color: var(--color-background);
	overflow: hidden;
}

/* eerste zin */
/* https://www.w3schools.com/cssref/pr_text_text-align.php */
main:first-of-type h1{
	text-align: left;
	margin-top: 3em;
	font-size: 14px;
	color: var(--color-brown);
	font-family:'bold';
	padding:40px 24px 0px ;
	padding-left: 24px;
}
/* tweede zin */
main:first-of-type h2 {
	text-align: left;
	font-size: 32px;
	color: var(--color-brown);
	font-family: 'bold';
	padding-left:24px ;
}
/* eind eerste twee zinnen */

main h3{
	color: var(--color-brown);
}
/* EIND 1E TWEE ZINNEN */

/* door > te gebruiken spreek ik alleen het directe eerste kind in main aan. hierdoor worden alle andere ul niet aangesproken (dit gebeurde zonder > wel) */
/* eerste button in main */
main>ul:first-of-type{
	list-style: none;
	padding: 0;
	margin-top: 2rem;
	margin-left: 1.5em;
	margin-right: 1.5em;
}

/* image in eerste button */
main>ul:first-of-type li img{
	width: 2em;
}

main>ul:first-of-type li{
	border:0.125rem solid var(--color-brown);
	background-color: transparent;
	padding: 1em;
	border-radius: 999rem;
	margin-bottom: 2em;
	text-align: center;
	font-size: 1rem;
	display: flex;
	background-color: var(--color-white);
	justify-content: center;
}

main>ul:first-of-type li a{
	text-decoration: none;
	color: var(--color-brown);
	font-family: 'cnlight';
	font-weight: 700;
	font-size: 20px;
	line-height: 1.25;
	/* fontfamily toevoegen */
	display: block; /* zo is het hele gebied klikbaar */
	margin-left: 1em;
	margin-right: 1em;

}
/* eind buttons in main */

/* https://www.w3schools.com/howto/howto_css_rounded_images.asp */
/* eerste image in main */
main>img:first-of-type{
	border-radius: 50%;
	max-width: 100%;
	display: block;
	margin: auto;
	transform: translateX(10%);
	
}
/* eind eerste image in main */

/* Gekleurde buttons met img en tekst: */
main section:nth-of-type(1) li:nth-of-type(1),
main section:nth-of-type(1) li:nth-of-type(2),
main section:nth-of-type(1) li:nth-of-type(3) {
	width: 100%;
	border-radius: 1em;
	margin-top: 5em;
	margin-bottom: 5em;
	display: flex;
	flex-direction: column;
	padding: 1.5em;
}

main section:nth-of-type(1) li img {
	width: 100%;
	order: -1;
}

main section:nth-of-type(1) ul li {
	position: relative;
}

main section:nth-of-type(1) li {
	width: 100%;
	border-radius: 1em;
	margin-top: 5em;
	margin-bottom: 5em;
	display: flex;
	flex-direction: column;
	padding: 1.5em;
}

main section:nth-of-type(1) li:nth-of-type(1) {
	background-color: var(--color-orange);
	margin-right: -3em;
	margin-left: -2.5em;
}

main section:nth-of-type(1) li:nth-of-type(2) {
	background-color: var(--color-yellow);
}

main section:nth-of-type(1) li:nth-of-type(3) {
	background-color: var(--color-lime);
	margin-right: -3em;
	margin-left: -2.5em;
}

main section:nth-of-type(1) ul li img:nth-of-type(1) {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 40%;
	transform: translate(-25%, -50%);
	z-index: 1;
}

main section:first-of-type ul {
	justify-content: space-between;
}

main section:nth-of-type(1) li h2, 
main section:first-of-type li h3, 
main section:first-of-type li a {
	text-align: center;
	text-decoration: none;
}

main section:first-of-type li a {
	color: var(--color-brown);
	font-family: 'regular';
	font-weight: bold;
	padding: 0;
}

main section:nth-of-type(1) h2 {
	font-family: 'regular';
	font-weight: bold;
	font-size: 17px;
	padding: 0;
}

main section:nth-of-type(1) h3 {
	font-family: 'bold';
	font-weight: 700;
	line-height: 1.28571;
	padding: 0;
}
/* eind Gekleurde buttons met img en tekst: */

/* begin bewegend element */
/* hoe maak ik hier een bewegend element van en hoe laat ik het overeen komen met het origineel? */
main > ul:nth-of-type(2),
main > ul:nth-of-type(3){
	display:flex;
	justify-content: space-between;
	color: var(--color-brown);
	font-family: 'wideblck';
	font-weight: 300;
	font-size: 16px;
}
/* eind bewegend element */


/* 2E SECTION IN DE MAIN, gele boog over ons */

/* BUTTON DECORATIE */
main section:nth-of-type(2) a {
	text-decoration: none;   /* zo krijg je geen streepje onder de link */
	display: block; /* zo is het hele gebied klikbaar */
	background-color: var(--color-white);
	padding: 1em;
	border-radius: 999rem;
	text-align: center;
	font-size: 1rem;
	color: var(--color-brown);
	font-weight: bold;
	margin-left: 1.5em;
	margin-right: 1.5em;
}
/* eind button decoratie */

main section:nth-of-type(2){
	text-align: center;
	position: relative;
	left: 0;
	right: 0;
	padding-top: 2em;
}

main section:nth-of-type(2){
	display: grid;
	background: var(--color-yellow);
	
	background-image:radial-gradient(
		closest-side circle at center 30em,
		var(--color-yellow)30em,
		var(--color-background) 30em
	)
}


main section:nth-of-type(2) h2{
	text-align: center;
	font-size: 14px;
}

main section:nth-of-type(2) p{
	font-family: 'semilight';
	color: var(--color-brown);
	text-align: center;
	font-size: 14px;
}

main section:nth-of-type(2) img{
	display: flex;
	justify-items: center;
	width: 100%;

}
/* eind 2E SECTION MAIN gele boog over ons */

/* 3E SECTION MAIN happy family met boog en caroussel */
main section:nth-of-type(3) p{
font-family:'regular';
color: var(--color-brown);
}

main section:nth-of-type(3) a{
	font-family:'regular';
	color: var(--color-brown);
	text-decoration: none;
	font-weight: bold;
}


main section:nth-of-type(3){
background-color: var(--color-white);
}


main section:nth-of-type(3) > img:nth-of-type(1){
	width: 100%;
	height: auto; 
	border-top-left-radius: 20em;
	border-top-right-radius: 20em;
	border: 0.20rem solid var(--color-blue);
	margin-top: 3em;
}
/* eind happy family met boog */

/* scrollbare klikbare dingetjes */
main section:nth-of-type(3) ul{
	overflow: auto;
	white-space: nowrap;
	margin: 1.5em;
}

main section:nth-of-type(3) ul li{
	display: inline-block;
}

main section:nth-of-type(3) ::-webkit-scrollbar{
	height: 5px;
}
main section:nth-of-type(3) ::-webkit-scrollbar-track{
	background: lightgrey;
}
main section:nth-of-type(3) ::-webkit-scrollbar-thumb{
	background: grey;
}

main section:nth-of-type(3) ul > li img{
	/* display: block; */
    z-index: 1;
	width: 10em;
}

main section:nth-of-type(3) ul > li:nth-of-type(1){
	background-color:var(--color-pink);
	border-radius: 50%;
	width: 9em;
	height: 9em;
}

main section:nth-of-type(3) ul > li:nth-of-type(2){
	background-color: var(--color-blue);
	border-radius: 50%;
	width: 9em;
	height: 9em;
}

main section:nth-of-type(3) ul > li:nth-of-type(3){
	background-color:var(--color-green);
	border-radius: 50%;
	width: 9em;
	height: 9em;
}

main section:nth-of-type(3) ul > li:nth-of-type(4){
	background-color:var(--color-yellow);
	border-radius: 50%;
	width: 9em;
	height: 9em;
}

main section:nth-of-type(3) ul > li:nth-of-type(5){
	background-color:var(--color-pink);
	border-radius: 50%;
	width: 9em;
	height: 9em;
}

main section:nth-of-type(3) ul > li img{
	height:11em;
	width:11em;
	object-fit:cover;
}
/* eind scrollbare klikbare dingetjes */
/* eind 3E SECTION MAIN happy family met boog en caroussel */


/* section 4 */
main section:nth-of-type(4){
	background-color: var(--color-lightlightgrey);
}
main section:nth-of-type(4) h1,h2{
	text-align: left;
	font-size: 32px;
	color: var(--color-brown);
	font-family: 'bold';
	padding-left:24px ;
}

main section:nth-of-type(4) ul{
overflow: auto;
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr ;
grid-template-rows: 1fr 1fr;
justify-content: center;
align-items: center;
}

main section:nth-of-type(4) ul img{
	width: 80%;
}

/* RESPONSIVENESS */
/* media hier doe je alles mee */



/* RESPONSIVENESS */
/* media hier doe je alles mee */
@media (min-width:0px){

	main {
		/* background-color: #d70100; */
	}
	
	/* GEBRUIK GRID OM HET ER GOED UIT TE LATEN ZIEN  */
	
	}

	@media (min-width:481px){

		main {
			/* background-color: blue; */
		}
		
		/* GEBRUIK GRID OM HET ER GOED UIT TE LATEN ZIEN  */
		
		}

@media (min-width:679px){

	main {
		background-color: purple;
	}
	
	/* GEBRUIK GRID OM HET ER GOED UIT TE LATEN ZIEN  */
	
	}


	@media (min-width:1280px) {

		main>ul:first-of-type{
			width: 21.45em;
		}

		main>img:first-of-type{
			border-radius: 50%;
			max-height: 21.45em;
		}

		main section:nth-of-type(1) ul{
			display: grid;
			grid-template-columns: 1fr 1fr 1fr;
			padding-left: 10em;
			padding-right: 10em;
		}

		main section:nth-of-type(1) li:nth-of-type(1){
			grid-column: 1;
		}
		main section:nth-of-type(1) li:nth-of-type(2){
			grid-column: 2;
		}
		
		main section:nth-of-type(1) li:nth-of-type(3){
			grid-column: 3;
			margin-left: 2em;
		}


		/* "BEWEGENDE" WOORDEN */

		main > ul:nth-of-type(2),
		main > ul:nth-of-type(3){
			justify-content: center;
			font-size: 30px;
			justify-content: space-between;
		}

		main > ul:nth-of-type(2) {
			margin-bottom: 1em;
			padding-bottom: 0;
		}

		main > ul:nth-of-type(3){
			margin-top: 0;
			padding-top: 0;
		}

		/* "BEWEGENDE" WOORDEN EIND */
		

		main section:nth-of-type(2) a {
			width: 22.67em;
			justify-self: center;
		}
		
		main section:nth-of-type(2){
			text-align: center;
			position: relative;
			left: 0;
			right: 0;
			padding-top: 2em;
		}
		
		/* gele boog over m&m doel */
		main section:nth-of-type(2){
			display: grid;
			background: var(--color-yellow);
			padding-top: 6em 1em 1em;
			
			background-image:radial-gradient(
				closest-side ellipse at center top 30em,
				var(--color-yellow)30em,
				var(--color-background) 30em
			)
		}
		/* eind gele boog over m&m doel */

		main section:nth-of-type(2) img{
			content: url(../images/inarow.png);
			padding-top: 18em;
		}

		main section:nth-of-type(3){
			display: grid;
			grid-template-columns: 1fr 1fr;
			grid-template-rows: 1fr;
			height: 50em;
			margin: 3em;
			padding: 3em;
			background-color: white;
		}


		main section:nth-of-type(3) > img:nth-of-type(2){
			grid-column: 1;
			width: 100%;
			height: auto; 
			border-top-left-radius: 50%;
            border-top-right-radius: 50%;
			border: 0.20rem solid var(--color-blue);
			margin-top: 3em;
			height: 31.88em;
			width: auto;
		}

		main section:nth-of-type(3) h2,
		main section:nth-of-type(3) p,
		main section:nth-of-type(3) a,
		main section:nth-of-type(3) ul{
			grid-column: 2;
			grid-row: 1;
		}

		main section:nth-of-type(3) p{
			align-items: top;
		}

		main section:nth-of-type(3) a{
			align-self: top;
		}

		section:nth-of-type(3) ul {
			align-self: center;
	}

		

		/* GEBRUIK GRID OM HET ER GOED UIT TE LATEN ZIEN  */
		
		}