@charset utf-8;
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/*
color:#77CBEF;
*/

* {
    margin: 0;
    padding: 0;
}

.semi {
    font-family: "Roboto", sans-serif;

}

body {
    font-family: "Roboto", sans-serif;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    color: #919190;
}

header {
    display: flex;
    justify-content: space-between;
    border-bottom: solid 2px #61CFFF;
    margin: 0 auto 2em auto;
    width: 90vw;
}

#site-logo {
    width: 40%;
    height: 3em;
    border-top: transparent;
    padding: 1em;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
}

nav {
    width: 60%;
    height: 3em;
    display: flex;
    border-top: transparent;
    margin-bottom: 2em;
    margin-top: 1em;
    position: sticky;
    background-color: white;
    z-index: 12;
    font-size: 1.1vw;
}

#site-logo img {
    width: 100%;
    display: block;
}

nav ul li {
    list-style: none;
    display: inline-block;
    margin-right: 1em;

}

nav ul li a {
    color: #B2B2B1;
    text-decoration: none;
    font-size: 1.5em;
}


nav ul li a:hover {
    /*    text-decoration: underline;*/
    color: #72CBE8;
}

.active {
    /*    font-weight:bold;*/
    color: #72CBE8;
}

#subnav {
    width: 60%;
    display: flex;
    justify-content: space-between;
    margin-top: -1em;
    margin-bottom: 2em;
}

#subnav a {
    color: #77CBEF;
    text-decoration: none;

}

#subnav a:hover {
    text-decoration: underline;
}

#up {
    position: fixed;
    bottom: 1em;
    right: 1em;
    background-color: rgba(119, 203, 239, 0.5);
    font-size: 2em;
    border-radius: 5px;
    padding: 0.3em 0.5em 0 0.5em;
    color: white;
    font-family: "Roboto", sans-serif;
    transition: background-color 0.5s;
}

#up:hover {
    background-color: rgba(119, 203, 239, 1);
}

h2 {
    margin: 1.5em;
    text-align: center;
    color: #72CBE8;
}

p {
    font-size: 1.1em;
    line-height: 140%;
}

.logo {

    text-align: center;
    margin-bottom: 2em;
}

.logo img {
    width: 70%;
    max-width: 40em;
}

main {
    width: 80%;
    margin: 0 auto;
    max-width: 60em;
    flex: 1;
}


.startbild {
    width: 80%;
    margin: 0 auto;
    display: block;
    margin-top: 1em;
}

.text_start {
    width: 80%;
    margin: 0 auto;

}

p {
    margin-top: 1em;
}

p a {
    color: #77CBEF;
}

p a:hover {
    text-decoration: none;
}

.screen {
    display: block;
    width: 100%;
    margin: 0 auto;
    background-image: url("../img/3D_multimiidia.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    padding-top: 46.25%;
    text-align: center;


}

.online-button {
    font-family: "Roboto", sans-serif;
    background-color: #72CBE8;
    border: 0;
    border-radius: 20px;
    padding: 1em 2em;
    color: white;
    font-size: 1.2em;
    margin-bottom: 1.5em;
    cursor: pointer;
}

.online-button:hover {
    /*    text-decoration:underline;*/
}

.subtitle {
    color: darkgrey;
    margin-bottom: 2em;
    float: left;
    display: inline-block;
    font-family: "Roboto", sans-serif;
}

/* GALLERY */
/*

#gallery {
    background-color: black;
}
*/

.gallery-container {
    display: flex;
    flex-wrap: wrap;
}

.gallery-container figure {
    flex-basis: 280px;
    flex-grow: 1;
    padding: 0.5em;
    margin: 0.2em;
    overflow: hidden;
}

.gallery-container img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

.gallery-container figcaption {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.79);
    opacity: 0;
    color: black;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 1.2em;
    letter-spacing: 0.09em;

    transition: all 0.6s ease-in;
}


.gallery-container figure:hover figcaption {
    opacity: 1;
    /*    transform:scale(1);*/
}

.gallery-container figure a {
    width: 100%;
    height: 100%;
    position: relative;
    display: block;
}


.webgl-content .footer .fullscreen {
    cursor: pointer;
}

.webgl-content .footer .fullscreen:hover {
    background-image: url(../img/fullscreen_hover.png);
}

.logo_grau {
    text-align: right;
    padding-right: 5vw;
}

footer {
    box-shadow: rgba(200, 200, 200, 0.3) 2px 2px 2px;
    border: rgba(200, 200, 200, 0.5) solid 2px;
    padding: 0.8em;
    font-size: 0.8em;
    margin-top: 2em;
}

footer p {
    margin: 0;
}

@media screen and (max-width:930px) {

    header {
        flex-direction: column;
    }

    nav {
        height: auto;
        width: 100%;
        max-width: none;
        border: none;
        box-shadow: none;
        margin-left: 0;
        margin-bottom: 1.5em;
        order: 2;
        line-height: 200%;
        font-size: 1em;
        border-radius: 0;
        text-align: center;
        display: flex;
        justify-content: center;
    }


    nav ul li {
        display: block;
        margin-top: 0.5em;
    }

    #subnav {
        width: 100%;
        display: inline;
        text-align: center;
        margin-bottom: 3em;
        margin: 0 auto;

    }

    #subnav a {
        display: block;
        text-decoration: none;
        line-height: 200%;
    }

    #site-logo {
        display: none;
        width: 100vw;
        padding: 1em 0;
        height: auto;
        margin-bottom: 1em;
        order: 1;
        border-radius: 0;
    }

    #site-logo img {
        display: block;
        width: 30%;
        margin: 0 auto;

    }
    .online-button{
        padding: 0.5em 2em;
    }

}
