@font-face {
    font-family: 'Roboto';
    font-weight: 100;
    src: url('fonts/Roboto-Thin.ttf') format('truetype');
}

@font-face {
    font-family: 'Roboto';
    font-weight: 300;
    src: url('fonts/Roboto-Light.ttf') format('truetype');
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    margin: 0px;
    background: #ffffff;
    color: #39b;
    overflow-x: hidden;
}

h1 {
    display: none;
}

h2 {
    text-transform: uppercase;
    font-weight: 300;
    font-size: 14px;
    letter-spacing: 0.1px;
    margin: 0;
}

a, a:link, a:active, a:visited {
    font-size: 14px;
    font-weight: 100;
    text-decoration: none;
    letter-spacing: 0.4px;
    transition: all .3s ease;
    color: #39b;
}

a:hover {
    opacity: 0.6;
}


.logo {
    width: 256px;
    height: auto;
}

#wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    padding: 30px;
}

#content {
    position: relative;
    display: flex;
    height: 100%;
    width: 100%;
    /* max-width: 960px; */
    flex-direction: column;
}

#content.bg {
    justify-content: center;
    align-items: center;
    background-image: url(img/bg.jpg);
	background-position: bottom center;
	background-size: cover;
	background-repeat: no-repeat;
}

#content .logo-start {
    width: 300px;
    height: auto;
}

#menu {
    display: flex;
    position: absolute;
    top: 15px;
    left: 18px;
}

#menu a, #menu a:link, #menu a:active, #menu a:visited {
    font-size: 14px;
    font-weight: 100;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-right: 12px;
    transition: all .3s ease;
    color: #39b;
}

#menu.bg a, #menu.bg a:link, #menu.bg a:active, #menu.bg a:visited {
    color: #ffffff;
}

#menu a:hover {
    opacity: 0.6;
}

#menu a:last-of-type {
    margin-right: 0px;
}

.logo-row {
    position: relative;
    width: 50%;
    margin: auto 0 auto calc(50% + 36px);
    height: auto;
}

.main {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin: 30px 0;
}

.main .blu-image {
    width: 50%;
    max-width: 521px;
    /* padding-right: 18px; */
}

.main .blu-image img {
    width: 100%;
    height: auto;
    float: right;
}

.main .text {
    width: 50%;
    padding-left: 36px;
    font-size: 14px;
    height: 100%;
    max-width: 521px;
    max-height: 400px;
    overflow: hidden;
}

p.impressum-text {
    margin-bottom: 30px;
}

p.datenschutz-text {
    margin-bottom: 30px;
}

.scroll-container {
    height: auto;
    max-height: calc(400px - 19px - 12px);
    overflow-y: scroll;
    margin-top: 12px;
}

@media screen and (max-width: 768px) {
    .logo-row {
        margin: 100px 0 0 0;
    }
    .main {
        flex-direction: column;
        justify-content: normal;
    }
    .main .text {
        width: 100%;
        padding: 0px;
        margin-top: 30px;
        max-height: none;
        overflow: visible;
    }
    .scroll-container {
        max-height: 100%;
    }

}

@media screen and (max-width: 512px) {
    #wrapper {
        padding: 0px;
    }
    #content {
        padding: 30px;
    }
    #menu {
        flex-direction: column;
        left: 30px;
    }
    .main .blu-image {
        width: 100%;
    }
    .logo-row {
        margin: 130px 0 0 0;
        height: auto;
    }
    #content .logo-start {
        width: 220px;
    }
    .main {
        margin-top: 46px;
    }

    .logo {
        width: 128px;
    }

    a, a:link, a:active, a:visited {
        word-wrap: break-word;
    }

}

@media screen and (max-width: 320px) {
    #content {
        padding: 12px;
    }
    #menu {
        left: 12px;
    }
}

@media screen and (min-height: 900px) {
    .logo-row {
        margin: 100px 0 100px calc(50% + 36px);
    }
}

@media screen and (min-height: 1000px) {
    .logo-row {
        margin: 150px 0 150px calc(50% + 36px);
    }
}

@media screen and (min-height: 1300px) {
    .logo-row {
        margin: 200px 0 200px calc(50% + 36px);
    }
}
