/* ========== Hirsch Logo animation ========== */
#hirsch:hover {
    transform: scale(1.1);
    transition: all .5s ease-in-out;    
}

#hirsch {
    margin: auto 25%;
}

/* ========== Links ========== */

a {
  outline: none;
  text-decoration: none;
}

a:link {
  color: #AF8B7F;
}

a:visited {
  color: #AF8B7F;
}

/* ========== Schriften ========== */

h1, h2, h3, h4 {
    font-weight: 300;
    text-align: center;
    color: #AF8B7F;
}

h1 {
    font-size: 1.8em;
    line-height: 120%;
    margin: 20px 0 5px 0;
}

h1.start {
    letter-spacing: 1px;
    text-transform: uppercase;
}

h2 {
    font-size: 1.3em;
    margin: 20px 0 5px 0;
    color: #AF8B7F;
    line-height: 120%;
}

p {
    color: black;
    font-size: 1em;
    margin: 0 0 10px 0;
}

/* ========== Hauptelemente ========== */

html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: inherit;
    box-sizing: border-box;
    height: 100%;
}

body {
    font-family: 'Athiti', sans-serif;
        background-color: #AF8B7F;

}

header {
    width: 100%;
    padding-top: 10px;
    display: block;
    position: relative;
    z-index: 10;
}

/* =============== NAV ================ */

nav {
    top: 0;
    display: inline-block;
    z-index: 10;
    background-color: #AF8B7F;
    position: sticky;
    width: 100%;
}

ul#nav {
    display: none;
}

li.nav {
    text-transform: uppercase;
    letter-spacing: 1px;
    list-style-type: none;
    font-size: 1.5em;
    display: block;
    padding-left: 10px;
    background-color: white;
}

ul.uebermich {
    list-style-type: square;
    margin-block-start: 0;
    margin-block-end: 1em;
    padding-inline-start: 20px;
}

/* ==== Hamburger */

div.row {
    width: 60px;
    height: 50px;
}

.hamburg {
    display: block;
    position: relative;
    /*margin-left: auto; margin-right: auto;*/
    border-radius: 4px;
    transition: border-radius .5s;
}

.line {
    position: absolute;
    right:10px;
    height: 4px; width: 40px;
    background: white; border-radius: 2px;
    display: block;
    transition: 0.5s;
    transform-origin: center;
}

.line:nth-child(1) { top: 12px; }
.line:nth-child(2) { top: 24px; }
.line:nth-child(3) { top: 36px; }

.hamburg.checked .line:nth-child(1){
    transform: translateY(12px) rotate(-45deg);
}

.hamburg.checked .line:nth-child(2){
    opacity:0;
}

.hamburg.checked .line:nth-child(3){
    transform: translateY(-12px) rotate(45deg);
}

/* ==== ENDE Hamburger */

/* =============== ENDE NAV ================ */

main {
    width: 100%;
    margin: 0 auto;
}

svg {
    display: inline;
    position: relative;
    width: 50%;
    height: auto;
    padding: 50px 10px 0 10px;
}

.svg-box {
    justify-content: center;
    display: flex;
    padding: 10px 0 15px 0;
}

article {
    width: 100%;
    padding: 10px 0 25px 0;
}

article.news {
    width: 100%;
    padding: 10px;
    background-color: #AF8B7F;
    color: white;
    margin-bottom: 60px;
}

h2.news {
    color: white;
    margin-top: 0;
}

img.news {
    width: 100%;
}

article.center {
    text-align: center;
}

.arbeiten {
    width: 100%;
    box-shadow: 1px 1px 10px #AF8B7F;
    margin: 0 auto;
    display: flex;
}

img.arbeiten {
    margin: 10px 0 10px 0;
}

img.arbeiten#pdfx {
    width: 100px;
}

/* ==========  Sticky Footer  ========== */

.footertext {
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
}

.page-header,
.page-footer {
  background-color: rgb(75 70 74);
  color: #fff;
  padding: 20px;
}

a.blacklink {
    color: white;
}

footer.page-footer {
    background-color: #AF8B7F;
    width: 100%;
    text-align: center;
    display: flow-root;
}

/* ================ MEDIA QUERY ============ */
@media (min-width: 700px) and (orientation: landscape) {
    /* ========== Hirsch Logo animation ========== */
    #hirsch:hover {
        transform: scale(1.1);
        transition: all .5s ease-in-out;
    }

    #hirsch {
        margin: auto 40%;
    }

    svg#hirsch {
        width: 20%;
    }

    /* ========== Links ========== */

    a {
        outline: none;
        text-decoration: none;
    }

    a:link {
        color: #AF8B7F;
    }

    a:visited {
        color: #AF8B7F;
    }


    /* ========== Hauptelemente ========== */

    header {
        width: 100%;
        padding-top: 10px;
        display: block;
        position: relative;
        z-index: 10;
        background-color: #AF8B7F;
    }

    /* =============== NAV ================ */

    nav {
        background-color: #AF8B7F;
        width: 100%;
        position: sticky;
    }
    
 ul {
     margin-block-start: 0;

 }

    ul#nav {
        display: block;
        padding-inline-start: 0;
    }

    li.nav {
        text-transform: uppercase;
        letter-spacing: 1px;
        list-style-type: none;
        font-size: 1.5em;
        display: inline;
        float: left;
        margin: 0 auto;
        background-color: #AF8B7F;
        width: 33%;
        text-align: center;
        padding: 15px 0 15px 0;
    }

    li.nav a {
        color: white;
    }

    ul.uebermich {
        list-style-type: square;
        margin-block-start: 0;
        margin-block-end: 1em;
        padding-inline-start: 20px;
    }

    /* ==== Hamburger */

    .hamburg .line {
       display: none;
    }

    div.row {
        display: none;
    }

    /* ==== ENDE Hamburger */

    /* =============== ENDE NAV ================ */

    main {
        width: 700px;
    }

    svg {
        display: inline;
        position: relative;
        width: 180px;
        height: auto;
        padding: 0 50px 0 50px;
    }

    .svg-box {
        justify-content: center;
        display: flex;
        padding: 10px 0 15px 0;
    }

    article {
        width: 100%;
        padding: 10px 0 25px 0;
    }

    article.center {
        text-align: center;
    }

    .arbeiten {
        width: 100%;
        box-shadow: 1px 1px 10px #AF8B7F;
        margin: 0 auto;
        display: flex;
    }

    img.arbeiten {
        margin: 10px 0 10px 0;
    }

    img.arbeiten#pdfx {
        width: 100px;
    }

    /* ==========  Sticky Footer  ========== */

    .footertext {
        text-transform: uppercase;
        letter-spacing: 1px;
        color: white;
    }

    a.blacklink {
        color: white;
        display: inline;
    }

    footer.page-footer {
        background-color: #AF8B7F;
        width: 100%;
        text-align: center;
        display: flow-root;
        position: absolute;
    }
}
