
body {
    /* background-color: #D8D8D8; */
    /*background-image: url('https://upload.wikimedia.org/wikipedia/commons/6/65/Krakow_Blonia_(Meadow)_view_to_W,Krakow,Poland.jpg'); */
    font-size: 1.3em;
    margin:0;

    font-family: 'Open Sans', sans-serif;
    background: radial-gradient(#fff, #ccc);

}

h1 {
    font-weight: 100;
}

h2 {
    font-size: 3em;
    font-weight: 100;
}

p {
    text-align: left;
    font-weight: 100;
}

a {
    color: darkgreen;
    text-decoration: none;
}

header {
    display: flex;
    flex-direction: row;

    position: fixed;
    height: 6em;
    left: 0;
    right: 0;
    top: 0;

    background: #fff;
    box-shadow: 0 0 10px #000;

    align-items: center;
}

header div#logo {
    flex: 1;
    text-align: left;
}

header div#logo h1 {
    display: none;
}

header div#logo img {
    box-sizing: border-box;
    height: 4em;
    margin: 1em;
}

nav {
    background-color: rgba(195, 195, 195, 0);
    margin:0px;
    padding: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
}

nav a {
    color: black;
    text-decoration: none;
    /*font-weight: bold;*/
    font-weight: 300;
}

nav li:hover a {
    color: lightgreen;
    -webkit-transition: color 0.3s linear;
    -moz-transition: color 0.3s linear;
    -ms-transition: color 0.3s linear;
    -o-transition: color 0.3s linear;
    transition: color 0.3s linear;
}



nav ul {
    margin:0px;
    text-align: center;
    padding: 0px;
}


nav ul li {
    display:inline-block;
    float:top;
    padding-left: 28px;
    padding-right: 28px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size:25px;
    clear:both;
    background: rgba(100, 100, 100, 0);
    min-width: 50px;
    margin: 5px;
}

nav ul li:hover {
    /*background-color: rgba(255,255,255,0.8); /* rgba(143,204,119,1); */ */
    -webkit-transition: background-color 0.3s linear;
    -moz-transition: background-color 0.3s linear;
    -ms-transition: background-color 0.3s linear;
    -o-transition: background-color 0.3s linear;
    transition: background-color 0.3s linear;

}

#menu-btn {
    position: absolute;
    top: -100%;
    left: -100%;
}

.page-width {
    max-width: 160ex;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

#main-container {
    margin-top: 6em;
    padding: 0px;
    display: flex;
    flex-direction: column;
}


#text-container {
    background-color: rgba(255, 255, 255, 1);

    flex: 2;

    padding: 2em;

    border-radius: 5px;
    box-shadow: 0 0 5px #999;
    overflow: hidden;
}


section#motif {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;

    padding: 1em;
    width: 100%;
    min-height: 20vw;
    max-height: 100%;
}

section#motif p {
    display: block;
    text-align: left;
    font-size: 2.3em;
    font-weight: 100;
    color: #fff;
    text-shadow: 1px 1px 2px #000;
    font-style: italic;
    line-height: 2em;
}

#background-effect {
    /*background:url('https://upload.wikimedia.org/wikipedia/commons/5/5e/Blumenwiese_bei_Obermaiselstein05.jpg');*/
  /*  background: url(http://i.imgur.com/soSeGTo.jpg) no-repeat center center fixed;*/
    /*  background: url(https://upload.wikimedia.org/wikipedia/commons/7/78/Monet_-_Meadow_at_Giverny%2C_1886.jpg) no-repeat center center fixed; */
    /*background: url(https://c4.wallpaperflare.com/wallpaper/591/857/76/elephant-in-close-up-photography-elephant-wallpaper-preview.jpg) no-repeat center center fixed;*/
    background: url(../img/14.jpg);
    filter: blur(1px);
    -webkit-filter: blur(1px);


    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

    position: fixed;
    top: 6em;
    bottom: 35vh;
    left: 0;
    right: 0;

    z-index:-1;

    box-shadow: 0 0 5px #999;
}

footer {
    margin-top: 0;
    display: block;
    min-height: 15vh;
    width: 100%;

    border-top: 1px solid #fff;
    background: radial-gradient(ellipse at top, #666, #333), radial-gradient(ellipse at bottom, #000, #333);
    color: #fff;
}

#footer-layout {
    display: grid;
    grid-template-areas:
        "address billing"
        "copy copy";
}

#footer-layout section{
    padding: 1em;
}

#footer-layout section:nth-child(2){
    text-align: right;
}




@media screen and (max-width: 1024px) {
    header {
        display: grid;
        grid-template-areas:
            "title   title   hamburger"
            "nav     nav     nav";
    }

    h1 {
        grid-area: title;
        padding-left: .5em;
    }

    nav {
        grid-area: nav;
        max-width: unset;
        max-height: 0;
        transition: all .2s linear;
        overflow: hidden;
        margin: -10px 0 0 0;
        padding: 0;
        background-color: #fff;
        display: flex;
        flex-direction: column;
        flex: 0;

        position: absolute;
        top: 0;
        right: 0;
        left: 0;

        border-bottom: 0px solid #000;
        padding-bottom: 0
    }

    nav a {
        padding: .5em .5em;
        width: 100%;
        text-align: left;
        display: block;
        height: 1em;
        align-items: center;
    }

    nav ul li {
        display: block;
        margin: 0 1em;
    }

    .menu-btn {
        display: none;
    }

    .menu-icon {
        grid-area: hamburger;
        cursor: pointer;
        display: flex;
        justify-content: flex-end;
        align-items: baseline;
        padding: .3em 2em .3em 0;
        position: relative;
        user-select: none;
        visibility: visible;
        height: 3em;

        flex: 1;
        text-align: right;
        align-items: center;
    }

    .menu-icon-inner {
        background: #111;
        display: block;
        height: .2em;
        width: 2.5em;
        position: relative;
    }

    .menu-icon-inner:before {
        top: 12px;
    }

    .menu-icon-inner:after {
        top: -12px;
    }

    .menu-icon-inner:before, .menu-icon-inner:after {
        background: #111;
        display: block;
        width: 100%;
        height: 100%;
        content: '';
        position: absolute;
        transition: all .2s ease-out;
    }


    .menu-btn:checked ~ nav {
        max-height: 100vh;
        overflow-y: auto;
        border-bottom-width: 1px;
        padding-bottom: 1em;
    }

    .menu-btn:checked ~ .menu-icon .menu-icon-inner {
        background: transparent;
    }

    .menu-btn:checked ~ .menu-icon .menu-icon-inner:before {
        transform: rotate(-45deg);
    }

    .menu-btn:checked ~ .menu-icon .menu-icon-inner:after {
        transform: rotate(45deg);
    }

    .menu-btn:checked ~ .menu-icon .menu-icon-inner:before,
    .menu-btn:checked ~ .menu-icon .menu-icon-inner:after {
        top: 0;
    }

    #text-container {
        border-radius: 0;
    }

    footer {
        margin-top: 0;
    }

    #background-effect {
        bottom: 0;
    }

    .page-width {
        width: 100%;
    }

    #footer-layout {
        display: flex;
        flex-direction: column;
    }

    #footer-layout section:nth-child(2){
        text-align: left;
    }

    @media
    only screen and (-webkit-min-device-pixel-ratio : 1.5),
    only screen and (min-device-pixel-ratio : 1.5) {
        body {
            font-size: 140%;
        }
        .menu a {
            font-size: 140%;
        }
        .page-width {
            width: 100%;
        }
    }

    @media
    only screen and (-webkit-min-device-pixel-ratio : 2),
    only screen and (min-device-pixel-ratio : 2) {
        body {
            font-size: 180%;
        }
        .menu a {
            font-size: 180%;
        }

    }

}
