@font-face {
    font-family: 'Bricolage Grotesque';
    src: url('fonts/BricolageGrotesque-VariableFont_opsz,wdth,wght.ttf') format('truetype');
    font-weight: 100 900; /* variable font range */
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 18px;
    line-height: 20px;
    font-weight: 400;
    font-optical-sizing: auto;
}

html{
    scroll-behavior: auto;
    background: black;
    scrollbar-width: none;
}

a {
  color: inherit;
  text-decoration: none;
}



/* width */
::-webkit-scrollbar {
    height: 13px;
    background: none;
    opacity: 0;
    display: none;
}

/* Track */
::-webkit-scrollbar-track {
    background: none;
    opacity: 0;

}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #e0e1e2;
    border-radius: 100px;
    background-clip: content-box;
    border: 5px solid transparent;
    opacity: 0;

}    


img {
    max-width: 100%;
    height: auto;
}

p {
    margin: 0;
    padding: 0;
}

h1 {
    margin: 0;
    padding: 0;
}




.text{
    color: white;
    position: fixed;
    transition: 0.5s;
    padding-left: 20px;
    padding-top: 20px;
    left: 0;
    scrollbar-width: none;
}
    
.scroll-text{
     top: 20px;
    bottom:0;
    position:fixed;
    overflow-y: scroll;
    overflow-x:hidden;
    scrollbar-width: none;
    padding-top: 0px;
    padding-bottom: 80px;
}


#home-button{
    position: fixed;
}

.secondary{
    opacity: 40%;
    
}

ul{margin: 0; padding-left: 20px;}



.project{
    opacity: 40%;
    color: white;
    transition: 1s;
    position: relative;
    width: 360px;
    padding-bottom: 20px;
}



.project video{
    opacity: 0%;
    padding-left: 380px;
    }

.project video:hover{
    opacity: 70%;
}



.project:hover {
    opacity: 100%;
    /*    transform: translate(100px, 0px);*/
}



.scroll{
    
    width: 360px;
    left: 0px;
    opacity: 100%;
    margin: auto;
    color: white;
    margin-top: -8px;
    padding-top: 20px;
    
}

.scroll p{
    
    position: absolute;
    text-align: center;
    width: 360px;
   

}

.active {
  opacity: 100%;
}


.opacity{
    opacity: 40%;
    transition: 1s;
    

}

.toggle-btn{ 
    opacity: 100%;
    transition: 1s;
    background: none;
    color: white;
    border: none;
    padding: 0;
    position: fixed;
    bottom: 20px;
    padding-left: 20px;
    left: 0;
    width: 360px;
    z-index: 10;
    text-align: left;
}


.toggle-btn2{ 
    opacity: 100%;
    transition: 1s;
    background: none;
    color: white;
    border: none;
    padding: 0;
    position: fixed;
    bottom: 40px;
    padding-left: 20px;
}

.button{
    width: 50px;
    height: auto;
    

}

.opacity:hover{
    opacity: 100%;
    /*    transform: translate(100px, 0px);*/
    cursor: pointer;
}

.toggle-btn:hover{
    opacity: 100%;
    /*    transform: translate(100px, 0px);*/
    cursor: pointer;
}

.toggle-btn2:hover{
    opacity: 100%;
    /*    transform: translate(100px, 0px);*/
    cursor: pointer;
}



.fliesstext{
    color: white;
    position: absolute;
    width: 360px;
    right: 0px;
    padding-right: 20px;
    hyphens: none;
    top: 0px;
}

.fliesstext p{
    padding-top: 20px;
    
}

.italic{
}





#b1{height: 1080px;}
#b2{height: 560px;}
#b3{height: 230px;}



#weltanschauung, #voyager1, #voyager2, #wo-geht-es-hin, #spiel-spass-spannung, #scriptum{
    height: 1080px;
    hyphens: auto;
}

#impressum{min-height: 100vh;
margin-top: 20px; hyphens: auto;}

#impressum2{bottom: 20px;
}


.titel{
    margin: 0;
    padding-top: 0px;
    font-weight: 400;
}

.untertitel{
    margin-top: 0px;
    padding-top: 0;
    font-weight: 400;
    opacity: 70%;
}

#mute-toggle {
    position: absolute;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    bottom: -160px;
    left: 20%;
    right: 20%;
    
}

#content {
    position:fixed; 
    top:0;
    left:0;
    width:100%;
    height:100%;
    /* if smaller content box is used and centering is needed: 
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    */
}
#viewport {
    -webkit-perspective:300px;
    -moz-perspective:300px;
    -webkit-perspective-origin:50% 50%;
    -moz-perspective-origin:50% 50%;
    -moz-transform-style: flat;
    width:100%;
    height:100%;

}

#instructions-overlay{
    position: fixed;
    width:100%;
    height:100%;
    z-index: -1;
    background: rgba(0,0,0,.5);
}

.frame{
    position:absolute;
    width:100%;
    height:100%;

    
}
.frame.text {
    text-align:center;
    -moz-transform-style: preserve-3d;
}
.frame.image {
    text-align:center;

}

.frame.box {
    border-radius:.5em;
    background-color:black;
    padding:0em;
}


.container2 {
    width: 100vw;
    height: 100%;
    overflow: hidden;
    -webkit-perspective: 1200px;
    perspective: 1200px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -moz-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -moz-flex-align: center;
    align-items: center;
}

.slider {
    position: relative;
    width: 100vw;
    height: 100%;
    -webkit-perspective: 1200px;
    perspective: 1200px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
    -moz-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -moz-flex-align: center;
    align-items: center;
    

}


.prev{
    color: white;
    background: black;
    border: none;
     margin-right: 2vw;
    opacity: 40%;
    transition: 1s;
    font-size: 36px;
    cursor: pointer;
    letter-spacing: -4px;
    
}

.next{
    color: white;
    background: black;
    border: none;
      margin-left: 2vw;
    opacity: 40%;
    transition: 1s;
    font-size: 36px;
    cursor: pointer;
    letter-spacing: -4px;

}

.buttons{
    position: absolute;
    display: flex;
    bottom: -100px;
  
    
}





.prev:hover{opacity: 100%;}

.next:hover{opacity: 100%;}

.container2 img{
    max-height: 100%;

}

.container2 video{
    max-height: 100%;
    max-width: 100%;
}
    


.text .project.active {
    opacity: 100%;
}


.preview video{
    width: auto;
    height: 75px;
    position: absolute;
    top: 0px;
    transition: 1s;
    
}



.text-project{
    width: 320px;
}

.mySlides {
    display: none;
}

.mySlides.active {
    display: block;
}

#spiel video{left: 30px;}


/*

@media only screen and (max-width: 1000px)
{
  
.fliesstext{
    visibility: hidden;
}
   
}
*/
