/* Units */
:root {
	--pixelunit: calc(100vw / 1050);
}

@media only screen and (min-width: 1050px) {
	:root {
		--pixelunit: calc(1920px / 1920);
	}
}

/* Fonts */
@font-face {
	font-family: clearface-bold;
	src: url(/src/fonts/clearface-serial/SoftMaker-ClearfaceSerial-Medium.otf);
}

/* Styles */
html {
	height: 100%;
	margin: 0;
	padding: 0;
	width: 100vw;
	overflow-x: hidden;
	overflow-y: scroll; /* has to be scroll, not auto */
	-webkit-overflow-scrolling: touch;
	width: 100%;
	height: 100%;
	font-weight: 300;
}

body {
	background-color: #ffffff;
	width: 100vw;
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: 'Poppins', sans-serif;
	font-size: 12px;
	line-height: 24px;
	overflow: hidden;
	width: 100%;
	height: auto;
	color: #424242;
}

button {
	font-family: 'Poppins', sans-serif;
	font-size: 12px;
	line-height: 24px;
	cursor: pointer;
}
/* Headers */
h3,
h4,
h5,
h6 {
	font-family: 'clearface-bold';
	font-size: 20px;
}

h1,
h2 {
	font-family: 'clearface-bold';
	font-size: 30px;
}

a {
	color: inherit;
	text-decoration: inherit;
}

.font_heavy {
	font-weight: 600;
}

.clearface {
	font-family: 'clearface-bold';
}

/* Layout */
.content_body {
	min-height: 80vh;
	position: relative;
}

.forced_display {
	display: block !important;
}

.full_width {
	width: 100%;
	min-height: 1px;
	background-position: center;
	background-size: 100% 100%;
	background-size: cover;
	background-repeat: no-repeat;
	margin-bottom: 120px;
}

.boxed_container {
	position: relative;
	max-width: 985px;
	width: 100%;
	height: max-content;
	min-height: 50px;
	margin: auto;
	overflow: hidden;
	margin-top: calc(var(--pixelunit) * 50);
	margin-bottom: calc(var(--pixelunit) * 50);
	margin-bottom: 120px;
}

.boxed_half {
	width: 50%;
	height: 100%;
	float: left;
	min-height: 1px;
	text-align: justify;
}

.boxed_half.img_split {
	width: 48%;
}

/* .boxed_half.img_split.left {
	margin-left: 2%;
} */

.boxed_half.right {
	float: right;
}

.boxed_half.img_box {
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

/* .boxed_half.img_box.left {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
} */

.boxed_half.text_box {
	width: 30%;
	padding: 7% 10%;
	height: auto;
}

.mobile_only {
	display: none;
}

.middle_text_container {
	width: auto;
	text-align: center;
}

.banner_bottom_arrow {
	margin-bottom: 30px;
}

.absolute_text_block {
	background: #fff;
	position: absolute;
	padding: 20px 50px;
	text-align: justify;
}

.banner_bottom_arrow_wrapper {
	position: relative;
	height: 50px;
}

.banner_bottom_arrow {
	animation: MoveUpDown 1.5s linear infinite;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 25px;
}

.text_img_variation_1 {
	position: relative;
}

.text_img_variation_1 > .text {
	width: 30%;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	text-align: justify;
}

.text_img_variation_1 > .text.left {
	left: 0;
}

.text_img_variation_1 > .image {
	padding-bottom: 80%;
	width: 55%;
}

.image.right {
	float: right;
}

.image.left {
	float: left;
}

.text.right {
	float: right;
}

.border_divider {
	border-bottom: 2px solid #000;
	width: 50px;
	margin: 40px auto;
}

.link_button_round {
	border: 1px solid #000;
	border-radius: 16px;
	width: auto;
	display: inline-block;
	padding: 3px 20px;
	font-size: 16px;
	margin-top: 10px;
	cursor: pointer;
	transition: opacity 0.3s;
	opacity: 1;
}

.link_button_round:hover {
	opacity: 0.8;
}

.top_banner {
	height: 100vh;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	margin-bottom: 30px;
}

.boxed_tripple {
	width: 32%;
	float: left;
}

.boxed_tripple.middle {
	margin-left: 2%;
	margin-right: 2%;
}

.tripple_gallery_element {
	height: 75%;
	width: 25%;
	margin-top: 6.725%;
	float: left;
}

.tripple_gallery_element.middle {
	height: 100%;
	width: 30%;
	margin: 0 10%;
	margin-top: 0;
}

.overlapping_pic {
}

.quad_pic {
	width: 23%;
	margin-right: calc(8% / 3);
	float: left;
	height: 360px;
	background-size: cover;
	background-position-x: center;
	background-position-y: top;
	background-repeat: no-repeat;
}

/* Animations */
@keyframes MoveUpDown {
	0% {
		top: 0;
	}
	25% {
		top: 7px;
	}
	50% {
		top: 10px;
	}
	75% {
		top: 7px;
	}
	100% {
		top: 0;
	}
}

/* Fade */
.fade {
	transform: translateY(50px);
	transition: transform 0.5s;
}

.margin_fade {
	transform: translateY(50px);
	transition: transform 0.5s;
}

#top_top_scroller {
	position: fixed;
	bottom: 80px;
	width: 65px;
	height: 25px;
	right: 20px;
	cursor: pointer;
	z-index: 10;
	background-image: url(/src/icns/pfeil_black_neu.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center left;
	padding-left: 30px;
	background-size: 25px;
	transform: rotate(90deg);
	vertical-align: middle;
	text-align: right;
}
