/*
Theme Name:		Viva Wil
Theme URI: 		http://migagentur.ch
Version: 		1.21
Author: 		mig
Author URI: 	http://migagentur.ch
*/
@font-face {
    font-family: 'Bebas Kai';
    src: url('assets/fonts/BebasKai.woff2') format('woff2'),
        url('assets/fonts/BebasKai.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pluto Sans';
    src: url('assets/fonts/PlutoSansBold.woff2') format('woff2'),
        url('assets/fonts/PlutoSansBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pluto Sans';
    src: url('assets/fonts/PlutoSansRegular.woff2') format('woff2'),
        url('assets/fonts/PlutoSansRegular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
}

html, body {
	font-size: 14px;
	line-height: 133%;
    overflow-x: hidden;
}

@media (min-width: 600px) {
	html, body {
		font-size: 16px !important;
		line-height: 133%
	}
}

@media (min-width: 1200px) {
	html, body {
		font-size: 18px !important;
		line-height: 133%
	}
}

@media (min-width: 1600px) {
	html, body {
		font-size: 24px !important;
		line-height: 133%
	}
}

@media (min-width: 1800px) {
	html, body {
		font-size: 28px !important;
		line-height: 133%
	}
}

/*
 * Text and navigation link styles.
 * Necessary until the following issue is resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/27075
 */



.wp-site-blocks > .entry-content {
	/* padding: 5.75rem 0 */
}

a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25ch;
}

a:hover,
a:focus {
	text-decoration-style: dashed;
}

a:active {
	text-decoration: none;
}

.wp-block-navigation .wp-block-navigation-item a:hover,
.wp-block-navigation .wp-block-navigation-item a:focus {
	text-decoration: underline;
	text-decoration-style: solid;
}

/*
 * Search and File Block button styles.
 * Necessary until the following issues are resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/36444
 * https://github.com/WordPress/gutenberg/issues/27760
 */

.wp-block-search__button,
.wp-block-file .wp-block-file__button {
	background-color: var(--wp--preset--color--primary);
	border-radius: 0;
	border: none;
	color: var(--wp--preset--color--background);
	font-size: var(--wp--preset--font-size--medium);
	padding: calc(.667em + 2px) calc(1.333em + 2px);
}

/*
 * Button hover styles.
 * Necessary until the following issue is resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/27075
 */

.wp-block-search__button:hover,
.wp-block-file .wp-block-file__button:hover,
.wp-block-button__link:hover {
	opacity: 0.90;
}

/*
 * Alignment styles.
 * These rules are temporary, and should not be relied on or
 * modified too heavily by themes or plugins that build on
 * Twenty Twenty-Two. These are meant to be a precursor to
 * a global solution provided by the Block Editor.
 *
 * Relevant issues:
 * https://github.com/WordPress/gutenberg/issues/35607
 * https://github.com/WordPress/gutenberg/issues/35884
 */

.wp-site-blocks,
body > .is-root-container,
.edit-post-visual-editor__post-title-wrapper,
.wp-block-group.alignfull,
.wp-block-group.has-background,
.wp-block-cover.alignfull,
.is-root-container .wp-block[data-align="full"] > .wp-block-group,
.is-root-container .wp-block[data-align="full"] > .wp-block-cover {

}

.wp-site-blocks .alignfull,
.wp-site-blocks > .wp-block-group.has-background,
.wp-site-blocks > .wp-block-cover,
.wp-site-blocks > .wp-block-template-part > .wp-block-group.has-background,
.wp-site-blocks > .wp-block-template-part > .wp-block-cover,
body > .is-root-container > .wp-block-cover,
body > .is-root-container > .wp-block-template-part > .wp-block-group.has-background,
body > .is-root-container > .wp-block-template-part > .wp-block-cover,
.is-root-container .wp-block[data-align="full"] {

	width: 100%;
}

/* Blocks inside columns don't have negative margins. */
.wp-site-blocks .wp-block-columns .wp-block-column .alignfull,
.is-root-container .wp-block-columns .wp-block-column .wp-block[data-align="full"],
/* We also want to avoid stacking negative margins. */
.wp-site-blocks .alignfull:not(.wp-block-group) .alignfull,
.is-root-container .wp-block[data-align="full"] > *:not(.wp-block-group) .wp-block[data-align="full"] {

	width: inherit;
}

/*
 * Responsive menu container padding.
 * This ensures the responsive container inherits the same
 * spacing defined above. This behavior may be built into
 * the Block Editor in the future.
 */

.wp-block-navigation__responsive-container.is-menu-open {
	padding-top: var(--wp--custom--spacing--outer);
	padding-bottom: var(--wp--custom--spacing--large);
	padding-right: var(--wp--custom--spacing--outer);
	padding-left: var(--wp--custom--spacing--outer);
}



/* THEME */

html, body {
	overflow-x: hidden;
}

header {
    position: fixed;
    z-index: 99999;
    width: 100%;
    top: 0;
}


body.frontend:not(.is-scrolling) header .wp-block-group:first-child,
body.frontend header .wp-block-group:first-child {
    background: none  !important;
}

body.frontend.is-scrolling header .wp-block-group:first-child h3,
body.nav-open header .wp-block-group:first-child h3,
body:not(.home) header .wp-block-group:first-child h3 {
    display: none;
}

@media (max-width: 1000px) {
    header .wp-block-group:first-child h3 {
        font-size: 2rem !important;
        line-height: 100%;
    }
}

@media (max-width: 750px) {
    header .wp-block-group:first-child {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    header .wp-block-group:first-child h3 {
        font-size: 1.7rem !important;
        line-height: 100%;
    }
}

@media (max-width: 500px) {
    header .wp-block-group:first-child h3 {
        display: none;
    }

    header .wp-block-group:first-child .wp-block-group {
        padding: 0 !important
    }
}

header .wp-block-group {
    transition: all 0.2s ease-out;
    max-width: 100% !important
}

.logo img {
    width: 4rem !important;
    height: 4rem !important;
    object-fit: contain;
}




h1,
h2,
h3,
h4,
h5  {
	text-transform: uppercase;
    letter-spacing: 0.03em;
}

h1, h2 {
	font-size: 3.67rem !important;
	line-height: 100% !important;
}

h3 {
	font-size: 2.8rem !important;
	line-height: 100% !important;
    letter-spacing: 0;
}

h4 {
	font-size: 2.5rem !important;
	line-height: 100% !important;
}

h5 {
	font-size: 1.67rem !important;
	line-height: 100% !important;
}

.entry-content > .wp-block-group,
.entry-content > .wp-block-cover {
	margin: 0 !important
}


.entry-content > .wp-block-group {
	padding-top: 7em;
	padding-bottom: 7em
}

.entry-content > .wp-block-group.has-base-background-color {
	padding-top: 5em;
	padding-bottom: 5em
}


.home .entry-content > .wp-block-group.has-secondary-background-color {
    background-image: url(assets/images/navi.jpg);
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 100% auto;
}

.entry-content > .wp-block-group.has-secondary-background-color {
    background-image: url(assets/images/formular.jpg);
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 100% auto;
}



.entry-content > .wp-block-group.has-secondary-background-color#open-call {
    background-image: url(assets/images/opencall.jpg);
    background-position: top center;
    background-size: cover;
}

.entry-content > .wp-block-group#sei-dabei {
    background-image: url(assets/images/impressionen_.jpg);
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 100% auto;
    position: relative;
}

.entry-content > .wp-block-group#sei-dabei::before {
    content: "";
    display: block;
    width: 100%;
    background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    position: absolute;
    left: 0;
    top: 0;
    height: 30vw;
    z-index: 0;
}

.entry-content > .wp-block-group#sei-dabei > * {
    z-index: 1;
    position: relative;
}

.wp-block-image.alignfull {
	width: 100% !important;
}


.wp-block-query {
	margin-top: 0 !important;
	margin-bottom: 2.33rem !important
}


form {
	display: flex;
	flex-flow: row wrap;
	margin-left: -0.5rem;
    font-size: 0.8rem !important;
    line-height: 100%;
}

form .form-row {
	width: 100%;
	margin-bottom: 0.2rem !important;
	display: block;
}

form .column {
	width: 100%;
	box-sizing: border-box;
}

form.wpcf7-form {
	width: 100%%;
	max-width: 40rem;
	margin: auto;
    color: #FFF !important;
}

@media (min-width: 600px) {
	form.wpcf7-form {
		width: 66.7%;
	}
}
	form.wpcf7-form input[type='text'],
	form.wpcf7-form input[type='email'],
	form.wpcf7-form input[type='submit'],
	form.wpcf7-form textarea,
	form.wpcf7-form select {
		appearance: none;
		-webkit-appearance: none;
		border:0;
		background: #fff;
		font: inherit;
		font-size: 0.8rem;
		margin: 0 0 0.4rem 0;
		padding: 0.5rem;
		outline: none;
		width: 100%;
		border: 2px solid #fff;
		box-sizing: border-box;
	}

		form.wpcf7-form input[type='text']:focus,
		form.wpcf7-form input[type='email']:focus,
		form.wpcf7-form textarea:focus,
		form.wpcf7-form select:focus {
			border: 2px solid #000000;
		}


    .wpcf7-list-item label {
        display: flex;
        align-items: center;
        cursor: pointer;
    }

    form.wpcf7-form input[type='checkbox'] {
        appearance: none;
        width: 1.5em;
        height: 1.5em;
        border: 2px solid #000;
        background: #fff;
        border-radius: 0;
        margin: 0 0.5em 0 0 !important;
        display: inline-block;
    }

        form.wpcf7-form input[type='checkbox']:checked {
            background: #000
        }

	form.wpcf7-form *::placeholder {
		color: #000000;
	}

	form.wpcf7-form select {
		color: #000000;
	}

	form.wpcf7-form textarea {
		height: 6em
	}

	form.wpcf7-form input[type='submit'] {
		background: #FFF;
		border-color: #000;
		color: #000;
		text-transform: uppercase;
		font-weight: bold;
		font-size: 1.6rem;
        font-family: "Bebas Kai";
        letter-spacing: 0.03;
		line-height: 100%;
		margin-top: 2rem;
		padding: 0.5rem 1rem !important;
        width: auto;
	}


.checkboxes {
    margin: 0.25rem 0 0.5rem 0;
}

.wpcf7-list-item {
	margin: 0 1em 0 0 !important;
}


.entry-content {
	margin-top: 0 !important
}

.wp-block-template-part {
	margin-top: 0
}



footer {
	/* margin-top: 1.33rem !important; */

}

    footer p {
        font-size: 0.67rem;
        line-height: 133%;
    }

	footer a {
		color: inherit;
		text-decoration: none;
	}


	.has-text-color > a,
	mark > a {
		color: inherit !important;
	}

    footer .is-vertically-aligned-bottom img {
        max-width: 100%;
        height: auto !important;
    }


.is-info-headline::before,
.is-info-headline::after {
    content: "";
    display: inline-block;
    margin: 0 0.2em;
    background: url(assets/images/info-left.svg) no-repeat center;
    background-size: contain;
    height: 0.7em;
    width: 0.4em;
}

.is-info-headline::after { background-image: url(assets/images/info-right.svg) }


.is-sei-dabei-headline::before,
.is-sei-dabei-headline::after {
    content: "";
    display: inline-block;
    margin: 0 0.2em;
    background: url(assets/images/heart.svg) no-repeat center;
    background-size: contain;
    height: 0.7em;
    width: 0.7em;
}

.is-in-viewport .is-sei-dabei-headline::before,
.is-in-viewport .is-sei-dabei-headline::after {
    animation: pulsate 1s infinite;
}

.wp-block-separator {
    border-bottom-width: 1.5px;
    margin-block-start: 0;
    margin: 3em 0 !important
}


@keyframes pulsate {
  0% {
    transform: scale(0.7);
  }

  50% {
    transform: scale(1);
  }

  100% {
    transform: scale(0.7);
  }
}


.nav-toggle {
    width: 2em;
    height: 2em;
    cursor: pointer;
    margin-left: auto;
    overflow: hidden;
    padding-top: 2px;
}

    .nav-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: #fff;
        margin: 6px auto;
    }

body.frontend header .wp-block-group:first-child {
    z-index: 9999;
    position: relative;
}

.is-nav {
    z-index: 999;
    position: absolute;
    top: 0;
    height: 100vh;
    flex-flow: row wrap;
    align-items: center;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.frontend .is-nav {
    display: none;
}

@media (max-width: 700px) {
    .is-nav h2 {
        font-size: 3.25rem !important;
        line-height: 120%;
    }
}

@media (max-width: 550px) {
    .is-nav h2 {
        font-size: 3rem !important;
        line-height: 120%;
    }
}

@media (max-width: 500px) {
    .is-nav h2 {
        font-size: 2.5rem !important;
        line-height: 120%;
    }
}

@media (max-width: 450px) {
    .is-nav h2 {
        font-size: 2.25rem !important;
        line-height: 120%;
    }
}

@media (max-width: 370px) {
    .is-nav h2 {
        font-size: 2rem !important;
        line-height: 120%;
    }
}

.is-nav h2+h2 {
    margin-block-start: 0;
}

    .is-nav a {
        text-decoration: none !important;
        transition: all 0.2s ease-out;
    }


    .is-nav a:hover,
    .is-nav a:focus {
        color: #fff !important;
        outline: none;
    }


    .is-nav a::before,
    .is-nav a::after {
        content: "";
        display: inline-block;
        margin: 0 0.2em;
        background: url(assets/images/info-left-w.svg) no-repeat center;
        background-size: contain;
        height: 0.7em;
        width: 0.4em;
        opacity: 0;
        transition: all 0.2s ease-out;
    }

    .is-nav a::after { background-image: url(assets/images/info-right-w.svg) }

    .is-nav a:hover::before,
    .is-nav a:hover::after,
    .is-nav a:focus::before,
    .is-nav a:focus::after {
        opacity: 1
    }

.nav-open .is-nav {
    display: flex;
}

.cloud {
    position: absolute;
    top: 0;
    width: 100%;
    left: 0;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 2s ease-in;
    transition-delay: 0.5s !important;
}

.cloud1 { background-image: url(assets/images/cloud1.png); transition: all 3s ease-in; }
.cloud2 { background-image: url(assets/images/cloud2.png); transition: all 5s ease-in; }
.cloud3 { background-image: url(assets/images/cloud3.png); transition: all 3.5s ease-in; }
.cloud4 { background-image: url(assets/images/cloud4.png); transition: all 6s ease-in; }
.cloud5 { background-image: url(assets/images/cloud5.png); transition: all 4.5s ease-in; }


.has-loaded .cloud1 {
    transform: translateX(-50%) scale(1.5);
    opacity: 0;
}

.has-loaded .cloud2 {
    transform: translateX(-50%) scale(1.5);
    opacity: 0;
}

.has-loaded .cloud3 {
    transform: translateX(50%) scale(1.5);
    opacity: 0;
}

.has-loaded .cloud4 {
    transform: translateX(50%) scale(1.5);
    opacity: 0;
}

.has-loaded .cloud5 {
    transform: translateX(50%) scale(1.5);
    opacity: 0;
}

.main-logo {

}

.main-logo img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-40%);
    width: 40%;
    height: 70%;
    background-size: contain;
    object-fit: contain;
    z-index: 99;
}

    @media (orientation: portrait) {
        .main-logo {
            width: 65%;

        }
    }

#info {
    position: relative;
}

.balloon {
    width: 10em;
    height: 15em;
    background: url(assets/images/balloon.png) no-repeat center;
    background-size: contain;
    position: absolute;
    right: 1em;
    top: 0;
    transform: translateY(-38%);
    z-index: 9;
    /* transition: all 1s ease-out; */
}


.balloon.sticky-css {
    transform: none;
    top: 70px;
    position: fixed;
}

    @media (max-width: 990px) {
        .balloon {
            right: 0;
            transform: translateY(-38%) translateX(40%) scale(0.8);
        }

        .balloon.sticky-css {
            transform:  translateX(40%) scale(0.8);
            right: 0;
        }
    }

/* .balloon.is-sticky {
    transform: none;
} */


#open-call {
    position: relative;
}

#open-call h2::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 5rem;
    width: 16rem;
    height: 16rem;
    background: url(assets/images/trumpet-left.png) no-repeat center;
    background-size: contain;
    transform: translateX(-20%) scaleX(1);
}

#open-call h2::after {
    content: "";
    display: block;
    position: absolute;
    right: 0;
    top: 5rem;
    width: 16rem;
    height: 16rem;
    background: url(assets/images/trumpet.png) no-repeat center;
    background-size: contain;
    transform: translateX(20%) scaleX(1);

}

@media (max-width: 900px) {
    #open-call h2::before,
    #open-call h2::after {
        width: 12rem;
        height: 12rem;
    }
}

@media (max-width: 700px) {
    #open-call {
        padding-top: 9em !important
    }
    #open-call h2::before,
    #open-call h2::after {
        width: 12rem;
        height: 12rem;
        top: 0;
    }
}

#open-call.is-in-viewport h2::before {
    -webkit-animation: wobble-ver-left 1.5s infinite both;
            animation: wobble-ver-left 1.5s infinite both;
}

#open-call.is-in-viewport h2::after {
    -webkit-animation: wobble-ver-right 1.5s infinite both;
            animation: wobble-ver-right 1.5s infinite both;
}




/* ----------------------------------------------
 * Generated by Animista on 2023-6-6 23:13:18
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info.
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation wobble-ver-left
 * ----------------------------------------
 */
@-webkit-keyframes wobble-ver-left {
  0%,
  100% {
    -webkit-transform:translateX(-20%) scaleX(1) translateY(0) rotate(0);
            transform:translateX(-20%) scaleX(1) translateY(0) rotate(0);
    -webkit-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
  }
  15% {
    -webkit-transform:translateX(-20%) scaleX(1) translateY(-30px) rotate(-6deg);
            transform:translateX(-20%) scaleX(1) translateY(-30px) rotate(-6deg);
  }
  30% {
    -webkit-transform:translateX(-20%) scaleX(1) translateY(15px) rotate(6deg);
            transform:translateX(-20%) scaleX(1) translateY(15px) rotate(6deg);
  }
  45% {
    -webkit-transform:translateX(-20%) scaleX(1) translateY(-15px) rotate(-3.6deg);
            transform:translateX(-20%) scaleX(1) translateY(-15px) rotate(-3.6deg);
  }
  60% {
    -webkit-transform:translateX(-20%) scaleX(1) translateY(9px) rotate(2.4deg);
            transform:translateX(-20%) scaleX(1) translateY(9px) rotate(2.4deg);
  }
  75% {
    -webkit-transform:translateX(-20%) scaleX(1) translateY(-6px) rotate(-1.2deg);
            transform:translateX(-20%) scaleX(1) translateY(-6px) rotate(-1.2deg);
  }
}
@keyframes wobble-ver-left {
  0%,
  100% {
    -webkit-transform:translateX(-20%) scaleX(1) translateY(0) rotate(0);
            transform:translateX(-20%) scaleX(1) translateY(0) rotate(0);
    -webkit-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
  }
  15% {
    -webkit-transform:translateX(-20%) scaleX(1) translateY(-30px) rotate(-6deg);
            transform:translateX(-20%) scaleX(1) translateY(-30px) rotate(-6deg);
  }
  30% {
    -webkit-transform:translateX(-20%) scaleX(1) translateY(15px) rotate(6deg);
            transform:translateX(-20%) scaleX(1) translateY(15px) rotate(6deg);
  }
  45% {
    -webkit-transform:translateX(-20%) scaleX(1) translateY(-15px) rotate(-3.6deg);
            transform:translateX(-20%) scaleX(1) translateY(-15px) rotate(-3.6deg);
  }
  60% {
    -webkit-transform:translateX(-20%) scaleX(1) translateY(9px) rotate(2.4deg);
            transform:translateX(-20%) scaleX(1) translateY(9px) rotate(2.4deg);
  }
  75% {
    -webkit-transform:translateX(-20%) scaleX(1) translateY(-6px) rotate(-1.2deg);
            transform:translateX(-20%) scaleX(1) translateY(-6px) rotate(-1.2deg);
  }
}


@-webkit-keyframes wobble-ver-right {
  0%,
  100% {
    -webkit-transform:translateX(20%) scaleX(1) translateY(0) rotate(0);
            transform:translateX(20%) scaleX(1) translateY(0) rotate(0);
    -webkit-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
  }
  15% {
    -webkit-transform:translateX(20%) scaleX(1) translateY(-30px) rotate(6deg);
            transform:translateX(20%) scaleX(1) translateY(-30px) rotate(6deg);
  }
  30% {
    -webkit-transform:translateX(20%) scaleX(1) translateY(15px) rotate(-6deg);
            transform:translateX(20%) scaleX(1) translateY(15px) rotate(-6deg);
  }
  45% {
    -webkit-transform:translateX(20%) scaleX(1) translateY(-15px) rotate(3.6deg);
            transform:translateX(20%) scaleX(1) translateY(-15px) rotate(3.6deg);
  }
  60% {
    -webkit-transform:translateX(20%) scaleX(1) translateY(9px) rotate(-2.4deg);
            transform:translateX(20%) scaleX(1) translateY(9px) rotate(-2.4deg);
  }
  75% {
    -webkit-transform:translateX(20%) scaleX(1) translateY(-6px) rotate(1.2deg);
            transform:translateX(20%) scaleX(1) translateY(-6px) rotate(1.2deg);
  }
}
@keyframes wobble-ver-right {
  0%,
  100% {
    -webkit-transform:translateX(20%) scaleX(1) translateY(0) rotate(0);
            transform:translateX(20%) scaleX(1) translateY(0) rotate(0);
    -webkit-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
  }
  15% {
    -webkit-transform:translateX(20%) scaleX(1) translateY(-30px) rotate(6deg);
            transform:translateX(20%) scaleX(1) translateY(-30px) rotate(6deg);
  }
  30% {
    -webkit-transform:translateX(20%) scaleX(1) translateY(15px) rotate(-6deg);
            transform:translateX(20%) scaleX(1) translateY(15px) rotate(-6deg);
  }
  45% {
    -webkit-transform:translateX(20%) scaleX(1) translateY(-15px) rotate(3.6deg);
            transform:translateX(20%) scaleX(1) translateY(-15px) rotate(3.6deg);
  }
  60% {
    -webkit-transform:translateX(20%) scaleX(1) translateY(9px) rotate(-2.4deg);
            transform:translateX(20%) scaleX(1) translateY(9px) rotate(-2.4deg);
  }
  75% {
    -webkit-transform:translateX(20%) scaleX(1) translateY(-6px) rotate(1.2deg);
            transform:translateX(20%) scaleX(1) translateY(-6px) rotate(1.2deg);
  }
}


#hutgeld::before {
    content: "";
    position: absolute;
    width: 20rem;
    height: 20rem;
    left: -7rem;
    background: url(assets/images/hut.png) no-repeat center;
    background-size: contain;
    transform: translateY(-50%) rotate(160deg);
}

@media (max-width: 1050px) {
    #hutgeld::before {
        width: 15rem;
        height: 15rem;
        left: -5rem;
        margin-top: -2rem;
    }
}

@media (max-width: 800px) {
    #hutgeld::before {
        width: 12rem;
        height: 12rem;
        left: -5rem;
        margin-top: -2rem;
    }
}

@media (max-width: 425px) {
    #hutgeld::before {
        width: 12rem;
        height: 12rem;
        left: -5rem;
        margin-top: 0rem;
    }
}

.is-in-viewport #hutgeld::before {
    animation: shake 4s cubic-bezier(0.455, 0.030, 0.515, 0.955) infinite both;
}

@keyframes shake {
  0%,
  60%,
  100% {
            transform:translateY(-50%) rotate(160deg);

  }
  5% {
            transform:translateY(-50%) rotate(162deg)
  }
  10%,
  20%,
  30% {
            transform:translateY(-50%) rotate(156deg)
  }
  15%,
  25%,
  35% {
            transform:translateY(-50%) rotate(164deg)
  }
  40% {
            transform:translateY(-50%) rotate(158deg)
  }
  45% {
            transform:translateY(-50%) rotate(162deg)
  }

}


footer * {
    margin-block-start: 0 !important;
}

footer > .wp-block-group:first-child > *:first-child {
    max-width: 1900px !important;
    margin: 0 auto;
}

.wil img,
.stadtwil img {
    height: 3em;
    width: auto;
}

.wilshopping img {
    height: 3em;
    width: auto;
}

.wilerzeitung img,
.wilernachrichten img {
    max-height: 2em !important;
    width: auto !important;
}

footer .wp-block-social-links {
    margin-top: 1em !important;
}


footer .justify {
    min-height: 6em;
    justify-content: space-between;
    gap: 0;
}

.footer-logo img {
    height: 8em;
    width: auto;
}

.vivawil {

}

.row-label {
    font-weight: 600;
    margin-bottom: 0.25em;
    display: block;
}

.program-holder {
    gap: 4rem !important;
    display: flex !important;
    flex-flow: row wrap !important;
}

.program-item {
    width: calc(50% - 2rem);
    position: relative;
}

    @media (max-width: 799px) {
        .program-item {
            width: calc(100%);
            position: relative;
        }
    }

    .program-item::before {
        content: "";
        display: block;
        background: #111;
        position: absolute;
        top: 0;
        left: 4rem;
        height: calc(100% - 4rem);
        width: calc(100% - 4rem);
        z-index: 0;
    }

    .program-item > * {
        position: relative;
        z-index: 9;
    }

    .program-item img {
        aspect-ratio: 4 / 3;
        height: auto;
        width: calc(100% - 4rem);
        margin-top: 4rem;
        object-fit: cover;
        object-position: center;
    }

    .program-item h3 {
        position: absolute;
        color: #fff !important;
        line-height: 4rem !important;
        font-size: 2rem !important;
        top: 0;
        left: 4rem;
        padding-left: 1.5rem;
        margin-block-start: 0 !important
    }

    .program-item h5 {
        position: absolute;
        padding-left: 1.5rem;
        color: #EF7E01 !important;
        line-height: 4rem !important;
        right: 0;
        bottom: 4rem;
        transform: translateX(100%) rotate(-90deg);
        transform-origin: bottom left;
    }

    @media (max-width: 400px) {
        .program-item h3 {
            line-height: 4rem !important;
            font-size: 1.5rem !important;
        }

        .program-item h5 {
            font-size: 1.2rem !important;
            line-height: 4rem !important;
        }
    }

    @media (min-width: 800px) and (max-width: 1100px) {
        .program-item h3 {
            line-height: 4rem !important;
            font-size: 1.5rem !important;
        }

        .program-item h5 {
            font-size: 1.2rem !important;
            line-height: 4rem !important;
        }
    }

.program-buttons {
    margin-bottom: 4em !important;
    gap: 4rem !important;
}

.program-buttons a {
    font-family: var(--wp--preset--font-family--headlines) !important;
    font-size: 3rem !important;
    line-height: 100%;
    text-transform: uppercase;
    border: 2px solid #000;
    padding: 0.25em 0.5em !important
}

.program-buttons .active a,
.program-buttons .active a:hover {
    color: #EF7E01;
    background: #000;
}

.program-buttons a:hover {
    background: #EF7E01;
}


.frontend .program-holder {
    display: none !important;
}

.frontend .program-holder.visible {
    display: flex !important;
}

.current-page–programm {
    overflow-x: hidden !important;
}

.current-page–programm .entry-content > .wp-block-group > * {
    position: relative;
    z-index: 9;
}

.wolke1 {
    pointer-events: none;
    position: absolute !important;
    z-index: 0 !important;
    top: 0;
    right: 0;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: url(assets/images/wolke01.png) no-repeat center right -30vw;
    background-size: contain;
    transform:  translateY(-30%);
    opacity: 0.5
}

.wolke2 {
    pointer-events: none;
    position: absolute !important;
    z-index: 0 !important;
    top: 30vh;
    left: 0;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: url(assets/images/wolke02.png) no-repeat top left -40vw;
    background-size: contain;
    transform:  translateY(0);
    opacity: 0.5
}

.wolke3 {
    pointer-events: none;
    position: absolute !important;
    z-index: 0 !important;
    top: 100vh;
    right: 0;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: url(assets/images/wolke03.png) no-repeat bottom right -20vw;
    background-size: contain;
    transform:  translateY(-30%);
    opacity: 0.5
}
