@font-face {
    font-family: 'AvenirLTStd';
    src: url('fonts/AvenirLTStd-Light.otf');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'AvenirLTStd';
    src: url('fonts/AvenirLTStd-LightOblique.otf');
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'AvenirLTStd';
    src: url('fonts/AvenirLTStd-Book.otf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AvenirLTStd';
    src: url('fonts/AvenirLTStd-BookOblique.otf');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'AvenirLTStd';
    src: url('fonts/AvenirLTStd-Heavy.otf');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'AvenirLTStd';
    src: url('fonts/AvenirLTStd-HeavyOblique.otf');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: "Roboto Slab";
    src: url('fonts/RobotoSlab-Bold.ttf');
}

* {
    font-family: 'AvenirLTStd';
}

body {
    margin: 0;
    padding: 0;
    background-color: #1d1d1d;
}

* {
    margin: 0;
    padding: 0;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #121212;
    height: auto;
    z-index: 1;
}

footer {
    width: 100%;
    height: auto;
    position: absolute;
    bottom: 100;
    background-color: lightgray;
    z-index: 1;
}

h1 {
    font-weight: normal;
}

p,
li {
    -webkit-text-size-adjust: 100%;
}

a:hover {
    cursor: pointer;
}

.navitem:hover {
    cursor: pointer;
    background-color: #222222;
}

#headertext {
    text-align: center;
    font-size: 3vh;
    margin: 5px;
    font-family: 'Roboto Slab';
    color: #dbdbdb;
}

nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #121212;
    z-index: 1;
    height: 7vh;
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.navitem {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navimg {
    height: 5vh;
}

.page {
    width: 100%;
    min-height: calc(100vh - 10vh);
}
/* Background color nicht angegeben
.navitem:hover,
active {
    background-color: ;
}*/

.titel {
    height: 15vh;
    width: 100%;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

#titeltext {
    font-family: 'Roboto Slab';
    font-size: 4vh;
    text-align: center;
    color: white;
}

.anchor {
    display: block;
    height: 6.5vh;
    /*same height as header*/
    margin-top: -6.5vh;
    /*same height as header*/
    visibility: hidden;
}

#more {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    font-weight: normal;
    font-size: 3vh;
    text-align: center;
    position: relative;
    top: 75vh;
    left: 50%;
    transform: translate(-50%);
}

#arrow {
    height: auto;
    width: 2vh;
}

#more:hover {
    cursor: pointer;
}

.imgindex {
    width: 100%;
    height: auto;
}

#contactform {
    position: relative;
    top: 5vh;
}

.flowpage {
    width: 100%;
    background-color: #f8f8f8;
    margin-top: calc(-3vh + -20px);
}

.header-spaceing {
    height: calc(3vh + 10px);
}

.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.spaceing {
    height: 10vh;
    background-color: #F8F8F8;
}

.desktop {
    display: none;
}


/*Media Queries*/

@media only screen and (min-width: 1024px) {
    .desktop {
        display: block;
    }
    
    header {
        display: none;
    }
    nav {
        top: 0;
        height: 45px;
        justify-content: center;
    }
    .navimg {
        height: 24px;
    }
    .navtxt {
        color: #dbdbdb;
        font-size: 10pt;
    }
    .page {
        height: 100vh;
    }
    .navitem {
        display: flex;
        flex-direction: column;
        flex: none;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 60px;
    }
    #arrow {
        margin-top: 1vh;
    }
}