@font-face {
    font-family: "MelodBold";
    src: url("/assets/fonts/MelodBold.ttf") format("truetype");
}

h1,h2,h3, .tdo {
    font-family: MelodBold;
    text-shadow: 0 0 2px #000;
}


body {
    background: url('/assets/images/starfield.jpeg');
    background-attachment: fixed;
    color: #fff;
    overflow-x: hidden;
}

a {
    color: #fff;
}

.background-noise {
    z-index: 1001;
    opacity: .2;
    pointer-events: none;
    background-image: url('/assets/images/noise.png');
    background-position: 0 0;
    background-size: 170px;
    width: 100% !important;
    height: 100%;
    position: fixed;
    inset: 0%;
}

#intro {
    height: 100vh;
}

section {
    position: relative;
    overflow: hidden;
}

.stage-content-wrapper {
    padding: 25vh 25vw;
}
.stage-content-wrapper h1{
    font-size: 12vw !important;
    line-height: 0.8em;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

#bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100%;
    object-fit: cover; /* wichtig: schneidet richtig zu */
    z-index: 1;
}

.navbar {
    border-bottom: 1px solid #fff;
}

.anchor {
    padding-top: 25px;
}

.logo {
    position: absolute;
    z-index: 99;
    top: 21vh;
    margin: 0 auto;
    width: 17vw;
    left: calc(50% - -8vw);
}

.image-updown {
    animation: upDown 2s ease-in-out infinite;
}

.fadeInDown {
    animation-name: fadeInDown;
    animation-duration: 1.25s;
}

.fadeInUp {
    animation-name: fadeInUp;
    animation-duration: 1.25s;
}

.fadeInLeft {
    animation-name: fadeInLeft;
    animation-duration: 1.25s;
}

.fadeInRight {
    animation-name: fadeInRight;
    animation-duration: 1.25s;
}

.image-rotate {
    animation: 20s linear 0s infinite normal none running rotateCircle;
    animation-duration: 120s;
}

@keyframes rotateCircle {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
    .image-updown {
       display: inline-block;
       animation: upDown 2s ease-in-out infinite;
    }


.infinite-zoom{
    -webkit-animation: zoomSlow 60s infinite linear;
    -moz-animation: zoomSlow 60s infinite linear;
    animation: zoomSlow 60s infinite linear;
}

@-webkit-keyframes zoomSlow {
    0% {
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -moz-transform: scale(1.3) rotate(0.1deg);
        -webkit-transform: scale(1.3) rotate(0.1deg);
        transform: scale(1.3) rotate(0.1deg);
    }

    100% {
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@-moz-keyframes zoomSlow {
    0% {
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -moz-transform: scale(1.3) rotate(0.1deg);
        -webkit-transform: scale(1.3) rotate(0.1deg);
        transform: scale(1.3) rotate(0.1deg);
    }

    100% {
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

keyframes zoomSlow {
    0% {
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -moz-transform: scale(1.3) rotate(0.1deg);
        -webkit-transform: scale(1.3) rotate(0.1deg);
        transform: scale(1.3) rotate(0.1deg);
    }

    100% {
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(100%,0,0)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-100%,0,0)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0,-100%,0)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0,100%,0)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes zoomer {
    0% {
        zoom: 1.0;
    }
    50% {
        zoom: 1.2;
    }
}

@keyframes upDown {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
        /* moves up */
    }

    100% {
        transform: translateY(0px);
        /* back down */
    }
}

.hero-slide h1 {
    text-align: left;
    font-size: 3em;
    line-height: 0.8em;
}

.dark.mainnav {
    border-bottom-right-radius: 80%;
    border-bottom-left-radius: 100%;
    box-shadow: 0 0 117px #fff;
    border-bottom: 1px solid #fff;
    background: rgba(0,0,0,0.8);
}

.dark {
    background: rgba(0,0,0,0.8);
}
.dark a {
    color:#fff;
}

.lightdark {
    background: rgba(25,25,25,0.9);
    padding: 10px 0;
}
    .lightdark a {
        color:#fff;
    }

#mainmenu .social div a {
    font-size: 1.2em;
    margin-left: 5px;
}

#mainmenu .social .svgIcon {
    height: 1.2em;
    margin-left: 5px;
    margin-top: -4px;
}


footer {
    margin-top: 0 !important;
}

footer a {

}

footer .social  a {
    font-size: 1.2em;
    margin-left: 5px;
}

footer .social .svgIcon {
    height: 1.2em;
    margin-left: 5px;
    margin-top: -4px;
}

.image-hover {
    position: relative;
    display: inline-block;
    overflow: hidden;
    animation-duration: 1.25s;
}
.image-hover::after {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100% !important;
    height: 100%;
    background-color: rgb(0, 0, 0);
    opacity: 0;
    z-index: 1;
    transition: opacity 0.4s;
}

.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.fullscreen-menu.active {
    opacity: 1;
    visibility: visible;
}
.fullscreen-menu-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.fullscreen-menu-close:hover {
    transform: scale(1.2);
}
.fullscreen-menu .nav-link {
    font-size: 1.5rem;
    padding: 0.75rem 2rem;
    transition: opacity 0.2s ease;

}
.fullscreen-menu .nav-link:hover {
    opacity: 0.7;
    transition: transform 0.2s ease;
    transform: scale(1.2);
}

#dot-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 99;
}

#dot-nav a {
    width: 12px;
    height: 12px;
    background: #777;
    border-radius: 50%;
    display: block;
    transition: 0.3s;
}

#dot-nav a:hover {
    background: #fff;
    transform: scale(1.2);
}

#dot-nav a.active {
    background: #ccc;
    transform: scale(1.3);
}

.pb-section {
    position: relative;
    /*scroll-margin-top: 145px;*/
}
.pb-section-bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.carousel-control-next, .carousel-control-prev {
    opacity: 0.1;
}

.carousel-control-next-icon {
    border-left: 1px solid #fff;
    border-radius: 100%;
    padding: 100px;
}

.carousel-control-prev-icon {
    border-right: 1px solid #fff;
    border-radius: 100%;
    padding: 100px;
}

.card {
    border-radius: 0px;
    box-shadow: 0 0 5px #000;
    border: none;
    background: #212527;
}
.card-body, .card-text {
    color: #fff;
}

.event-card .event-card-image-wrap {
    width: 100% !important;
    height: 100%;
    overflow: hidden;
}
.event-card .event-card-image {
    width: 100% !important;
    height: 100%;
    object-fit: cover;
    display: block;
}
.event-card .card-body {
    height: auto;
}

.news-list,
.news-archive {
    --bs-gutter-x: 30px;
    --bs-gutter-y: 30px;
}

.news-card {
    max-height: 300px;
    overflow: hidden;
}
.news-card-row,
.news-card-image-col,
.news-card-body-col {
    height: 100%;
}
.news-card-image-wrap {
    width: 100%;
    height: 300px;
    max-height: 300px;
    overflow: hidden;
}
.news-card-image-wrap--logo {
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 0, 128, 0.7), transparent 55%),
        radial-gradient(circle at 80% 30%, rgba(0, 200, 255, 0.7), transparent 60%),
        radial-gradient(circle at 40% 80%, rgba(255, 220, 0, 0.7), transparent 55%),
        radial-gradient(circle at 70% 70%, rgba(140, 0, 255, 0.7), transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(0, 255, 160, 0.55), transparent 65%),
        #0b0b0f;
    display: flex;
    align-items: center;
    justify-content: center;
}
.news-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.news-card-image-fallback {
    height: 100%;
    min-height: 200px;
}
.news-card-image-logo {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    padding: 0;
}
.news-card .card-body {
    overflow: hidden;
}
.news-card-date {
    color: #cfd3d7;
}
@media (max-width: 767.98px) {
    .event-card .event-card-row {
        flex-direction: column;
    }
    .event-card .event-card-image-col {
        width: 100% !important;
    }
    .event-card .event-card-image-wrap {
        height: 180px;
    }
    .event-card .event-card-body-col {
        width: 100% !important;
        height: auto;
    }
    .event-card .event-card-row,
    .event-card .event-card-image-col {
        height: auto;
    }
    .event-card .card-body {
        height: auto;
        display: block;
        visibility: visible;
    }
    .news-card-row {
        flex-direction: column;
    }
    .news-card-image-col {
        width: 100% !important;
        height: auto;
    }
    .news-card-image-wrap {
        height: 180px;
        max-height: 180px;
    }
    .news-card-body-col {
        width: 100% !important;
        height: auto;
    }
    .news-card .card-body {
        height: auto;
    }
}

#headerLogo {
    /*
    background: transparent;
    box-shadow: 0 0 86px #000;
    */
    border-radius: 100%;
    width: 200px;
    height: 200px;
    position: fixed;
    text-align: center;
    top: 0px;
    transform: translate(-100px, -60px);
    border-bottom: 2px solid;
}

#headerLogo:hover {
    /*animation: zoomer 2s ease-in-out infinite;*/

}

@include media-breakpoint-up(sm) {
    #headerLogo {
        transform: translate(-100px, -80px);
    }
}

#headerLogo img{
    width: 150px;
}

.card-img, .card-img-top {
    display:block;
    width: 80%;
}
/* White outline button */
.btn-outline-white {
    color: #fff;
    border-color: #fff;
    background-color: transparent;
}
.btn-outline-white:hover,
.btn-outline-white:focus {
    color: #000;
    background-color: #fff;
    border-color: #fff;
}

.lang-switcher-top {
    position: absolute;
    top: 12px;
    left: 44px;
    z-index: 1002;
    display: flex;
    gap: 6px;
}

.lang-switcher-top a {
    line-height: 1;
    display: inline-flex;
    align-items: center;
}
.lang-switcher-top .language-flags .fi {
    font-size: 1.2rem;
}


.youtube-consent {
    position: relative;
    background: #1f1f1f;
    color: #fff;
    overflow: hidden;
}
.youtube-consent__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    background-image: var(--youtube-bg, none);
    background-size: cover;
    background-position: center;
}
.youtube-consent__overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 0;
}
.youtube-consent__body {
    position: relative;
    z-index: 1;
}
.youtube-consent__body {
    max-width: 520px;
}
.youtube-consent__icon {
    font-size: 1.5rem;
    margin: 15px 0 0 0 !important;
}
.youtube-consent__text {
    font-size: 0.70rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}
.youtube-consent__button {
    border-radius: 999px;
    padding: 0.5rem 1.25rem;
}


.youtube-consent__title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.1rem;
}


/* event-card-desktop-equal-height */
@media (min-width: 768px) {
    .event-card {
        height: 100%;
    }
    .event-card .event-card-row,
    .event-card .event-card-image-col,
    .event-card .event-card-body-col {
        height: 100%;
    }
}


footer .footer-menu a {
    font-size: 1.5rem;
    line-height: 1.2;
}
@media (max-width: 767.98px) {
    footer .footer-menu a {
        font-size: 1.2rem;
    }
}


.row-cards-equal {
    align-items: stretch !important;
}
.row-cards-equal > [class*="col-"] {
    display: flex;
}
.row-cards-equal .pb-element {
    flex: 1 1 auto;
    display: flex;
}
.row-cards-equal .pb-element .card {
    width: 100% !important;
}




.row-cards-equal .card-body {
    padding: 0 0 1rem 0;
}
.row-cards-equal .card-img-top {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover;
    display: block;
    margin: 0 0 1rem 0;
}
.row-cards-equal .card-body > :not(.card-img-top) {
    padding: 0 1rem;
}


.gallery-filters .is-active {
    background: #fff;
    color: #000;
}
.gallery-item.is-hidden {
    display: none;
}



.pb-element.image-equal-height img.img-fluid {
    width: 100% !important;
    height: 220px !important;
    max-height: none !important;
    object-fit: cover;
    display: block;
}


.pb-element.image-bottom-padding img.img-fluid {
    margin-bottom: 1rem;
}


.video-loop-fade {
    transition: opacity 1.2s ease;
}
.video-loop-fade.is-fading {
    opacity: 0;
}


.hero-loop-fade .carousel-inner {
    transition: opacity 1.2s ease;
}
.hero-loop-fade.is-fading .carousel-inner {
    opacity: 0;
}




.hero-video-xfade {
    transition: opacity 1.2s ease;
}
.hero-video-xfade.is-hidden {
    opacity: 0;
}


.hero-slider .slide-text-content,
.hero-slider .slide-text-content h1,
.hero-slider .slide-text-content p {
    text-align: center;
}




    60% { opacity: 1; }
    100% { opacity: 0; }
}
    100% { opacity: 1; }
}


    100% { transform: scale(1.25) rotate(240deg); }
}
    100% { transform: scale(1.15) rotate(-240deg); }
}

    60% { opacity: 1; }
    100% { opacity: 0; }
}
    100% { opacity: 1; }
}


:root{
    --tile-length: 17.5vmin;
    --transition-duration: 1.6s;
    --kaleido-rotation: 8s;
    --kaleido-offset: 0ms;
}


:root{
    --tile-length: 17.5vmin;
    --transition-duration: 1.6s;
    --kaleido-rotation: 8s;
}
.page-transition {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-transition.is-active,
.page-transition.is-exit {
    opacity: 1;
    visibility: visible;
}
.page-transition.is-active {
    animation: kaleido-in var(--transition-duration) ease-out forwards;
}
.page-transition.is-exit {
    animation: kaleido-out var(--transition-duration) ease-in forwards;
}
.page-transition .kaleidoscope{
    position: relative;
    width: calc(6 * .866 * var(--tile-length));
    height: 90vmin;
    border-radius: 50%;
    overflow: hidden;
    animation: rotation var(--kaleido-rotation) linear infinite;
    animation-delay: var(--kaleido-offset);
}
.page-transition .kaleidoscope:after{
    content:'';
    position:absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 25%, black 60%);
    z-index: 10;
}
.page-transition .container{
    position: absolute;
    width: calc(2 * var(--tile-length));
    height: calc(2 * var(--tile-length));
    border-radius: 50%;
    overflow: hidden;
    transform: translate( calc(var(--tile-length) * -0.134 ), -50%);
}
.page-transition .container:nth-child(1){ top: 50%; left: 0%; }
.page-transition .container:nth-child(2){ top: 50%; left: calc(2 * calc(var(--tile-length) * 0.866 )); }
.page-transition .container:nth-child(3){ top: 50%; left: calc(4 * calc(var(--tile-length) * 0.866 )); }
.page-transition .container:nth-child(4){ top: calc(50% - calc(1.5 * var(--tile-length))); left: calc(var(--tile-length) * 0.866 ); }
.page-transition .container:nth-child(5){ top: calc(50% - calc(1.5 * var(--tile-length))); left: calc(3 * var(--tile-length) * 0.866 ); }
.page-transition .container:nth-child(6){ top: calc(50% + calc(1.5 * var(--tile-length))); left: calc(var(--tile-length) * 0.866 ); }
.page-transition .container:nth-child(7){ top: calc(50% + calc(1.5 * var(--tile-length))); left: calc(3 * var(--tile-length) * 0.866 ); }
.page-transition .tile{
    position: absolute;
    top: 28%;
    left: 25%;
    width: var(--tile-length);
    height: calc(var(--tile-length) * 0.866);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-transition .tile:nth-child(1){ transform: rotate(30deg) translateY(50%) scaleX(-1); }
.page-transition .tile:nth-child(2){ transform: rotate(90deg) translateY(50%); }
.page-transition .tile:nth-child(3){ transform: rotate(150deg) translateY(50%) scaleX(-1); }
.page-transition .tile:nth-child(4){ transform: rotate(210deg) translateY(50%); }
.page-transition .tile:nth-child(5){ transform: rotate(270deg) translateY(50%) scaleX(-1); }
.page-transition .tile:nth-child(6){ transform: rotate(330deg) translateY(50%); }
.page-transition .texture{
    position: absolute;
    height: calc(1.75 * var(--tile-length));
    width: calc(1.75 * var(--tile-length));
    background-image: url(/assets/images/kaleidoscope-texture.jpg);
    background-size: 100%;
    animation: rotation var(--kaleido-rotation) linear infinite;
    animation-delay: var(--kaleido-offset);
}
@keyframes rotation{ from{ transform: rotate(0deg); } to{ transform: rotate(360deg); } }
@keyframes kaleido-in{ 0%{ opacity:1; } 60%{ opacity:1; } 100%{ opacity:0; } }
@keyframes kaleido-out{ 0%{ opacity:0; } 100%{ opacity:1; } }
