/* //////// RELAXX ////////// */

div.wrap_rellax {
	position: relative;
	border: 2px dotted red;
}

.rellax {
	position: relative;
}

/* */
section {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	width: 100%;
	margin: 10px auto;
	padding: 0;
	border: 3px solid blue;
}
section .btgrid {
	width: 100%;
	margin: 10px auto;	
}

section .btgrid .row {
	margin: 0px 0px 20px 0px!important;
	background: pink;
}


div.wrap_rellax section .col {
	text-align: center;
	width: 50%;
	/* float: left; */
	box-sizing: border-box;

	border: 1px solid orange;
	
}

div.wrap_rellax section .container {
	outline: 1px solid #eed;
	font-size: 42pt;
	padding: 37.5vh 12.5vw;

	border: 1px solid green;
}

div.wrap_rellax section .block {
	background: #223;
	color: #eed;
	line-height: 25vh;
	text-align: right;
	padding: 0 42pt;
	position: relative;

	display: flex;
	width: 300px;
}

div.wrap_rellax section span {
	background: #eed;
	color: #223;
	line-height: 25vh;
	text-align: left;
	padding: 0 42pt;
	display: block;
	display: flex;

	width: 50%;
	width: 120px;
	position: absolute;
	top: 0;
	left: 0;
	box-sizing: border-box;
}



/* ////////////////// */


.lg-green { width: 160px; height: 160px; background: #00f1c9; border-radius: 12px; position: absolute; top: 50%; left: 50%; margin-top: -80px; margin-left: -80px;}
.lg-purple { width: 100px; height: 100px; background: #5000f1; border-radius: 12px; position: absolute; top: 50%; left: 50%; margin-top: -50px; margin-left: -50px;}

.lg-purple2 { width: 60px; height: 60px; background: #9c9fff; border-radius: 12px; position: absolute; top: 50%; left: 50%; margin-top: -30px; margin-left: -30px;}

/* //// mit js scrollout.js // Problem mit locomotive //// 
[data-scroll] {
	transition: transform 3s;
}
[data-scroll="in"] {
	transform: translateY(0);
}
[data-scroll="out"] {
	transform: translateY(200px);
}

[data-scroll="in"] {
	div.wrap_relaxx {
		background-color: green;
	}	
}

*/

/* //////// IMG + Underlay ++ Text left / right ////////// */

.img_overlay {
	position: relative;
	max-width: 98%;
	z-index: 2;
	background-color: transparent;
}
.img_overlay img {
	padding: 0 0em; /*.5em*/
	max-width: 90%;
}

.img_overlay img.shadow {
	/* https://webcode.tools/css-generator/drop-shadow */
	filter: drop-shadow(5px 5px 10px rgba(0,0,0,.5));
}

/* fraglich - ob gut */
.img_overlay.size_ratio {
	aspect-ratio: 21/9;
	background-color: black;
}
.img_overlay.size_ratio img {
	object-fit: cover;
	max-height: 100%;
	min-height: 100%;
	padding: 0;
	max-width: 100%;
}


.img_bg_underlay, .img_bg_underlay_left {
	position: absolute;
	top: 20%;
	left: 10%;
	display: flex;
	z-index: 1;
	/*
	width: 90%;
	height: 100%;
	aspect-ratio: 21/9;
	*/
	width: 90%;
	height: 100%;
	
	background-color: rgba(0,0,0,.3);
}

.img_bg_underlay.portrait {
	top: -5%;
	height: 110%;
}

.img_bg_underlay.bg_pattern, .img_bg_underlay_left.bg_pattern {
	background-repeat: repeat;
	background-color: transparent;
	/* 
	https://www.vecteezy.com/free-png/square-pattern 
	bg_square_20x20.png
	bg_circle_20x20.png
	*/
	background-image: url("../../userfiles/images/img_pattern/bg_circle_20x20.png");
}

.img_bg_underlay.ratio_21x9, .img_bg_underlay_left.ratio_21x9 {
	aspect-ratio: 21/9;
}
.img_bg_underlay.ratio_16x9, .img_bg_underlay_left.ratio_16x9 {
	aspect-ratio: 16/9;
}
.img_bg_underlay.ratio_4x3, .img_bg_underlay_left.ratio_4x3 {
	aspect-ratio: 4/3;
}

.img_bg_underlay_left {
	left: auto;
	right: 10%
}

/* bei col-md */
@media (max-width: 767.98px) {
	.img_bg_underlay {
		top: auto;
		bottom: 0px;	
	}
	.img_bg_underlay_left {
	left: auto;
	right: 10%;
	top: auto;
	bottom: 0px;
	}


}



