@font-face {
    font-family: "LexieReadable";
    src: url("meta/LexieReadable-Regular.ttf");
}

body {
    font-family: sans-serif;
    /*position: absolute;*/
    padding: 0;
    margin: 0;
}
label {
    cursor: pointer;
}

#background {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background-size: cover;
    background-position: center center;
    z-index: -1;
}

#menu {
    z-index: 5;
    /*position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;*/
    /*overflow: hidden; this destroys everything*/
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Chrome/Safari/Opera */
    /*-khtml-user-select: none;    /* Konqueror */
    -moz-user-select: none;      /* Firefox */
    -ms-user-select: none;       /* Internet Explorer/Edge */
    user-select: none;           /* Non-prefixed version, currently
                                  not supported by any browser */
}

#menu > input {
    display: none;
}
#menu label {
    position: fixed;
    top: 0.5em;
    left: 0.5em;
    z-index: 7;
}
#menu .links {
    z-index: 5;
    position: fixed;
    visibility: hidden;
    right: 100%;
    top: 0;
    bottom: 0;
    width: 85%;
    transition: visibility 0.3s ease 0s, right 0.3s ease 0s;
    background-color: rgba(0, 0, 0, 0.68);
}
#menu .links .linkcontainer {
    padding-left: 0.5em;
    padding-right: 0.5em;
    position: absolute;
    left: 0;
    top: 6em;
    right: 0;
    bottom: 0;
    overflow-x: hidden;
    overflow-y: auto;
}
.linkcontainer a, .link {
    font-weight: bolder;
    text-transform: uppercase;
    font-size: 1.5em;
    display: block;
    color: white;
    border-bottom: 1px solid rgba(209, 209, 209, 0.83);
    text-decoration: none;
    margin: 0.5em 0;
}
.linkcontainer a {
    padding-bottom: 0.5em;
}

#menu .logo {
    z-index: -1;
    position: fixed;
    left: 10%;
    background-image: url("schriftzug_klein.png");
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
    right: 10%;/*60%*/
    margin-right: 0.5em;
    top: 0;
    height: 100%;
    /*transition: top 0.3s ease 0s, height 0.3s ease 0s, left 0.3s ease 0s, right 0.3s ease 0s;*/
    opacity: 1;
    transition: visibility 0.3s ease 0s, opacity 0.3s ease 0s;
}

#menu .logo.main {
    background-image: url("schriftzug.png");
}

#menu .logo.menu {
    position: fixed;
    z-index: 6;
    top: 0.5em;
    height: 4em;
    left: 5em;
    right: 15%;
    visibility: hidden;
    opacity: 0;
}

#menu > input:checked + div .links {
    visibility: visible;
    right: 15%;
}
#menu > input:checked + div .logo.main {
    opacity: 0;
}
#menu > input:checked + div .logo.menu {
    visibility: visible;
    opacity: 1;
}

#content {
    z-index: 1;
    color: black;
    /*position: absolute;
    height: 100%;
    width: 100%;*/
    /*left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow: scroll;*/
}

#content .top {
    position: absolute;
    height: 100%;
    width: 100%;
    background-image: url("meta/arrow_up.png");
    background-position: bottom 0.5em center;
    background-size: 2.5em auto;
    background-repeat: no-repeat;
}

#content .bottom {
    /*position: absolute;
    top: 100%;
    left: 0;
    right: 0;*/
    /*height: 100%;*/
    font-size: 1.2em;
    padding: 0.5em;
    /*padding-left: 10%;*/
    padding-bottom: 1em;
    padding-top: 2em;
    text-align: center;
    /*background: -moz-radial-gradient(center, ellipse cover, rgba(0,0,0,0) 0%, rgba(0,0,0,0.29) 100%);
    background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, rgba(0,0,0,0)), color-stop(100%, rgba(0,0,0,0.29)));
    background: -webkit-radial-gradient(center, ellipse cover, rgba(0,0,0,0) 0%, rgba(0,0,0,0.29) 100%);
    background: -o-radial-gradient(center, ellipse cover, rgba(0,0,0,0) 0%, rgba(0,0,0,0.29) 100%);
    background: -ms-radial-gradient(center, ellipse cover, rgba(0,0,0,0) 0%, rgba(0,0,0,0.29) 100%);*/
    background: radial-gradient(ellipse at center, rgb(225, 225, 225) 80%, rgb(196, 196, 196) 100%);
    /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000', GradientType=1 );*/
}

#content .bottom .middle {
    display: inline-block;
    text-align: left;
}

#content .logo {
    height: 4em;
    width: 100%;
    background-image: url("schriftzug_einzeln.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/*#content .bottom .background {
    z-index: -1;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    /*position: absolute;*/
    /*background-image: url("contentbackground.jpg");*-/
    background-color: rgba(225, 225, 225, 0.97);
}*/

#content .left, .content .left {
    font-weight: bolder;
}
#content a {
    color: #131313;
}

.hideme {
    display: none;
}

.contactContainer {
    max-width: 40em;
}

@media (max-width: 1279px) {

    #background {
        background-image: url("background7_small.jpg");
    }

    .desktopVisible {
        display: none!important;
    }
}

@media (min-width: 401px) {

    @media(max-width: 1279px) {


    }
}

@media (min-width: 1280px) {

    #background {
        background-image: url("background7.jpg");
    }
    .linkcontainer a, .link {
        display: inline;
        border-bottom: 3px solid transparent;
        margin: 0 0 0 1.5em;
        transition: border-bottom 0.2s;
    }
    .linkcontainer a.selected, .link.selected {
        border-bottom: 3px solid white;
    }
    .linkcontainer a:hover, .link:hover {
        border-bottom: 3px solid rgba(255, 255, 255, 0.81);
    }

    #menu label {
        display: none;
    }

    #menu .logo.menu {
        /*position: absolute;*/
        display: none;
        left: 0.5em;
        opacity: 1;
        visibility: visible;
        right: auto;
        width: 17em;
    }

    #menu .logo.main {
        height: 10em;
        left: 4em;
        bottom: 4em;
        top: auto;
    }
    #menu .links {
        /*position: absolute;*/
        visibility: visible;
        bottom: auto;
        height: 5em;
        right: 0;
        left: 0;
        width: auto;
    }
    #menu .links .linkcontainer {
        top: auto;
        left: 0;
        overflow: visible;
        text-align: center;
    }
    #menu .links .linkcontainer a:first-child {
        margin-left: 0;
    }
    #menu .links .linkcontainer a {
        font-size: 1.6em;
        padding-bottom: 0;
    }

    #content .left, .content .left {
        width: 12em;
        display: inline-block;
    }

    .mobileVisible {
        display: none!important;
    }
}
