@font-face {
    font-family: 'bodedo';
    src:url('../../fonts/HVDBodedoWeb.woff2') format('woff2'), /* Modern Browsers */
        url('../../fonts/HVDBodedoWeb.woff') format('woff'), /* Modern Browsers */
        url('../../fonts/HVDBodedoWeb.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
    font-display: swap;
}
@font-face {
    font-family: 'bodedoBold';
    src:url('../../fonts/HVDBodedoWeb.woff2') format('woff2'), /* Modern Browsers */
        url('../../fonts/HVDBodedoWeb.woff') format('woff'), /* Modern Browsers */
        url('../../fonts/HVDBodedoWeb.ttf') format('truetype');
    font-style: normal;
    font-weight: bold;
    text-rendering: optimizeLegibility;
    font-display: swap;
}
@font-face {
    font-family: 'LatoWebRegular';
    src:url('../../fonts/Lato-Regular.woff2') format('woff2'), /* Modern Browsers */
        url('../../fonts/Lato-Regular.woff') format('woff'), /* Modern Browsers */
        url('../../fonts/Lato-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
    font-display: swap;
}
@font-face {
    font-family: 'LatoWebItalic';
    src:url('../../fonts/Lato-Italic.woff2') format('woff2'), /* Modern Browsers */
        url('../../fonts/Lato-Italic.woff') format('woff'), /* Modern Browsers */
        url('../../fonts/Lato-Italic.ttf') format('truetype');
    font-style: italic;
    font-weight: normal;
    text-rendering: optimizeLegibility;
    font-display: swap;
}
@font-face {
    font-family: 'LatoWebHairline';
    src: url('../../fonts/Lato-Hairline.eot'); /* IE9 Compat Modes */
    src: url('../../fonts/Lato-Hairline.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../../fonts/Lato-Hairline.woff2') format('woff2'), /* Modern Browsers */
         url('../../fonts/Lato-Hairline.woff') format('woff'), /* Modern Browsers */
         url('../../fonts/Lato-Hairline.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}
html {
    scroll-behavior: smooth;
}
:root {
    --headerBGColor:#4F342F;
    --swiper-theme-color: #F8C53A!important;
    --border-colorTrans: #F8C53A50!important;
    
    --backgroundColor: #F1EBDB;
    --color: #000000;
    --colorTrans50: #00000050;
    --headColor: #4C3D2E;

    --TopMenuBG: #400080;

    --highlightBG: #282C3C;
    --highlightColor:#F8C53A;
    
    --link-Color: #000;
    
    --paddingX: 20px;
    --paddingY: 10px;
}

@media (prefers-color-scheme: dark) {
    
    :root {
        --headerBGColor:#464762;
        --swiper-theme-color: #C9D4FD!important;
        --border-colorTrans: #C9D4FD50!important;
        --TopMenuBG: #282C3C;
        --backgroundColor: #282C3C;
        --color: #F1EBDB;
        --colorTrans50: #F1EBDB50;
        --headColor: #DDCEBF;
        --highlightBG: #464762;
        --highlightColor: #F1EBDB;
    }
}


/*SWIPER START*/

body {
    background: var(--containerBGColor);
    font-family: "LatoWebRegular", Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 18px;
    margin: 0;
    padding: 0;
}
.swiper-slide img.imgFullCard,
img.imgFullCard{
    margin-left: calc( var(--paddingX)*-1 );
    margin-right: calc( var(--paddingX)*-1 );
    margin-top: calc( var(--paddingY)*-1 );
    width: calc(100% + var(--paddingX)*2);
}
.swiper-container{
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Prevent overflow */
}
.swiper p{
    font-size: 18px;
}
.swiper-slide {
    height: auto;
    font-size: 18px;
    background: var(--backgroundColor);
    color: var(--color);
    position: relative;
    overflow-y: scroll;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.swiper-slide::-webkit-scrollbar {
    display: none;
}
.swiper-slide h1,
.swiper-slide h2,
.swiper-slide h3{
    color: var(--headColor);
    font-family: "bodedo", sans-serif;
}
.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.helperSwiper .swiper-button-next, .helperSwiper .swiper-button-prev{
    /*top: var(--swiper-navigation-top-offset, 2.25%) !important; */
    position: fixed;
    top: 55px !important; 
}
/*SWIPER END*/
/*SWIPER CONTENT START*/
.content, .top-sec, .primary, .betreuer, .ort, .bot-sec, .stat-container, .menucard-item{
    display:flex;
    flex-direction: column;
}
.secondary, .abschnitt-mini, .klapp-thema, .menucard-part{
    display:flex;
    flex-direction: row;
}
/*SWIPER CONTENT END*/

.content-description{
    font-style: italic;
    float:left;
}

/*COLLAPSIBLE START*/
.collapsible {
    border-bottom: 1px solid #cccccc7e;
  /*  padding-bottom: 10px;
    margin-bottom: 10px;*/
}

.collapsible label {
    position: relative;
    align-items: center;
    justify-items: center;
    cursor: pointer;
    display: block;
    padding: 10px 0;
}


/*.desaster-content .collapsible label::after, .aktionen-content .collapsible label::after, .campregeln-content .collapsible label::after*/ .content .collapsible label::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10px;
    background-image: url("./img/cp_icon_arrow01_light.svg");
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
    transform: rotate(90deg);
    transition: transform 0.2s;
    top: 40%;
}

@media (prefers-color-scheme: dark) {
    /*.desaster-content .collapsible label::after,*/ .content .collapsible label::after {
        background-image: url("./img/cp_icon_arrow01_dark.svg");
    }    
}
.collapsible input:checked  + label::after{
    transform: rotate(0deg);
}

.collapsible .collaps-header{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.collapsible .collaps-main{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    justify-items: center;
}
.a, .c{
    display: flex;
    flex-direction: row;
    justify-content:flex-start;
    height: 50px;
    align-items: center;
    justify-items: center;
}

.b{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.content-header .icon{
    width: 50px;
    transform: rotate(90deg);
    transition: transform 0.1s ease;
}

.content-header .token{
    width: 80px;
}

.collapsible h3, .collapsible .content-description p{
    margin-top: 0px;
    margin-bottom: 10px;
    padding-right: 20px;
}

.collapsible input {
    display: none;
    width: 50px;
    height: auto;
}

.collapsible .content {
    height: 0;
    transform: translateY(-20px); 
    opacity: 0; 
    transition: all 0.5s ease, opacity 0.5s ease;
    padding: 0; 
}

.collapsible input:checked + .content-header .icon{
    transform: rotate(0deg); 
}

.collapsible input:checked ~ .content {
    height: auto;
    transform: translateY(0);
    opacity: 1; 
    padding: 10px 0;
    width: 100%;
}

.content {
    padding: var(--paddingY) var(--paddingX);
    overflow-y: auto;
}

.collapsible .content {
    height: 0;
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.5s ease, opacity 0.5s ease;
    padding: 0; 
    overflow-x: hidden;
}
.collapsible h4{
    letter-spacing: 0.04em;
    margin: 0;
    padding-right: 20px;
}
/*COLLAPSIBLE END*/

/*TOP MENU START*/
.top-menu{
    height: 15px;
    position: fixed;
    background-color: var(--TopMenuBG);
    color: var(--highlightColor);
    z-index: 9000;
    padding: 0;
    margin: 0;
    width: 50%;
    left: 25%;
    top: 5px;
    font-weight: bold;
    align-items: center;
    justify-content: center;
    justify-items: center;
    text-align: center;
    border-radius: 0 0 5px 5px;
}
.top-menu p, .top-menu a{
    text-decoration: none;
    color: white;
    z-index: 11;
    justify-self: center;
    text-align: center;
    align-self: center;
    color: var(--highlightColor);
}
.top-menu h4{
    padding: 5px;
    margin: 0;
    color: var(--highlightColor);
}
.top-menu h3{
    margin: 0 auto;
    position: relative;
    top: -.5em;
    color: var(--highlightColor);
}
.top-menu .collapsible .content{
    transition: all 0.5s ease, opacity 0.5s ease;
    height: 0;
    opacity: 0;
    transform: translateY(-2000px);
    background-color: var(--highlightBG);
    z-index: 11;
    position: relative;
}
.top-menu hr{
    width: 90%;
    opacity: 0.4;
}
.menu-expanded{
    position: absolute;
    top: 25px;
    left: -100em;
    width: 200em;
    height: 100em;
    opacity: 0;
    z-index: 10;
}
.top-menu .collapsible{
    border-bottom: 0;
    z-index: 11;
}
.top-menu .collapsible label{
    z-index: 11;
}
.top-menu .collapsible input:checked ~ .content {
    height: auto;
    transform: translateY(0); 
    opacity: 1; 
    padding: 10px 0; 
    border-radius: 0 0 15px 15px;
}
.top-menu .layer{
    transition: all 0.2s ease;
    position: absolute;
    top: 0;
    left: -50%;
    opacity: 0;
    width: 0;
    height: 0;
    z-index: 9;
    filter: blur(4px);
}

.top-menu .collapsible input:checked ~ .layer{
    left: -100em;
    width: 200em;
    height: 100em;
    opacity: 1;
    background-color: #0000003f;
}

.top-menu .layer-open .collapsible label{
    position: absolute;
    top: 0;
    left: -20%;
    width: 140%;
    height: 5em;
    z-index: 8;
}

.currentSwiper{
    background-color: var(--highlightColor);
    width: 80%;
    border-radius: 5px;
}
.currentSwiper h4{
    color: var(--highlightBG);
}
/*TOP MENU END*/


.slide-header{
    position: sticky; /* Position absolute relative to the header wrapper */
    top: 0;
    z-index: 1000;
    padding-top: 1px;
    width: 100%;
    height: fit-content;
    background-color: var(--headerBGColor);
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Optional: add a shadow for clarity */
}

.slide-header h1{
    padding: 10px 50px;
    justify-self: center;
    align-self: center;
    text-align: center;
    margin: 0;
    margin-top: 25px;
    color: var(--swiper-theme-color);
    font-weight: normal;
}

/*JUMPER START*/
.jumper-triangle a{
    width: 100%;
    display: flex;
    position: fixed;
    bottom: 15px;
    justify-content: center;
    z-index: 1000;
}
.jumper-triangle a img{
    width: 15%;
    animation: arrowidle;
    animation-timing-function: ease-in-out;
    animation-duration: 1s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
}
.jumper-triangle{
    position: fixed;
    width: 100%;
    height: 100%;
    animation: arrowfade linear both;
    animation-timeline: view();
    animation-range: entry 100% exit 20%;
}

@keyframes arrowfade{
    0%{
        opacity: 1;
        transform: translateY(0px);
    }
    100%{
        opacity: 0;
        transform: translateY(200px);
    }
}
@keyframes arrowidle {
    from{
        scale: 1;
        translate: 0 0;
    }
    to{
        scale: 1.2;
        translate: 0 -20px;
    }
}

/*JUMPER END*/

/* HTML: <div class="loader"></div> */
.loader {
    display: inline-flex;
    gap: 10px;
}
.loader:before,
.loader:after {
    content: "";
    height: 20px;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
    radial-gradient(farthest-side,#000 95%,#0000) 35% 35%/6px 6px no-repeat
    #fff;
    animation: l5 3s infinite;
}
@keyframes l5 {
    0%,11%   {background-position:35% 35%}
    14%,36%  {background-position:65% 35%}
    38%,61%  {background-position:65% 65%}
    64%,86%  {background-position:35% 65%}
    88%,100% {background-position:35% 35%}
}