/* font */

@font-face {
    font-family: 'GeometriaBold';
    src: url('../fonts/Geometria-Bold.woff2') format('woff2'),
    url('../fonts/Geometria-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Geometria';
    src: url('../fonts/Geometria.woff2') format('woff2'),
    url('../fonts/Geometria.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

p {
    font-family: 'Geometria';
    font-weight: normal;
    font-style: normal;
    font-size: 1.75em;
    line-height: 1.25;
    color: white;
    margin: 0;
}

a {
    text-decoration: none;
    color: white;
}

a:hover {
    color: #808A39;
}

h1, h2 {
    font-family: 'GeometriaBold';
    font-weight: bold;
    font-style: normal;
    text-transform: uppercase;
    color: white;
    margin: 0;
}

/* oben */
.green-box h1 {
    margin: 0.5em 0;
    font-size: 3em;
}

.green-box p {
    margin: 0.25em 0;
}

.green-box p:last-of-type {
    margin-bottom: 1em;
}

/* unten */
.black-box h2 {
    font-size: 2em;
}

.black-box h2:first-of-type {
    margin-top: 3.75em;
}

.black-box h2:last-of-type {
    margin-bottom: 1em;
}

.black-box p {
    margin: 1em 0;
}

/* layout */

.container {
    width: 100%;
    padding: 0;
}

.container:first-of-type {
    margin-top: 2em;
}

.row {
    display: flex;
}

.row:first-of-type {
    margin-bottom: 1em;
}

.row:last-of-type {
    margin-top: 1em;
}

.columns {
    text-align: center;
    flex: 1;
    margin: 0;
}

.green-box {
    background-color: #808A39;
}

#logo {
    position: absolute;
    overflow: visible;
    z-index: 1;
    top: 21px;
    left: 2em;
    height: 400px;
}

hr {
    border-top: 5px solid #0F151E;
    margin: 0;
}

.black-box {
    background-color: #0F151E;
}

/* full page image background */
/*html {
    height: 100%;
}
body {
    background-image: url("../images/test-bg.jpg");
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}*/

/* impressum */
.impressum {
    padding: 15px;
}
.link-impressum {
    color: #0F151E;
}

/* media queries */
@media (max-width: 1024px) {

    /* kleinerer weißer rand oben */
    .container:first-of-type {
        margin-top: 0;
    }

    /* horizontal zentrieren */
    #logo {
        left: 50%;
        margin-left: -200px;
        top: 290px;
    }

    /* flex deaktivieren */
    .row {
        display: inherit;
    }

    /* grüne box (rechts mit inhalt) muss eine bestimmte höhe haben, damit das logo darunter reinpasst */
    .seven.columns.green-box {
        min-height: 539px;
    }

    /* abstand erste headline in einem schwarzen kasten unterhalb des logos */
    .black-box h2:first-of-type {
        margin-top: 5em;
    }

    /* hack um volle breite der kästen sicherzustellen bis zur desktop ansicht ab 1024px */
    .columns {
        width: 100% !important;
    }

}