/**
 * @author Discodoener, Valentin Alisch
 * @version 1.0
 */

* {
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
 	-moz-osx-font-smoothing: grayscale;
}

html,
body,
#page {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

#page {
	overflow-x: hidden;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
}

#page::after {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: white;
	z-index: 10;
}



.mywrap {
	padding: var( --spacing );
}
	.mywrap--vertical {
		padding: calc( var( --spacing ) * 2 ) var( --spacing );
	}

	.mywrap--vertical2 {
		padding: calc( var( --spacing ) * 4 ) var( --spacing );
	}

.push--05 {
	margin-bottom: calc( var( --spacing ) * 0.3 );
}
.push--1 {
	margin-bottom: var( --spacing );
}



a,
a * {
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

a.is-anonymous {
	text-decoration: none;
}



.button > a,
a.button,
.display-as-button {
	display: block;
	padding: 0.5em 0.7em;
	background: black;
	color: white;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 5px;
	margin: calc( var( --spacing ) * 0.5 );
	text-align: center;
}

p > span.button {
	margin-left: calc( var( --spacing ) * -0.5 );
	margin-right: calc( var( --spacing ) * -0.5 );
}



header.page--header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: transparent;
	z-index: 100;

	position: -webkit-sticky;
	position: -moz-sticky;
	position: sticky;
	top: 0;

	mix-blend-mode: difference;

	height: var( --traffic-light-height, auto );
}
.starts-with-events #page header.page--header,
.single-event #page header.page--header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
}

.branding--signet svg {
	height: 2em;
}

.branding svg {
	height: 1em;
}

	.branding--signet svg path,
	.branding svg path {
		fill: white;
	}

	.home .branding--signet svg path,
	.single-event .branding--signet svg path,
	.post-type-archive-event .branding--signet svg path,
	.home .branding svg path,
	.single-event .branding svg path,
	.post-type-archive-event .branding svg path {
		fill: white;
	}



main#page-main,
footer.page--footer {
	background: white;
	position: relative;
	z-index: 20;
}



section[class^="section--"] {
	max-width: var( --max-width );
	margin: 0 auto;
}

section.section--headline {
	text-transform: uppercase;
	text-align: center;
	padding-bottom: 0;
}

@media ( min-width: 700px ) {
	section[class^="section--"] .parts--wrap {
		display: flex;
		align-items: center;
	}

		section[class^="section--"] .parts--wrap > * {
			flex: 1;
		}
}



#cookie-notice {
	position: fixed;
	bottom: 0;
	left: 0;
	padding: var( --spacing );
	font-size: 0.75em;
	line-height: 1.25;
	background: black;
	margin: var( --spacing );
	color: white;
	border-radius: 0.5em;

	transition: all var( --transition-duration ) ease-in-out;
}

#cookie-notice.cookie-notice--accepted {
	pointer-events: none;
	-webkit-transform: translateY( 50% );
	-moz-transform: translateY( 50% );
	transform: translateY( 50% );
	opacity: 0;
}

	#cookie-notice #cookie-notice--button {
		margin-top: 0.5em;
	}



/**
 * Support
 *
 * @since 04.04.2020
 */
#support {
	position: fixed;
	bottom: calc( var( --spacing ) * 0.5 );
	right: calc( var( --spacing ) * 0.5 );
	transform-origin: bottom right;
	z-index: 10000;
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	transform: scale( 0 );
	max-width: 500px;
	max-height: 500px;
	width: 75vw;
	cursor: pointer;
}

#support.init {
	transform: scale( 0.75 );
}

#support.idle {
	transform: scale( 0.5 );
}
#support.idle:hover {
	transform: scale( 0.8 );
}

	#support > a {
		display: block;
	}

		#support > a > img {
			animation: image--rotate ease-in-out 5s infinite;
		}

		@keyframes image--rotate {
			0% {
				transform: rotate( -30deg ) scale( 0.95 );
			}

			50% {
				transform: rotate( -20deg ) scale( 1 );
			}

			100% {
				transform: rotate( -30deg ) scale( 0.95 );
			}
		}