/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.3.6,
* Autoprefixer: v10.3.1
* Browsers: last 10 version
*/

@font-face {
    font-family: 'OpenSans';
    src: url('../assets/OpenSans-Medium.ttf');
    font-weight: 500;
    font-style: sans-serif;
}

@font-face {
    font-family: 'OpenSans';
    src: url('../assets/OpenSans-Bold.ttf');
    font-weight: 700;
    font-style: sans-serif;
}
@font-face {
    font-family: 'OpenSans';
    src: url('../assets/OpenSans-ExtraBold.ttf');
    font-weight: 800;
    font-style: sans-serif;
}
@font-face {
    font-family: 'OpenSans';
    src: url('../assets/OpenSans-Light.ttf');
    font-weight: 300;
    font-style: sans-serif;
}

body{
    color: #555;
    font: 300 16px OpenSans, sans-serif;
    text-align: center;
    width: 100%;
    margin: 0;
    overflow-x: hidden;
}

body.main_load {
    overflow: hidden;
}

#windowshadow {
    z-index: 999;
    pointer-events: none;
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
            box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

/* width */
::-webkit-scrollbar {
    width: 5px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: #fff; 
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #999; 
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #999; 
  }

#main{
    height: 100%;
    width: calc(100vw - 200px);
    max-width: 1024px;
    margin: 0 auto;
    display: block;
    position: relative;
}
h1 {
    font: 500 2.8em OpenSans, sans-serif;
    margin: 5% 0 0 0;
}

h2 {
    font: 300 1.3em OpenSans, sans-serif;
    margin: 0 0 10% 0;
}

h3 {
    margin: 0;
    font-size: 2.8em;
    font-weight: 300;
}

h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font: 800 16px OpenSans, sans-serif;
}

a {
    text-decoration: none;
    color: #000;
    -webkit-transition: font-size 0.3s;
    -o-transition: font-size 0.3s;
    transition: font-size 0.3s;
}
a:hover{
    font-size: 17px;
}

a.footnote-ref:hover{
    font-size: inherit;
}


p {
    font-family: Georgia, 'Times New Roman', Times, serif;
    text-align: left;
    margin: 0 auto 20px auto;
    widows: 3;
    orphans: 3;
}

summary{
    font-family: Georgia, 'Times New Roman', Times, serif;
}

strong {
    font-weight: 800;
}

blockquote{
    margin: 0;
}

blockquote p {
    font-style: italic;
    color: #999;
    margin: 0 auto 20px 10px;
    padding-left: 10px;
    border-left: solid 2px #999;
}

details {
    margin-bottom: 10px;
}

details[open] p {
    -webkit-animation: slidein 1s;
            animation: slidein 1s;
    margin: 0 0 0 3px;
    border-left: 1px solid #ddd;
    padding: 0 5px;
}

details[open] p:first-of-type {
    margin-top:5px;
}

details blockquote {
    border-left: 1px solid #ddd;
    margin: 0 0 0 3px;
    padding: 15px;
}
details[open] blockquote p{
    margin-top: 0 !important;
    border-left: solid 2px #999;
}

details:last-of-type{
    margin-bottom: 20px;
}

@-webkit-keyframes slidein {
    from {
        opacity:0;
        max-height:0;
    }
    to {
        opacity:1;
        max-height: 1000px;
    }
}

@keyframes slidein {
    from {
        opacity:0;
        max-height:0;
    }
    to {
        opacity:1;
        max-height: 1000px;
    }
}

.slideopen{
    display:inline-block;
    vertical-align: bottom;
    overflow: hidden;
    max-width:0;
    opacity: 0;
    -webkit-transition: margin-right 0.5s, max-width 0.5s, opacity 0.5s;
    -o-transition: margin-right 0.5s, max-width 0.5s, opacity 0.5s;
    transition: margin-right 0.5s, max-width 0.5s, opacity 0.5s;
    white-space: nowrap;
}

h1:hover .slideopen {
    max-width:300px;  
    opacity: 1;
}

h1:hover .slideopen:first-of-type {
    margin-right: 10px;
}

.nowrap {
    white-space: nowrap;
}

#main_load {
    position: fixed;
    top:0;
    bottom:0;
    left:0;
    right:0;
    z-index: 9999;
    background-color: #FFF;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

#main_load div {
    display: block;
    margin: auto;
}
#main_load div img {
    max-width: 300px;
}
#main_load div p {
    text-align: center;
    font: 800 16px OpenSans, sans-serif;
}

#main_grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 10px 1fr 10px 1fr 10px 1fr 10px 1fr 10px 1fr 10px 1fr 10px 1fr 10px 1fr 10px 1fr 10px 1fr 10px 1fr;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 10px;
    margin: 50px 0;
}

.obj {
    position: relative;
    -ms-grid-column-span: 3;
    grid-column: span 3;
    -ms-grid-row-span: 3;
    grid-row: span 3;
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    -o-transition: transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
}

.obj:hover{
    -webkit-transform: scale(110%);
        -ms-transform: scale(110%);
            transform: scale(110%);
}

.obj img {
    max-width: 100%;
}

.hover_img {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    -webkit-transition: opacity 0.5s;
    -o-transition: opacity 0.5s;
    transition: opacity 0.5s;
    cursor: pointer;
}

.hover_img:hover {
    opacity: 1;
}

.grid_heading h3 {
    cursor: pointer;
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    -o-transition: transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
    white-space: nowrap;
    z-index: 2;
    position: relative;
}

.grid_heading h3:hover {
    -webkit-transform: scale(110%);
        -ms-transform: scale(110%);
            transform: scale(110%);
}

.grid_heading.active {
    z-index: 100;
    color: #FFF;
    pointer-events: none;
}

#bg_darken{
    display: none;
    position: fixed;
    background: rgba(0,0,0,0.5);
    top:0;
    left:0;
    right: 0;
    bottom: 0;
    z-index: 98;
}

#vid_popup {
    position: absolute;
    z-index: 99;
    background: #FFF;
    width:300px;
    height: 300px;
    border-radius: 1px;
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.5);
            box-shadow: 0 0 10px rgba(0,0,0,0.5);
    will-change: transform;
    -webkit-transform: scale(0);
        -ms-transform: scale(0);
            transform: scale(0);
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    -o-transition: transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
}

#vid_popup.active {
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
}

#vid_popup video {
    max-width: 250px;
    max-height: 250px;
    margin: 25px;
    position: absolute;
    bottom: 0;
    left: 0;
}

#info_button {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    line-height: 20px;
    color: #AAA;
    z-index: 2;
}

#info_text {
    opacity: 0;
    font-family: OpenSans, sans-serif;
    pointer-events: none;
    position: absolute;
    font-size: 14px;
    padding: 25px;
}

#obj_source {
    margin:0;
    position: absolute;
    bottom:5px;
    left: 7px;
    font-size: 14px;
    font-family: OpenSans, sans-serif;
}

.loading {
    background: url("../assets/loading.gif") no-repeat center;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 99;
    position: absolute;
    display: none;
}

#txt_popup {
    display: none;
    height: calc(100vh - 40px);
    width: 50vw;
    position: fixed;
    top:0;
    bottom: 0;
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.5);
            box-shadow: 0 0 10px rgba(0,0,0,0.5);
    background: #FFF;
    z-index: 99;
    padding: 20px;
    text-align: left;
    overflow: auto;
}

#txt_popup.right {
    right:0;
}

#txt_popup.left {
    left:0;
}

.h_popup {
    margin-bottom: 20px;
}

.txt_popup_vid{
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border: solid 1px #ddd;
}

#txt_popup .txt {
    -webkit-columns: 2;
       -moz-columns: 2;
            columns: 2;
    -webkit-column-gap: 40px;
       -moz-column-gap: 40px;
            column-gap: 40px;
    -webkit-column-width: 300px;
       -moz-column-width: 300px;
            column-width: 300px;
    padding-bottom: 50px;
    position: relative;
}


#txt_popup .txt img, .exp_txt img {
    max-width: 100%;
    border: solid 1px #ddd;
    display: block;
    margin: auto;
}

.exp_txt .txt_img {
    max-width: 400px;
}

#exp09 .txt_img {
    max-width: 100%;
}

.txt_img {
    color: #AAA;
    font-family: OpenSans, sans-serif;
    text-align: center;
}

.footnotes {
    position: absolute;
    width: calc(100% - 40px);
    left: 20px;
    /* bottom:-50px; */
    top:100%;
}

li::marker {
    font-family: Georgia, 'Times New Roman', Times, serif;
}

#hExp {
    margin-top: 200px;
}

#loopIcon img {
    margin: 50px auto;
    max-width: 128px;
}

#exp_intro, #txt_fazit {
    -webkit-columns: 2;
       -moz-columns: 2;
            columns: 2;
    -webkit-column-gap: 40px;
       -moz-column-gap: 40px;
            column-gap: 40px;
    -webkit-column-width: 250px;
       -moz-column-width: 250px;
            column-width: 250px;
}

#exp_grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 20px 1fr 20px 1fr;
    grid-template-columns: repeat(3, 1fr);
    -ms-grid-rows: masonry;
    grid-template-rows: masonry;
    gap: 20px;
    place-items: start;
    position: relative;
    max-width:100%;
    margin-top: 50px;
}

#exp_grid > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}

#exp_grid > *:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
}

#exp_grid > *:nth-child(3) {
    -ms-grid-row: 1;
    -ms-grid-column: 5;
}

.exp_img {
    position: relative;
    overflow-y: hidden;
    padding-top: 100%;
    border: 1px solid #ddd;
    cursor: pointer;
    -webkit-transition: -webkit-transform 0.3s, -webkit-box-shadow 0.3s;
    transition: -webkit-transform 0.3s, -webkit-box-shadow 0.3s;
    -o-transition: transform 0.3s, box-shadow 0.3s;
    transition: transform 0.3s, box-shadow 0.3s;
    transition: transform 0.3s, box-shadow 0.3s, -webkit-transform 0.3s, -webkit-box-shadow 0.3s;
    width: 100%;
    will-change: transform;
}

.exp_img:hover{
    -webkit-transform: scale(102%);
        -ms-transform: scale(102%);
            transform: scale(102%);
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.1);
            box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.exp_img.inactive {
    -webkit-animation: exp_shrink 0.3s;
            animation: exp_shrink 0.3s;
}

.exp_img.active {
    -ms-grid-column-span: 2;
    grid-column: span 2;
    -ms-grid-row-span: 2;
    grid-row: span 2;
    -webkit-animation: exp_grow 0.3s;
            animation: exp_grow 0.3s;
    cursor: auto;
    background-color: #FFF;
    z-index: 2;
}
.exp_img.active:hover{
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
    -webkit-box-shadow: none;
            box-shadow: none;
}

.exp_img > picture {
    -webkit-transition: opacity 0.3s;
    -o-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

.exp_img.active > picture {
    z-index: 2;
    opacity:0;
    pointer-events: none;
}
.exp_img.active .exp_txt {
    display: block;
}

@-webkit-keyframes exp_grow {
    from {
        -webkit-transform: scale(50%);
                transform: scale(50%);
    }
    to {
        -webkit-transform: none;
                transform: none;
    }
}

@keyframes exp_grow {
    from {
        -webkit-transform: scale(50%);
                transform: scale(50%);
    }
    to {
        -webkit-transform: none;
                transform: none;
    }
}

@-webkit-keyframes exp_shrink {
    from {
        -webkit-transform: scale(200%);
                transform: scale(200%);
    }
    to {
        -webkit-transform: none;
                transform: none;
    }
}

@keyframes exp_shrink {
    from {
        -webkit-transform: scale(200%);
                transform: scale(200%);
    }
    to {
        -webkit-transform: none;
                transform: none;
    }
}

.exp_img > picture > img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width:100%;
    margin: auto;
}

.exp_txt {
    display: none;
    width: calc(100% - 40px);
    height: 100%;
    overflow-x: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    padding: 20px 20px 0 20px;
}

.exp_txt h3 {
    font-size: 2em;
    margin-bottom: 20px;
}

.exp_txt h3, .exp_txt h4, .exp_txt h5 {
    text-align: left;
}

.exp_txt .footnotes {
    position: relative;
    top:0;
}

.md_vid {
    max-width: 100%;
}
.md_yt {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.md_yt::after {
    display: block;
    content: "";
    padding-top: 56.25%;
}

.md_yt iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

#hAI, #hFazit {
    margin-top: 200px;
    margin-bottom: 50px;
}


#ai_screen {
    position: relative;
    width: 100%;
    min-height: 60vh;
    border: #555 solid 1px;
}

#ai_upload {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: absolute;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 100%;
    height: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    cursor: pointer;
    
}

#ai_upload.drop {
    background-color: rgba(0,0,0,0.5);
}

#ai_upload img {
    max-width: 64px;
    margin-bottom: 20px;
    opacity:0.5;
}

#ai_upload p {
    font: 300 24px OpenSans, sans-serif;
    text-align: center;
}

#ai_upload #ai_disclaimer {
    font: 300 14px OpenSans, sans-serif;
    color: #999;
    position: absolute;
    bottom:0;
    margin: 5px;
}

#audio_upload {
    display: none;
}

#ai_loading {
    background: url("../assets/loading.gif") no-repeat center;
    width: 100%;
    height: 100%;
    position: absolute;
    display: none;
}
#ai_loading p {
    position: absolute;
    bottom: 30%;
    font: 300 24px OpenSans, sans-serif;
    width: 100%;
    text-align: center;
}

#container3d{
    width: 100%;
    min-height: 60vh;
    display: none;
}

#ai_back {
    position: absolute;
    bottom: 5px;
    right: 5px;
    display: none;
    cursor: pointer;
}

#expo_info {
    position: fixed;
    top: 0;
    left: 0;
    height: 1.9rem;
    margin: 0;
    padding: .3rem;
    width: 100%;
    z-index: 98;
    background-color: white;
    border-bottom: 1px solid #555;
    overflow: hidden;
    will-change: transform;
    white-space: nowrap;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }

#expo_info p{
    will-change: transform;
    -webkit-animation: linear 0s infinite normal none running marquee;
            animation: linear 0s infinite normal none running marquee;
    display: inline-block;
    font: 400 16px OpenSans, sans-serif;
    margin: 0;
}

#expo_info_close{
    width: 1.9rem;
    padding: 0 .3rem .6rem .3rem;
    position: fixed;
    top:0;
    right:0;
    font: 800 19px OpenSans, sans-serif;
    background-color: #FFF;
    border-left: 1px solid #555;
    text-align: center;
    cursor: pointer;
}

@-webkit-keyframes marquee {
    from {
        -webkit-transform: translateX(0);
                transform: translateX(0);
    }
    to {
        -webkit-transform: translateX(-50%);
                transform: translateX(-50%);
    }
}

@keyframes marquee {
    from {
        -webkit-transform: translateX(0);
                transform: translateX(0);
    }
    to {
        -webkit-transform: translateX(-50%);
                transform: translateX(-50%);
    }
}


footer {
    width:90vw;
    display: block;
    margin: 150px auto 20px auto;
    text-align: left;
}

#imprint_link {
    display: block;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}

#imprint, #exp_popup {
    display: none;
    position: fixed;
    top:0;
    right:0;
    left:0;
    bottom: 0;
    margin: 10vh 10vw;
    background-color: #fff;
    border-radius: 1px;
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.5);
            box-shadow: 0 0 10px rgba(0,0,0,0.5);
    z-index: 99;
    overflow-x: auto;
    padding: 20px;
    opacity: 0;
    -webkit-transition: opacity 0.3s;
    -o-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

#imprint {
    z-index: 9999;
}

#imprint.active, #exp_popup.active {
    display: block;
    opacity: 1;
}


#cookie_accept {
    position: fixed;
    top:0;
    right:0;
    left:0;
    bottom: 0;
    z-index: 9998;
    background-color: rgba(0,0,0,0.5);
}

#ca_window {
    position: fixed;
    top:0;
    right:0;
    left:0;
    bottom: 0;
    margin: 20vh 20vw;
    background-color: #fff;
    border-radius: 1px;
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.5);
            box-shadow: 0 0 10px rgba(0,0,0,0.5);
    overflow-x: auto;
    padding: 20px;
    -webkit-transition: opacity 0.3s;
    -o-transition: opacity 0.3s;
    transition: opacity 0.3s;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;

}

#ca_window p {
    font: 300 18px OpenSans, sans-serif;
    padding: 10px 10%;
    text-align: justify;
}

#ca_window button {
    font: 300 18px OpenSans, sans-serif;
    text-align: justify;
    background-color: #fff;
    padding: 5px;
    border: 1px #555 solid;
    border-radius: 5px;
    width: 120px;
    display: block;
    margin: auto;
    text-align: center;
}


@media only screen and (max-width: 860px) {
    #main, footer {
        width: calc(100vw - 40px);
    }
    h1 {
        font-size: 2em;
    }
    h3 {
        font-size: 2em;
        display: block;
    }
    .grid_heading h3 {
        /* white-space: normal; */
    }
    #main_grid {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        width:50vw;
        min-width: 200px;
        margin: auto;
    }
    .grid_heading.active {
        z-index: 1;
        color: #555;
    }
    .obj {
        width:40vw;
        margin: 50px;
        -webkit-box-ordinal-group:1000;
            -ms-flex-order:999;
                order:999;
        display: block;
        min-width: 200px;
    }
    #txt_popup {
        width: 80vw !important;
    }

    .exp_img.active {
        -ms-grid-column-span: 3;
        grid-column: span 3;
        -ms-grid-row-span: 3;
        grid-row: span 3;
        -webkit-animation: exp_grow_mobile 0.3s;
                animation: exp_grow_mobile 0.3s;
    }
    .exp_img.inactive {
        -webkit-animation: exp_shrink_mobile 0.3s;
                animation: exp_shrink_mobile 0.3s;
    }

    @-webkit-keyframes exp_grow_mobile {
        from {
            -webkit-transform: scale(30%);
                    transform: scale(30%);
        }
        to {
            -webkit-transform: none;
                    transform: none;
        }
    }

    @keyframes exp_grow_mobile {
        from {
            -webkit-transform: scale(30%);
                    transform: scale(30%);
        }
        to {
            -webkit-transform: none;
                    transform: none;
        }
    }
    
    @-webkit-keyframes exp_shrink {
        from {
            -webkit-transform: scale(300%);
                    transform: scale(300%);
        }
        to {
            -webkit-transform: none;
                    transform: none;
        }
    }
    
    @keyframes exp_shrink {
        from {
            -webkit-transform: scale(300%);
                    transform: scale(300%);
        }
        to {
            -webkit-transform: none;
                    transform: none;
        }
    }
    
}
@media (hover: none) {
    .obj.clicked .hover_img {
        opacity: 1;
    }
}
  