
@font-face {
    font-family: 'PT Sans';
    src: url('../templates/pts55f-webfont.woff2') format('woff2'),
    url('../templates/pts55f-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

:root {
    --color-hell: #bdd6bc;
    --color-dunkel: #013300;
}


* {
    box-sizing: border-box;
    font-family: 'PT Sans', sans-serif;
}


html, body {
    margin: 0;
    background-color: var(--color-hell);
    font-size: 16px;
}

a {
    color: var(--color-hell);
}





#carousel, #map {
    position: fixed;
    left: 0;
    top: 0;
    width: 60vw;
    height: 100vh;
}

#carousel div {
    width: 100%;
    height: 100%;

    background-size: cover;
}

#map {
    display: none;
}




#logo {
    position: fixed;
    left: 20px;
    top: 20px;
}

#logo img {
    width: 400px;
    height: 68px;
}




#menu {
    position: absolute;
    left: 61vw;
    width: 38vw;
    max-width: 550px;
    top: 0;
    display: flex;
}

#menu a {
    display: inline-block;
    flex-grow: 1;
    height: 60px;

    text-align: center;
    font-size: 18px;
    line-height: 60px;
    text-decoration: none;
    color: var(--color-dunkel);

    transition: all 800ms;
}

#menu a:hover,
#menu a.aktiv {
    background-color: white;
}







#content {
    position: absolute;
    left: 50vw;
    top: 60px;
    width: 48vw;
    max-width: 800px;
    padding-bottom: 60px;
    display: grid;
    grid-template-columns: 48% 48%;
    column-gap: 4%;
    row-gap: 2rem;
}

.contentbox {
    background-color: white;
}

.contentbox2 {
    background-color: white;
    grid-column: 1 / 3;
}

.contentboxDunkel {
    background: var(--color-dunkel);
    color: white;
}

.contentboxDunkel h1 {
    color: white;
}

.imagebox div {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
    background-size: cover;
    background-position: center;
}

h1, h2, h3 {
    color: var(--color-dunkel);
}
h1 {
    font-weight: normal;
    font-size: 2rem;
    margin: 1rem 2vw;
}
h2 {
    font-size: 1.6rem;
    margin: 0.5rem 2vw;
}
h3 {
    font-size: 1.3rem;
    margin: 0.5rem 2vw;
}

p {
    margin: 16px 2vw;
}

.button {
    display: inline-block;
    background-color: var(--color-hell);
    color: var(--color-dunkel);
    border: var(--color-dunkel) 1px solid;
    text-decoration: none;

    margin: 16px 2vw;
    padding: 5px 20px;

    transition: all 800ms;
}

.button:hover {
    background-color: var(--color-dunkel);
    color: var(--color-hell);
    border: var(--color-hell) 1px solid;
}




@media only screen and (max-width: 1600px) {
    #content {
        position: absolute;
        left: 40%;
        top: 60px;
        width: 56%;
        max-width: none;
    }
}


@media only screen and (max-width: 1200px) {
    #content {
        position: absolute;
        left: 2%;
        top: 60vh;
        width: 96%;
        max-width: none;
    }


    #carousel, #map {
        position: absolute;
        left: 0;
        top: 0;
        width: 100vw;
        height: 65vh;
    }


    #menu {
        position: fixed;
        left: 150px;
        top: 0;
        width: calc(100% - 150px);
        max-width: none;
        display: flex;
        z-index: 100;

        background-color: var(--color-hell);
    }


    #logo {
        position: fixed;
        left: 0;
        top: 0;
        width: 150px;
        height: 60px;
        background-color: var(--color-hell);

        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 100;
    }

    #logo img {
        width: 90%;
        height: auto;
        margin-left: 5%;
    }
}


@media only screen and (max-width: 640px) {
    #menu {
        position: fixed;
        left: 0;
        top: 60px;
        width: 100%;
        max-width: none;

        background-color: var(--color-hell);
    }

    #menu a {
        height: 40px;

        font-size: 12px;
        line-height: 40px;
    }



    #logo {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 60px;
        background-color: var(--color-hell);

        display: flex;
        align-items: center;
        justify-content: center;
    }

    #logo img {
        width: auto;
        height: 30px;
    }



    #carousel, #map {
        position: absolute;
        left: 0;
        top: 100px;
        width: 100vw;
        height: calc(65vh - 100px);
    }



    .contentbox,
    .contentbox2 {
        min-height: 300px;
        grid-column: 1 / 3;
    }
}
