/* Lightbox background */

:root {
  --pc: #769d85;
  --sc: #112c1e;
  --w: #ffffff;
  --hc: #d16666;
  --lc: #3066be;
  
}

.loading-wrapper{
    width: 100vW;
    height: 100VH;
    background-color: white;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    z-index:900;
    position: fixed;
    top: 0;
    left: 0;
}

.loader {
        border: 8px solid var(--pc); /* Light gray background */
        border-top: 8px solid var(--w); /* Green color for the spinning part */
        border-radius: 50%;
        width: 50px;
        height: 50px;
        animation: spin 2s linear infinite; 


    }

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#content {
    display: none;
}

#page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 9999;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

h1{
    color:var(--pc);
    font-family: "prestige-elite-std", monospace !important;
    font-weight: 700;
    font-style: normal;
}

h2{color:var(--pc);
    font-family: "prestige-elite-std", monospace !important;
    font-weight: 700;
    font-style: normal;
}



h3{color:var(--pc);
    font-family: "prestige-elite-std", monospace !important;
    font-weight: 700;
    font-style: normal;
}

h4{color:var(--pc);
    font-family: "prestige-elite-std", monospace !important;
    font-weight: 700;
    font-size: 0.8em;
}


p{
    color:var(--pc);
    font-family: "titillium-web", sans-serif !important;
    font-weight: 400;
    font-style: normal;
}

a{    color:var(--pc);
    font-family: "titillium-web", sans-serif !important;
    font-weight: 400;
    font-style: normal;}

div{
    color:var(--pc);
}

span{
    color:var(--pc);
    font-family: "titillium-web", sans-serif;
    font-weight: 400;
    font-style: normal;
}

body{
    font-size: 36pt;
    color: var(--pc);
}

a{
    color:var(--lc);
}
.mobile-burger-lightbox{
    display: none;
}

.mobile-burger-lightbox-content{
    display: none;
}

.menue {
    position: fixed;
    left:5%;
    top:calc(5% + 4vW);
    height: calc(90% - 4vW);
    width: 4vW;
    background-color: var(--w);
    z-index: 99;
    font-size: 1em;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    min-width: 5%;
    min-height: 5%;
}

.menue hr{
    border-top: 2px;
    border-style: solid;
    width: 50%;
}

.menue-title{
    position: fixed;
    left:5%;
    top:5%;
    height: 4vW;
    width: auto;
    background-color: var(--w);
    z-index: 99;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    min-height: 5%;

}

.menue-title h1{
    padding:50px;
    margin-left: 10px;
    font-size: 1em;
    text-align: left;
}

.menue-title a{
    text-decoration: none !important;
}

.menue-mobile-timestep{
    display: none;
}

.timestep-container{
    position: fixed;
    left: 0;
    top: 0;
    min-width: 100vw;
    min-height: 100vh;
}

.timestep-menue {
    padding:50px;
    min-height: 50%;

}


.timesteps{
    font-size: 0.5em;
    text-align: center;
    padding: 20px 20px;
    max-height: 60%;
    overflow: hidden;
}


.timesteps div{
    cursor: pointer;
    text-align: center;
    padding:20px 0;
}

.timesteps h3{
    font-size: 90%;
}

.timesteps h3:hover{
    color: var(--sc);
    font-size: 90%;
}


#timestep-wraper {
  transition: transform 0.3s ease-in-out;
}


#timestep-wraper div.active {
  color: var(--w);
  background-color: var(--pc);
  border-radius: 4px;
  padding: 4px 8px;
}


.menue-button{
    width: 80%;
    height: auto;
    margin:auto;
    cursor: pointer;
    max-height: 80px;

}


.footer{
    position: fixed;
    right:5%;
    bottom:5%;
    height: 4vW;
    width: 15vW;
    background-color: var(--w);
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-addon{
    position: relative;
    bottom:6vW;
    height:10vW;
    width:4vW;
    background-color: var(--w);
    margin-left: auto;


}

.methode-container{
    position: fixed;
    display:flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.methode-icon{
    height: auto;
    width: 4vW;
    z-index: 999;
    position: relative;
    cursor: pointer;
    min-width: 80px;

}

.return-icon{
    height: auto;
    width: 4vW;
    z-index: 999;
    position: fixed;
    cursor: pointer;
    left:48vW;
    bottom:4vW;

}



.methode-text{
    font-family: "prestige-elite-std", monospace !important;
    font-style: bold !important;
    width:250px;
    height:auto;
    max-height: 25vh;
    overflow-y: auto;
    background-color: white;
    padding:25px 50px;
    opacity: 0;               /* hidden initially */
    visibility: hidden;
    transition: opacity 1s ease;
    pointer-events: auto;
    margin-left:50px ;
}

/* Reveal text when hovering */
.methode-container:hover .methode-text {
  opacity: 1;
  visibility: visible;
}



.glossar {
    display: none;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    font-size:0.5em;
}


.lightbox {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    font-size:0.5em;
}

/* Lightbox inner content */
.lightbox-content {
    background-color: #fff;
    padding: 30px;
    width: 60%;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.wildcard {
    display: none;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 999 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    font-size:0.5em;
}

/* Lightbox inner content */
.wildcard-content {
    background-color: #fff;
    padding:60px 30px ;
    width: 60%;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    text-align: left;
    max-height: 60vh;
    overflow-y: scroll;
}

.wildcard-btn{
    padding-top: 20px;
    color: #aaa;
    float: left;
    font-size: 1em;
    cursor: pointer;
}


.wildcard-btn:hover {
    color: black;
}

.wildcard-img{
    padding-top: 30vH;
    width:80%;
    height: auto;
    object-fit: cover;
}

.glossar-content {
    background-color: #fff;
    padding: 50px;
    width: auto;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    display:flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    text-align: left;

}

.glossar-content a{
    color: var(--pc);
    padding: 20px;
}


.glossar-content a:hover{
    color: var(--lc);
}




/* Close button */
.close {
    font-family: 'titillium-web';
    font-size:1em;
    padding-top: 20px;
    color: #aaa;
    cursor: pointer;
}
.close:hover {
    color: black;
}

.hidden{
    display: none !important;
}


.fadeable {
    opacity: 0 !important;
    visibility: hidden;
    pointer-events: none;  /* acts like display:none for clicks */
    transition: opacity 1s ease, visibility 1s ease;
}


.faded-on {
    opacity: 1 !important;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 1s ease, visibility 1s ease;
}


main{
    z-index: 10;
    position:absolute;
    font-size:0.5em;
}



.impressum-txt, .footer-txt{
    font-size: 40%;
    margin: auto;
    text-align: center;
    max-width: 60%;
    text-decoration: underline;
    cursor: pointer;

}

.spn{
    max-width: 50%;
    padding:auto;
}


.unhide-button{
    min-width: 100vW;
    min-height: 100vH;
    z-index: 999;
    cursor: pointer;
    position: fixed;
    top:0;
    left: 0;
}

.timestep-box{
    height:auto;
    width:20%;
    position: fixed;
    bottom: calc(5%);
    left: 12%;
    background-color: var(--w);
    display:flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    max-height: 60%;
    min-width: 25%;
    padding: 20px;

}

.timestep-title{
    width: 100%;
    height: auto;
}

.timestep-description{
    width: 90%;
    padding: 2%;
    height: auto;
    max-height: 30vH;
    overflow-y: auto;
    font-family: "titillium-web";
    font-size: 100%;
}

.timestep-box a{
    color:var(--pc);
    font-family: "titillium-web";
    text-align: left;
    text-decoration: underline;
    cursor: pointer;
    padding-bottom: 5%;
    align-self: flex-start;
    padding-left:5% 
}



.timestep-description-long{
    width: 90%;
    color: black;
    padding: 5%;
    height: auto;
    max-height: 70vH;
    overflow-y: auto;
}


.readmore-btn {
    cursor: pointer;
    border: 2px solid black;
    border-top:0px;
    width: 90%;
    padding:5%;
    float:left;
}

.click-info{
    margin:auto;
    position: fixed;
    bottom:5%;
    left:55%;
    transform: translateX(-45%);
    z-index: 100;
    background-color: white;
    height:4vW;
    min-height: 50px;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.click-info p{
    font-size: 0.4em;
}


.arrow-btn {
    cursor: pointer;
    font-size: 24px;
    user-select: none;
    padding: 0 10px;
}

.left{
    position: fixed;
    bottom:6%;
    left:25%;
}

.right{
    position: fixed;
    bottom:6%;
    right:25%;
}

.bg-img{
    width:108vW;
    height:108vH;
    object-fit: cover;
    margin: 0;
    position: fixed;
    z-index: -1;
}

.m-img{
    width:110vW;
    height:110vH;
    object-fit: cover;
    margin: 0;
    position: fixed;
    z-index: -1;
    transition: transform 2s ease;
    opacity: 0;
}

.image-wrapper{
    width:110vW;
    height:110vH;
    object-fit: cover;
    margin: 0;
    position: fixed;
    top:-5vH;
    left: -5vW;
    z-index: -1;
}

.image-movement {
    display: inline-block;
    transition: transform 1.5s ease;
    transform-origin: top left;
    position: relative;
}


#intro-container {
    opacity: 1;  /* start fully visible */
    transition: opacity 1s ease-in-out;
}



#intro-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('/media/static/intro_bg.jpg') center center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Text */
#intro-text {
    font-size: 2rem;
    color: white;
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    max-width: 70%;
    color:var(--pc);
}

/* Skip button */
#skip-button {
    position: fixed;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    z-index: 10000;
}

/* Hide intro once finished */
#intro-container.hidden {
    display: none;
}

/* Reveal page content */
#page-content {
    display: none;
}

#page-content.visible {
    display: block;
}


#rotate-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255,255,255,1);
    color: white;
    display: none; /* hidden by default */
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 99999;
}

#rotate-message p {
    font-size: 1.5rem;
    padding: 20px;
}

#rotate-overlay-mobile {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255,255,255,1);
    color: white;
    display: none; /* hidden by default */
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 99999;
}

#rotate-message-mobile p {
    font-size: 1.5rem;
    padding: 20px;
}

@media 
  (pointer: coarse) and 
  (hover: none) {



span {
    display: block;
    width: 80% !important;
    min-width: 80% !important;
}


.glossar-content, .lightbox-content{
    height:50%;
    overflow-y: scroll;
    font-size:0.6em;
    flex-flow: column nowrap;
    max-height: 70vW;
    overflow-y: scroll;
    justify-content: flex-start;
    align-items: center;
}







.menue {
    top:0;
    left:0;
    padding: 0;
    margin: 0;
    height: auto;
    min-width: 0;
    min-height: 0;
    width: auto;
}


.menue-title {
    left:0;
    height: auto;
    font-size: 0.5em;
    min-height: 0;
    padding: 20px;
    max-height: 3%;
    width: 25%;
    justify-content: center;
}

.menue-title h1 {
    padding: 0px;
    text-align: center;
    margin: auto;

}




.menue hr{
    display: none;
}



.menue-button {
    display: none;
}


.timestep-menue {
    display: none;
}

.timestep-box{
    position: fixed;
    bottom:auto !important;
    height: 40% !important;
    min-height: 0;
    left: 0;
    top:20vH;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start ;
    flex-flow: row wrap;
    overflow-y: scroll;
    margin-bottom: 20px;
    max-height: 50vH;
}

.timestep-title{
    font-size: 0.5em;
    min-height: 0;
}

.timestep-description{
    font-size: 0.5em;
    overflow: visible;
}

.click-info{
    display: none;
}

.footer{
    display: none;
}

.methode-icon{
    height:6vW;
    width: auto;
    min-width: 0;
}



.menue-mobile-timestep{

    display: flex;
    z-index: 15;
    flex-flow: row nowrap;
    position: fixed;
    height: auto;
    bottom: 0;
    background-color: var(--w);
    left: 50%;
    transform: translateX(-50%)
    
}

.menue-mobile-timestep h3{
        padding: 10px;
        margin:  0px 4vW;
        color: var(--pc);
        font-size: 0.2em;
}

.menue-mobile-burger{
        width:50px;
        height:50px;
        position:fixed;
        right:50px;
        top:5%;
        z-index: 15;
        font-size: 0.5em;
}


.mobile-burger-lightbox{
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);

}

.mobile-burger-lightbox-content{
    display:flex;
    background-color: #fff;
    font-size:0.5em;
    padding: 30px;
    width: 60%;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    flex-flow: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    
}

.mobile-burger-lightbox-content h3{
    font-size: 0.5em;
}

.return-icon{
    bottom:8vW;

}

.mobile-footer{
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    width: 20%;
    height: auto;
    padding:10px;
    position: fixed;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    background-color: white;
}

.footer-txt{font-size: 0.2em;}

}

