@font-face {
    font-family: Veneer;
    src: url("../images/v.otf") format("opentype");
}

@font-face {
    font-family: Veneer;
    font-weight: 100;
    src: url("../images/vr.otf") format("opentype");
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(400px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 0.3;
    }
}

@keyframes slideOutToRight {
    0% {
        transform: translateX(0%);
        opacity: 0.3;
    }
    100% {
        transform: translateX(355px);
        opacity: 0;
    }
}

@keyframes bumpBg {
    0% {
        background-size: 3rem auto;
    }
    100% {
        background-size: 3.5rem auto;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

div#langswitch {
    position: fixed;
    top:1rem;
    right:1rem;
    background: rgba(248, 243, 232, 0.86);
    border: transparent 1px solid;
    padding:1ex;
    border-radius: 1ex;
}

div#container {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
}

div#page, div#illustration-r, div#illustration-l {
    padding: 20px 0;
    margin: 0 00px;
    min-height: 100vh;
    box-sizing: border-box;
    position: relative;
    top: 0;
    left: 0;
    z-index: 5;
    width: calc(100vw);
}

div#page, div#illustration-r, div#illustration-l, div#container, section#content, nav#menu, nav#trigger {
    transition: padding .1s, margin .1s, width .1s, opacity 0.6s;
}

div#page.animated {
    animation: fadeIn 0.3s ease-out 0s 1;
    opacity: 1;
}

div#illustration-r, div#illustration-l {
    padding:0;
    opacity: 0.3;
    transition: opacity .3s;
    position: absolute;
    background: #f8f3e8 url("../images/illu-r.png") right top no-repeat;
    background-size: 355px auto;
    z-index: 1;
    height: 100%;
}

div#illustration-l {
    background: transparent url("../images/illu-l.png") left top no-repeat;
    background-size: 195px auto;
    display: none;
}

div#illustration-r.animated {
    animation: slideInFromRight 1s ease-out 0s 1;
}

#inject {
    margin-bottom: 1.5rem;
}

.mirror div#illustration-r {
    background: #f8f3e8 url("../images/illu-r.png") right top no-repeat;
    background-size: 355px auto;
    background-position-y: -100px;
}

div#illustration-r.animated.out {
    animation: slideOutToRight 0.3s ease-out 0s 1;
    opacity: 0;
    transform: translate(100%);
}

div#page.animated.out {
    animation: fadeOut 0.3s ease-out 0s 1;
    opacity: 0;
}

section#content h1:first-of-type, section h2:first-of-type {
    margin-top: 0;
}

section#content {
    font-family: "Helvetica Neue", Arial, sans-serif;
    min-height: calc(100vh - 9rem - 40px);
    box-sizing: border-box;
    margin: 0 0 0 0;
    padding: 0 20px;
    font-weight: normal;
    width: 100%;
    font-size: 0.7rem;
    letter-spacing: 0pt;
    text-align: justify;
    background: linear-gradient(90deg, rgba(248, 243, 232, 1), rgba(248, 243, 232, 0.5) 90%, rgba(248, 243, 232, 0.3) 95%, rgba(248, 243, 232, 0) 100%);
}

footer.site-footer {
    font-family: Veneer, sans-serif;
    text-align: center;
    box-sizing: border-box;
    width: 10em;
    margin: 1rem auto 0;
    font-size: 0.8rem;
    font-weight: 100;
    /*text-shadow: 0 0 1px #7a3939;*/
    transition: opacity 0.7s, font-size 0.7s, text-shadow 0.7s, background-size 0.7s, padding 0.3s;
    /*opacity: 0.8;*/
    cursor: pointer;
}

footer#site-footer-imprint {
    height: 6rem;
    padding-top: 3rem;
    background: url("../images/logo-g.png") no-repeat center 0;
    background-size: 3rem auto;
}

footer#site-footer-imprint:hover {
    background-size: 3.5rem auto;
    padding-top: 3.5rem;
    /*text-shadow: 0 0 2px #7a3939;*/
    font-size: 1.1rem;
    transition: opacity 0.3s, font-size 0.3s, text-shadow 0.3s, padding 0.3s, background-size 0.7s;
    opacity: 1;
}

nav#trigger {
    opacity: 1;
    position: fixed;
    top: 2.5rem;
    right: 1.2rem;
    z-index: 667;
    display: block;
    text-align: center;
    height: 1.9rem;
    width: auto;
    border-radius: 15px;
    border: #515957 solid 3px;
    font-family: Veneer, serif;
    line-height: 1em;
    background-color: rgba(248, 243, 232, 0.66);
    cursor: pointer;
    padding: 2px 0 0 0;
}

nav#trigger div#symbol {
    background: url("../images/burger.png") center center no-repeat;
    background-size: auto 1.6rem;
    min-width: 1.6rem;
    height: 1.6rem;
}

nav#trigger div#symbol.close {
    background: url("../images/cross.png") center center no-repeat;
    background-size: auto 1.6rem;
}

nav#menu::-webkit-scrollbar {
    height: 0;
    width: 0;
}

nav#menu {
    display: block;
    position: fixed;
/*    overflow: scroll;*/
    overflow-x: hidden;
    overflow-y: hidden;
    top: 0;
    left: -30ch;
    z-index: 666;
    opacity: 1;
    transition: opacity 1s, left .6s;
    /*min-width: 25ch;*/
    /*width: 60%;*/
    max-width: 30ch;
    height: 100%;
    padding: 45px 0 0 0;
    font-size: 1.6rem;
    background: linear-gradient(90deg, rgba(248, 243, 232, 1), rgba(248, 243, 232, 1) 90%, rgba(248, 243, 232, 0.6) 95%, rgba(248, 243, 232, 0) 100%)
}

nav#menu.open {
    left: 15px;
    opacity: 1;
}

nav#menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    /*float: left;*/
}

nav#menu ul li {
    padding: 0;
    margin: 0;
    font-size: 1.6rem;
    transition: padding-left 0.3s, font-size 0.3s, text-shadow 0.3s;
    /*text-shadow: 0 0 1px #7a3939;*/
}

nav#menu ul li.active a {
    color: #333837;
    /*text-shadow: 0 0 2px #393939;*/
    font-size: 2.24rem;
}

nav#menu ul li:hover {
    font-size: 2.24rem;
    padding-left: 0.5ch;
    -webkit-transition: padding-left 0.3s, font-size 0.3s, text-shadow 0.3s;
    -moz-transition: padding-left 0.3s, font-size 0.3s, text-shadow 0.3s;
    -ms-transition: padding-left 0.3s, font-size 0.3s, text-shadow 0.3s;
    -o-transition: padding-left 0.3s, font-size 0.3s, text-shadow 0.3s;
    transition: padding-left 0.3s, font-size 0.3s, text-shadow 0.3s;
    /*text-shadow: 0 0 2px #7a3939;*/
}

nav#menu ul li.active:hover {
    padding-left: 0;
}

nav a, a.site-footer-link {
    text-decoration: none;
}

@media only screen and (min-width: 580px) {
    section#content {
        margin-left: auto;
        margin-right: auto;
        width: 540px;
    }
}

@media only screen and (min-width: 850px) {

    div#page, div#illustration-r, div#container, section#content, nav#menu, nav#trigger {
        transition: padding .5s, margin .5s, width .5s, left .6s, opacity .3s;
    }

    div#illustration-l {
        display: block;
    }

    nav#trigger {
        opacity: 0;
    }

    nav#menu {
        background: transparent;
        margin-top: 45px;
        /*min-width: 10ch;*/
        /*width: 25vw;*/
        padding: 0;
        left: 15px;
        opacity: 1;
    }

    nav#menu.open {
        left: 15px;
    }

    nav#menu #close {
        display: none;
    }

    section#content {
        margin-top: 0;
        padding: 0 10ch 0 0;
        min-height: calc(100vh - 9rem - 90px);
        margin-left: 25vw;
        min-width: 580px;
        width: 50vw;
        max-width: 888px;
    }

    h1 {
        display: none;
    }

}

@media only screen and (min-width: 1168px) {

    div#page, div#illustration-r {
        padding: 45px 0;
    }

    nav#menu {
        /*width: 20vw;*/
        left: 45px;
    }

    section#content {
        margin-top: 0;
        padding: 0 10ch 0 0;
        min-height: calc(100vh - 9rem - 90px);
        margin-left: 25vw;
        min-width: 538px;
        width: 50vw;
        max-width: 700px;
    }

}

@media only screen and (min-width: 1250px) {

    @keyframes slideInFromRight {
        0% {
            transform: translateX(400px);
            opacity: 0.2;
        }
        100% {
            transform: translateX(0);
            opacity: 1;
        }
    }

    @keyframes slideOutToRight {
        0% {
            transform: translateX(0%);
            opacity: 1;
        }
        100% {
            transform: translateX(355px);
            opacity: 0;
        }
    }

    div#illustration-r {
        opacity: 1;
    }
}

@media only screen and (min-width: 1350px) {

    section#content {
        background: transparent;
    }
}

@media only screen and (min-width: 1450px) {

    section#content {
        margin-left: 362px;
    }

    div#illustration-r, div#illustration-l {
        position: fixed;
        opacity: 1;
    }
}

@media print {
    * {
        text-shadow: none !important;
    }

    nav {
        display: none !important;
    }

    hr {
        display: none !important;
    }

    footer {
        display: none !important;
    }

    section#content {
        min-width: 80% !important;
        width: 80% !important;
    }
}
a#ticketshop {
    font-size: 2em;
}
