body{
    margin: 0;
    padding: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    position: absolute;
    font-family: 'Lato', Calibri, Arial, sans-serif;
    background-color: #828282;
}
body.technik{
    overflow-y: auto;
}
video{
    background-position: center;
    width: 100%;
    height: 100%;
    background-color: #828282;
}
video#vitavideo{
    width: 50%;
    height: 45%;
}
video#derGartenvideo{
    width: 50%;
    height: 45%;
}


.video-container {
    display: flex;
      justify-content: center;
      align-items: center;
      height: 100%;
      width:100%;
}

.video-video {
    cursor: pointer;
}

.video-control {
    height: 50px;
    width: 50px;
    text-align: center;
    font-size: 24px;
    border-radius: 50%;
    line-height: 50px;
    
    color: black;
    background: #F0F8FF;
    background-position: center;
    
    pointer-events: none;
}

video::-webkit-media-controls {
    position: relative;
    z-index: 1;
}

div{
    position: absolute;
    background-position: center;
}

@media only screen and (max-width: 600px) {
    #head_container{
        z-index:99;
        top: 2vh;
        left: 60px;
        color: lightgrey;
    }
    .video-video {
        object-fit: contain;
    }
	.navtext{
		font-size: 1.3vh;
	}
	.mainMenu br{
		font-size: 0.5vh !important;
		margin: 0.5vh !important;
	}
}

@media only screen and not (max-width: 600px) {
    #head_container{
        z-index:99;
        top: 2vh;
        left: 10px;
        color: lightgrey;
    }
    .video-video {
        object-fit: cover;
    }
	.navtext{
		font-size: 1.5vh;
	}
}

.stickToLeft{
    top: 1vh !important;
    left: 10px !important;
}

#head_container h1{
    margin: 0;
    padding: 0;
    font-weight: normal;
    font-size: clamp(20px,6vh,2vw);
}
#head_container h1:hover{
    cursor: pointer;
}
.navtext{
    color:white;
    font-weight:bold;
    left: 5px;
    bottom: 0.3vh;
    position: relative;
}

#head_container p{
    margin: 0;
    padding: 0;
    font-size: clamp(8px,2.4vh,0.8vw);
}
#galerynav_container{
    left: 1px;
    z-index:99;
    top: 120px;
}
#loader,
#start{
    width: 100%;
    height: 100%;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position-x: 200px;
    background-image: url("../backgrounds/startseite.jpg");
}
#technik_text,
#linkbox{
    background-color: rgba(255, 255, 255, 0.65);
    width: 50%;
    top: 215px;
    left: 25%;
    color: black;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 100px;
    border-radius: 0px;
    font-size: 17px;
    font-weight: 500;
    box-shadow: 0px 0px 100px 70px rgba(255,255,255, 0.66);
}
@-moz-document url-prefix() {
    #technik_text,
    #linkbox{
        box-shadow: 0px 0px 100px 70px rgba(255,255,255, 0.70);
    }
}
#linkbox a{margin: 10px;}

#myContainer{
    width: 100%;
    height: 100%;
    background-size: 100% auto;
    background-repeat: no-repeat;
    /*  background-image: url("../backgrounds/background_zoombox.jpg"); */
    background-image: url("../backgrounds/startseite.jpg");
    top: 0px;
}
#myContainerZWE{
    width: 100%;
    height: 100%;
    background-size: 100% auto;
    background-repeat: no-repeat;
    /*  background-image: url("../backgrounds/background_zoombox.jpg"); */
    background-image: url("../backgrounds/startseite.jpg");
    top: 0px;
}
#ViewerDisplay{
    z-index: 3;
}
#popup_aufgabe{
    width: 100%;
    height: 100%;
}

#viewportBackfillDisplay0{
    /* nur rechts + unten box-shadow: 20px 20px 45px black; */
    box-shadow: 0px 0px 50px 30px rgb(80,80,80);
}
#zoomtitel {
    width: 100%;
    z-index: 99;
    color: white;
    opacity: 0.5;
    font-weight: normal;
    font-size: 1.2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
}
#zoomtitel.picturetitel{
    opacity: 0.6;
}

#zoomtitel div{
    background-color: lightgrey;
    color: black;
    top: -35px;
    position: absolute;
    left: -175px;
    height: 70px;
}

#zoomtitel div.comp{
    background-color: lightgrey;
    color: black;
    top: -12px;
    position: absolute;
    left: -175px;
    height: 24px;
}

#zoomtitel div.nz{
    width: 350px;
}

#zoomtitel div.rf{
    width: 150px;
}
#zoomtitel div.pr{
    width: 350px;
}
#zoomtitelZWE {
    width: 100%;
    z-index: 99;
    color: white;
    opacity: 0.5;
    font-weight: normal;
    font-size: 1.2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
}
#zoomtitelZWE.picturetitel{
    opacity: 0.6;
}
#zoomtitelZWE div.rf{
    width: 150px;
}
#zoomtitelZWE div{
    background-color: lightgrey;
    color: black;
    top: -35px;
    position: absolute;
    left: -175px;
    height: 70px;
}
#zoomtitelZWE div.comp{
    background-color: lightgrey;
    color: black;
    top: -12px;
    position: absolute;
    left: -175px;
    height: 24px;
}

/* zoom */
#NavigatorDisplay{
    left: -1000px !important;
}
#gruenerFaden,
#Lichtgkunstwerke,
#roterFaden,
#newZoom,
#Verbundenheiten,
#Praesentation,
#Kontakt_loading,
#start_loading{
    height: 100%;
    width: 100%;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-color: #828282;
    background-image: url("../backgrounds/startseite.jpg");
}
#gruenerFaden
{
    background-image: url("../backgrounds/startseite.jpg");
}
#gruenerFaden.m1
{
    background-image: url("../backgrounds/green_m1_back.jpg");
}

#Lichtkunstwerke
{
    background-image: url("../backgrounds/startseite.jpg");
}

#roterFaden.m1,
#Praesentation.m1{
    background-image: url("../backgrounds/Ladebild1a.jpg");
}
#roterFaden.m2,
#Praesentation.m2{
    background-image: url("../backgrounds/Ladebild2a.jpg");
}
#roterFaden.m3,
#Praesentation.m3{
    background-image: url("../backgrounds/Ladebild3a.jpg");
}
#roterFaden.m4,
#Praesentation.m4{
    background-image: url("../backgrounds/Ladebild4a.jpg");
}
#roterFaden.m5,
#Praesentation.m5{
    background-image: url("../backgrounds/Ladebild5a.jpg");
}
#roterFaden.m6,
#Praesentation.m6{
    background-image: url("../backgrounds/Ladebild6a.jpg");
}
#roterFaden.m7,
#Praesentation.m7{
    background-image: url("../backgrounds/Ladebild7.jpg");
}
#roterFaden.m8,
#Praesentation.m8{
    background-image: url("../backgrounds/roterFaden/8.jpg");
    background-size:     contain;                      /* <------ */
    background-repeat:   no-repeat;
    background-position: center center;
}
#roterFaden.m9,
#Praesentation.m9{
    background-image: url("../backgrounds/roterFaden/9.jpg");
    background-size:     contain;                      /* <------ */
    background-repeat:   no-repeat;
    background-position: center center;
}
#roterFaden.m10,
#Praesentation.m10{
    background-image: url("../backgrounds/roterFaden/10.jpg");
    background-size:     contain;                      /* <------ */
    background-repeat:   no-repeat;
    background-position: center center;
}
#roterFaden.m11,
#Praesentation.m11{
    background-image: url("../backgrounds/roterFaden/11.jpg");
    background-size:     contain;                      /* <------ */
    background-repeat:   no-repeat;
    background-position: center center;
}
#roterFaden.m12,
#Praesentation.m12{
    background-image: url("../backgrounds/roterFaden/12.jpg");
    background-size:     contain;                      /* <------ */
    background-repeat:   no-repeat;
    background-position: center center;
}
#roterFaden.m13,
#Praesentation.m13{
    background-image: url("../backgrounds/roterFaden/13.jpg");
    background-size:     contain;                      /* <------ */
    background-repeat:   no-repeat;
    background-position: center center;
}
#roterFaden.m14,
#Praesentation.m14{
    background-image: url("../backgrounds/roterFaden/14.jpg");
    background-size:     contain;                      /* <------ */
    background-repeat:   no-repeat;
    background-position: center center;
}
#roterFaden.m15,
#Praesentation.m15{
    background-image: url("../backgrounds/roterFaden/15.jpg");
    background-size:     contain;                      /* <------ */
    background-repeat:   no-repeat;
    background-position: center center;
}
#roterFaden.m16,
#Praesentation.m16{
    background-image: url("../backgrounds/roterFaden/16.jpg");
    background-size:     contain;                      /* <------ */
    background-repeat:   no-repeat;
    background-position: center center;
}



#newZoom.Composings,
#newZoom.Dodekalogie
{
    background-image: url("../backgrounds/startseite.jpg");
}
#Kontakt_loading{
    background-image: url("../backgrounds/Kontakt-Hintergrund_a.jpg");
}

#Kontakt_loading #infos{
    bottom: 3%;
    right: 19%;
    font-weight: bold;
    width: 445px;
    font-size: 1.3rem;
    text-align: right;
    line-height: 27px;
}
#Kontakt_loading #infos span{
    float: right;
    width: 100%;
}
#Kontakt_loading #infos #site{
    color: #9a060a;
}
#Kontakt_loading #infos a{
    color: #2739b4;
}
/* END zoom */

/* motive Nav */
@media only screen and not (max-width: 600px) {
    #motive_nav{
        bottom: 65px;
        right: 25px;
		width: 80%;
		display: flex;
		justify-content: right;
		flex-flow: row wrap;
    }
}

@media only screen and (max-width: 600px) {
    #motive_nav{
        bottom: 30px;
        width: 100%;
        display: flex;
        justify-content: space-around;
        padding: 0px 5vw 0px 5vw;
        flex-flow: row wrap;
		gap: 2vw;
    }
}

#motive_nav p{
    border-radius: 30px 30px 30px 30px;
    background: lightgray;
    padding: 0;
    float: left;
    cursor: pointer;
}

@media only screen and not (max-width: 600px) {
    #motive_nav p{
        width: 1vw;
        height: 1vw;
        margin-right: 1.5vw;
    }
}

@media only screen and (max-width: 600px) {
    #motive_nav p{
        width: 3vw;
        height: 3vw;
    }
}

#motive_nav p.active{
    background: #808000;
}
/* END motive Nav */


/* menue shake */

@media only screen and not (max-width: 600px) {
    .shake {
        -webkit-animation: shake 1.5s ease-in-out;
        animation: shake 1.5s ease-in-out;
    }
}

@-webkit-keyframes shake {
    0% {
        -webkit-transform: translateX(0);
    }

    20% {
        -webkit-transform: translateX(-5px);
    }

    40% {
        -webkit-transform: translateX(5px);
    }

    60% {
        -webkit-transform: translateX(-5px);
    }

    80% {
        -webkit-transform: translateX(5px);
    }

    100% {
        -webkit-transform: translateX(0);
    }
}
@keyframes shake {
    0% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-5px);
    }

    40% {
        transform: translateX(5px);
    }

    60% {
        transform: translateX(-5px);
    }

    80% {
        transform: translateX(5px);
    }

    100% {
        transform: translateX(0);
    }
}


#loading,
#loading::before,
#loading::after {
    z-index:999;
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left-color: rgba(255, 255, 255, 0.4);
    -webkit-border-radius: 999px;
    -moz-border-radius: 999px;
    border-radius: 999px;
}

#loading {
    margin: -45px 0 0 -45px;
    height: 90px;
    width: 90px;
    -webkit-animation: animation-rotate 1000ms linear infinite;
    -moz-animation: animation-rotate 1000ms linear infinite;
    -o-animation: animation-rotate 1000ms linear infinite;
    animation: animation-rotate 1000ms linear infinite;
}

#loading::before {
    content: "";
    margin: -43px 0 0 -43px;
    height: 84px;
    width: 84px;
    -webkit-animation: animation-rotate 1000ms linear infinite;
    -moz-animation: animation-rotate 1000ms linear infinite;
    -o-animation: animation-rotate 1000ms linear infinite;
    animation: animation-rotate 1000ms linear infinite;
}

#loading::after {
    content: "";
    margin: -49px 0 0 -49px;
    height: 96px;
    width: 96px;
    -webkit-animation: animation-rotate 2000ms linear infinite;
    -moz-animation: animation-rotate 2000ms linear infinite;
    -o-animation: animation-rotate 2000ms linear infinite;
    animation: animation-rotate 2000ms linear infinite;
}

@-webkit-keyframes animation-rotate {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@-moz-keyframes animation-rotate {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-o-keyframes animation-rotate {
    100% {
        -o-transform: rotate(360deg);
    }
}

@keyframes animation-rotate {
    100% {
        transform: rotate(360deg);
    }
}

div#dragBox {
    position: absolute;
    top: 20%;
    left: 20%;

    z-index: 99;
    display: none;

    width: 60%;
    min-height: 60%;

    background-color: transparent;

    cursor: move;

    background-size: 100% auto;
    background-repeat: no-repeat;

    background-color: #00000070;
    padding: 8px;
}

@media only screen and (max-width: 600px) {
    #aufgabe_thumb{
        z-index: 89;
        right: 20px;
        top: 100px;
        cursor: pointer;
    }
    #changeViewZWE{
        z-index: 89;
        right: 20px;
        top: 100px;
        cursor: pointer;
        background-color: #4445;
        padding: 10px;
        color: white;
        -webkit-user-select: none;
        -ms-user-select: none;
        user-select: none;
        width: 150px;
        height: 40px;
        vertical-align: middle;
        text-align: center;
    }
}

@media only screen and not (max-width: 600px) {
    #aufgabe_thumb{
        z-index: 89;
        right: 100px;
        top: 50px;
        cursor: pointer;
    }
    #changeViewZWE{
        z-index: 89;
        right: 100px;
        top: 50px;
        cursor: pointer;
        background-color: #4445;
        padding: 10px;
        color: white;
        -webkit-user-select: none;
        -ms-user-select: none;
        user-select: none;
        width: 150px;
        height: 40px;
        vertical-align: middle;
        text-align: center;
    }
}

#close_btn{
    font-weight: bold;
    color: white;
    cursor: pointer;
    border-radius: 25px 25px 25px 25px;
    border: 2px solid #ffffff;
    right: 0px;
    height: 25px;
    width: 25px;
    padding-left: 5px;
}

#banner1{
    bottom: 5%;
}

div#dragBox span#AufgabeText {
    color: white;
    font-weight: bold;
	font-size: clamp(12px, 2vw, 2.5vw);
}
#myPano #loading{
    z-index: 89;
}

.pano {
    width: 88%;
    height: 70%;
    margin: 0 auto;
    cursor: move;
    margin-left: 12%;
    z-index: 90;
    margin-top: 10%;
}
.pano .controls {
    position: relative;
    top: 98%;
}
.pano .controls a {
    position: absolute;
    display: inline-block;
    text-decoration: none;
    color: #eee;
    font-size: 3rem;
    width: 20px;
    height: 20px;
}
.pano .controls a.left {
    left: 40%;
}
.pano .controls a.right {
    right: 40%;
}
.pano.moving .controls a {
    opacity: 0.4;
    color: #eee;
}

.popup_container {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -100%;
    left: 10%;
    z-index: 101;
    width: 80%;
    height: 80%;
    background-color: rgba(0, 0, 0, .15);  
    -webkit-backdrop-filter: blur(5px) brightness(0.5);
    backdrop-filter: blur(5px) brightness(0.5);

    -webkit-box-shadow: 5px 5px 15px 5px #000000; 
    box-shadow: 5px 5px 15px 5px #000000;
    transition: all 1s ease-in-out;
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
}
.popup_button {
    position: absolute;
    font-size: 0.5em;
    top: 5%;
    right: 5%;
    height: 5%;
    width: 80%;
    text-align: right;
    cursor: pointer;
    border: none;
    background: none;
    color: white;
    z-index: 999;
}
.popup_text {
    padding: 10%;
    font-weight: 700;
    font-size: 1.2em;
    color: white;
    text-align: center;
}

/**"Tablet Mode identical to Mobile Mode" currently only disabling Popup. 
Most responsiveness is done by clamping sizes*/
@media only screen and (min-width: 1024px) {
    #mobilePopup_container {
        display: none;
    }
}
