::selection {
    background: #ffc000;
    color: #FFFFFF;
}

* {
	padding:0;
	margin: 0;
}

html, body {
	height: 100%;
	width: 100%;
}

body {
	background: #000;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 28px;
}

.helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.autoheight {
    height: auto !important;
}

.section {
    padding-top: 30px;
    padding-bottom: 30px; 
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    text-align: center;
}

#background {
	background: #000 url('../img/background.jpg') no-repeat center center;
    background-size: cover;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -999;
}

#menubar {
    position: fixed;
    width: 100%;
    padding: 20px 40px;
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    z-index: 999;
    -webkit-transition: background-color 1s;
    transition: background-color 1s;
}

#menubar.bg {
    background: rgba(0,0,0,.8);
}

#menu {
    position: absolute;
    top: 55px;
    right: 40px;
    font-size: 16px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 300;
    cursor: pointer;
}

#menu a {
    padding: 5px 10px;
    -webkit-transition: background-color 1s;
    transition: background-color 1s;
    margin-right: 10px;
    text-decoration: none;
    color: #fff;
}

#menu a:hover, #menu a.active {
    background-color: #ffc000;
}

#logo {
    display: block;
}

#entstehung {
    height: 100%;
    background: #fff;
    display: table;
    width: 100%;
    text-align: center;
}

#entstehung .right {
    color:#333;
}

#wissenswertes {
    background: #fff;
}

#ueberuns, #kontakt, #impressum {
    background: #000;
}

#ueberuns .content, #kontakt .content {
    max-width: 1000px;
}

.content {
    display: table;
    max-width: 1600px;
    height: 100%;
    margin: 0 auto;
}

.content .text {
    color: #333;
    overflow: hidden;
    width: 100%;
}

.left {
    color: #ffc000;
    text-align: left;
    width: 45%;
    vertical-align: middle;
    display: inline-block;
    font-size: 18px;
}

.right {
    width: 54%;
    color: #fff;
    text-align: left;
    color: rgba(255,255,255,.5);
    vertical-align: middle;
    display: inline-block;
}

.right a {
    color: rgba(255,255,255,.5);
    text-decoration: none;
}

.right a:hover {
    background: #ffc000;
    color: #fff;
}

.content .center {
    vertical-align: middle;
    display: table-cell;
}

.headline {
    font-weight: 800;
    font-size: 36px;
    text-transform: uppercase;
    color: #fff;
    line-height: 44px;
}

.headline2 {
    color: #ffc000;
    margin-bottom: 10px;
}

#wissenswertes img {
    width: 100%;
}

#wissenswertes .text div {
    display: inline-block;
    width: 350px;
    text-align: left;
    margin: 20px;
    vertical-align: top;
    -moz-hyphens: auto;
   -o-hyphens: auto;
   -webkit-hyphens: auto;
   -ms-hyphens: auto;
   hyphens: auto; 
}

#impressum .text {
    color: rgba(255,255,255,.5);
    text-align: center;
    display: table-cell;
    vertical-align: middle;
}

.slider {
    vertical-align: middle;
    display: table-cell;
    margin: 0 auto;
    text-align: center;
    position: relative;
    width: 100%;
    max-width: 1040px;
    padding: 20px;
    font-size: 30px;
    font-weight: 600;
    text-transform: uppercase;
    text-shadow: 3px 3px 1px rgba(0,0,0,.3);
    color: #fff;
    box-sizing:border-box;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
}

.slide {
    display: none;
}

@media screen and (max-width: 1280px) {
    body {
        font-size: 15px;
        line-height: 25px;
    }

    #logo {
        width: 300px;
        max-width: 80%;
    }

    #menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        max-height: 0;
        background: rgba(0,0,0,.8);
        z-index: -1;
        overflow: hidden;
        height: 100%;
        -webkit-transition: max-height 0.5s linear;
        transition: max-height 0.5s linear;
    }

    #menu.active {
        max-height: 100%;
    }

    #menu #center {
        height: 100%;
        display: table;
        width: 100%;
    }

    #menu #inner {
        display: inline-block;
        vertical-align: middle;
        width: 100%;
    }

    #menu a {
        margin-right: 0;
        padding: 20px 50px;
        text-align: center;
        display: inline-block;
        width: 100%;
        box-sizing:border-box;
        -webkit-box-sizing:border-box;
        -moz-box-sizing:border-box;
    }

    #mobilemenu {
        display: block;
        position: absolute;
        top: 50%;
        margin-top: -20px;
        right: 40px;
        width: 40px;
        height: 40px;
        background: url(../img/menu.png) no-repeat center center;
        cursor: pointer;
    }

    #mobilemenu.active {
        background-image: url(../img/menuclose.png);
    }

     .headline {
        font-size: 26px;
        line-height: 32px;
    }

    .left, .right {
        width: 90%;
        padding: 0;
    }

    .left img {
        width: 160px;
        max-width: 90%;
    }

    #wissenswertes .text div {
        width: 45%;
        margin: 20px 2%;
        font-size: 15px;
        line-height: 20px;
    }

    .slider {
        font-size: 20px;
    }
}


@media screen and (max-height: 550px) {
    body {
        font-size: 13px;
        line-height: 20px;
    }

    #menu #inner {
        padding-top: 90px;
        box-sizing:border-box;
        -webkit-box-sizing:border-box;
        -moz-box-sizing:border-box;
    }

    #menu a {
        padding: 10px;
        font-size: 9px;
        line-height: 10px;
    }
}