/* BLOCK TYPE 2 - image + text */
/* BLOCK TYPE 2 - image + text */
/* BLOCK TYPE 2 - image + text */

.block_type_2 {
	position: relative;
	padding: 10vw 0;
}

.block_type_2::before {
	content: '2';
	background-color: #84de02;
}

/* THEME */
.block_type_2.theme_licht {
	background-color: var(--bg-light);
	color: var(--txt-light);
}
.block_type_2.theme_donker {
	background-color: var(--bg-dark);
	color: var(--txt-dark);
}

.block_type_2 .link a::after {
	background-color: white;
}

/* LAYOUT */

.block_type_2 .left{
	width: 60%;
	
	opacity: 0;
	transform: translateX(-150px);
	transition: 0.5s ease-in-out;
}

.block_type_2 .left > .image{
	width: 100%;
	aspect-ratio: 3 / 2;
	background-size: cover;
	background-position: center;
}

.block_type_2 .right{
	width: 60%;
	float: right;
	margin-top: -15vw;
	margin-right: 5vw;
	padding: 6vw 4vw;

	opacity: 0;
	transform: translateX(150px);
	transition: 0.5s ease-in-out;
	transition-delay: 0.25s;
}

/* COLOR */
.block_type_2.color_magenta .right {
	background-color: var(--clr-magenta-90);
	color: white;
}
.block_type_2.color_blauw .right {
	background-color: var(--clr-blue-90);
	color: white;
}
.block_type_2.color_oranje .right {
	background-color: var(--clr-orange-90);
	color: white;
}
.block_type_2.color_groen .right {
	background-color: var(--clr-green-90);
	color: white;
}

/* TRANSITION */
.block_type_2.into-view .left,
.block_type_2.into-view .right {
	transform: translateX(0px);
	opacity: 1;
}

/* MOBILE */
@media (max-width: 1000px) {
	.block_type_2 .left{
		width: 95%;
	}

	.block_type_2 .right{
		width: 95%;
		margin-right: 0;
		padding: 10vw 5vw;
	}
}
