section#nieuws {
	padding: 50px 0 50px 0;
	box-sizing: border-box;
	background: white;
}

section#nieuws .container {
	overflow: visible;
}


section#nieuws .nieuws-wrapper {
	display: flex;
	flex-wrap: wrap;
}

section#nieuws .nieuws-wrapper .nieuws {
	box-sizing: border-box;
	flex: 0 0 19%;
	padding: 20px;
	box-shadow: 0 0 10px 1px #f3f3f3;
	background-color: #ffffff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2000' height='2000' viewBox='0 0 20 20'%3E%3Cg fill-opacity='0.06'%3E%3Cpolygon fill='%234c9d44' points='20 10 10 0 0 0 20 20'/%3E%3Cpolygon fill='%234c9d44' points='0 10 0 20 10 20'/%3E%3C/g%3E%3C/svg%3E");
	border-bottom: 5px solid rgba(76,157,68,0.38);
	transition: 0.5s ease;
	margin-right: 1.25%; 
}

section#nieuws .nieuws-wrapper .nieuws:hover {
	transform: translateY(-5px);
}

section#nieuws .nieuws-wrapper .nieuws:nth-child(5n) {
	margin-right: 0; 
}


section#nieuws h3 {
	margin: 0;
	color: var(--maincolor);
}

section#nieuws h1 {
	color: var(--maincolor);
}

@media screen and (max-width: 1100px) {

	section#nieuws .nieuws-wrapper .nieuws {
		flex: 0 0 49%;
	}


	section#nieuws .nieuws-wrapper .nieuws:nth-child(odd) {
		margin-right: 2%; 
	}

	section#nieuws .nieuws-wrapper .nieuws:nth-child(even) {
		margin-right: 0 !important;
	}


	section#nieuws .nieuws-wrapper .nieuws:nth-child(1n+3) {
		margin-top: 1%;
	}

}

@media screen and (max-width: 800px) {
	section#nieuws .nieuws-wrapper .nieuws {
		flex: 0 0 100%;
	}

	section#nieuws .nieuws-wrapper .nieuws:nth-child(1n+1) {
		margin-top: 1%;
	}
}
