/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    line-height: 1.3;
    color: #4a4a4a;
    background-color: #ACB20D;

    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 30px 0;
}
.main aside {
    padding: 0px 5% 10px;
}

.footer-container footer {
    padding: 20px 0;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
h1 {
    font-size: 2.222em;
    font-weight: 400;
    line-height: 1.25;
    margin: 0;
}
h2 {
    font-size: 1.222em;
    color: #fff;
    font-weight: 400;
    margin: 0;
}
.hervorhebung {
    font-weight: 700;
    font-style: italic;
}

.center {
    text-align: center;
}

footer p {
    color: #262626;
}

a {
    text-decoration: underline;
    color: #262626;
}

.header-container {
    background-color: #F7EEC8;
}

.logo-img {
    width: 50%;
    max-width: 200px;
    height: auto;
    padding: 20px 0;
}

.main-container {
    overflow: hidden;
    position: relative;
}
.flex-box {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: flex-end;
}

.column {
    padding: 0 20px;
    width: 50%;
}
.column-text-wraper {
    align-self: flex-start;
}


.text-wraper {
    padding-top: 20px;
}

img.single-img {
    margin-left: -100px;
    max-width: calc(100% + 140px);
    height: auto;
}
.single-img-wrapper {
    padding-right: 14px;
}

.shape {
    background: #F7EEC8;
    position: absolute;
    z-index: -1;
    height: 575px;
    width: 5000px;
    top:0;
    left: 50%;
    transform: rotate(7deg) translateX(-50%);
}











/* ==========================================================================
   Media Queries
   ========================================================================== */
@media only screen and (max-width: 1050px) {
    .shape {
        height: 558px;
    }
}
@media only screen and (max-width: 650px) {
    .text-wraper {
        text-align: center;
        color: #fff;
    }
    .flex-box {
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .column {
        padding: 0 20px;
        width: 100%;
    }
    .shape {
        height: 69%;
    }

}


@media only screen and (max-width: 634px) {
    .shape {
        height: 69%;
    }
}

@media only screen and (max-width: 551px) {
    .shape {
        height: 66%;
    }
}

@media only screen and (max-width: 519px) {
    .shape {
        height: 63%;
    }
}

@media only screen and (max-width: 450px) {
    .shape {
        height: 500px;
    }
}





@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}