/*
Name: style.css
Description: CSS-Datei für das Webdesign Tutorial.
Version: 1.0
*/

/* ################# STANDARTEINSTELLUNGEN ################# */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #e3e3e3;
}
h1, p {
    margin: 0;
}



/* ################# HEADER ################# */

/* Header ----------- */
header {
    width: 100%;
    background-color: #444444;
}
header .flex-box-sm {
    height: 90px;
    align-items: center;
}

/* Logo ----------- */
header .logo img {
    height: 70px;
}

/* Menu-Button ----------- */
header .menu .menu-button {
    display: none;
}

/* Menu ----------- */
header .menu {
    text-align: right;
    font-size: 16px;
}
header .menu ul li {
    list-style: none;
    display: inline;
    margin: 0 0 0 25px;
}
header .menu ul li:first-child {
    margin: 0;
}
header .menu ul li a {
    color: #fff;
    text-decoration: none;
    transition: all 500ms;
    border-bottom: solid 1px rgba(255, 255, 255, 0);
    position: relative;
    top: 0;
}
header .menu ul li a:hover {
    border-bottom: solid 1px rgba(255, 255, 255, 0.15);
    top: 3px;
}



/* ################# BANNER & INHALT ################# */

/* Banner ----------- */
.banner {
    width: 100%;
    height: 500px;
    background-image: url(../images/foto3.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}
.banner .overlay {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(227, 227, 227, 0.01) 20%, rgba(227, 227, 227, 2.9) 100%);
}
.banner h1 {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Satisfy', cursive;
    font-size: 40px;
    padding-top: 120px;
    text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.8);
}
.banner h2 {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Satisfy', cursive;
    font-size: 30px;
    padding-top:1px;
    text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.8);
}

/* Inhalt ----------- */
.inhalt .flex-box-sm {
    background-color: white;
    opacity:0.7;
    margin: -210px 15px 50px 15px;
    padding: 30px 15px 30px 15px;
    width: auto;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.85);
}

.inhalt img {
      border-color: #444444;
      max-width:100%;
      height: auto;
      }

.inhalt p {
    text-align: justify;
    color: #444444;
    line-height: 1.5;
}



/* ################# FOOTER ################# */
footer {
    width: 100%;
    background-color: #444444;
    color: #fff;
}
footer .flex-box-sm {
    height: 45px;
    align-items: center;
}
footer .rechtliches {
    text-align: right;
}
footer .rechtliches ul li {
    list-style: none;
    display: inline;
}
footer .rechtliches ul li:last-child {
    margin-left: 10px;
}
footer .rechtliches ul li a {
    color: #fff;
    text-decoration: none;
}
footer .rechtliches ul li a:hover {
    text-decoration: underline;
}



/* ################### MOBILE ANPASSUNG ################################## */
@media screen and (max-width: 768px) {
    /* ####### HEADER ####### */
    /* Header ----------- */
    header {
        background-color: transparent;
        position: absolute;
        top: 0;
        left: 0;
    }
    header .flex-box-sm {
        height: auto;
    }
    /* Logo ----------- */
    header .logo {
        background-color: #444444;
        height: 60px;
        z-index: 10;
    }
    header .logo img {
        height: 30px;
        margin: 15px 0px 0px 15px;
    }
    /* Menu-Button ----------- */
    header .menu .menu-button {
        display: block;
        position: absolute;
        top: 20px;
        right: 15px;
        height: 20px;
        cursor: pointer;
        z-index: 20;
    }
    /* Menu ----------- */
    header .menu {
        text-align: center;
    }
    header .menu nav {
        background-color: rgba(102, 102, 102, 0.98);
        padding: 10px 0;
        display: none;
        position: relative;
    }
    header .menu nav.open-menu {
        display: block;
        animation: open-menu 250ms ease-out 0s normal forwards;
    }
    header .menu nav.close-menu {
        display: block;
        animation: close-menu 250ms ease-out 0s normal forwards;
    }
    header .menu ul li, header .menu ul li:first-child {
        list-style: none;
        display: block;
        margin: 0;
        padding: 7px 0;
    }
    /* ####### BANNER & INHALT ####### */
    /* Banner ----------- */
    .banner {
        margin-top: 60px;
    }
    .banner .overlay {
        background-image: linear-gradient(rgba(68, 68, 68, 0.25) 20%, rgba(227, 227, 227, 1) 100%);
    }
    .banner h1 {
        font-size: 40px;
        padding-top: 20px;
    }

    .banner h2 {
        font-size: 15px;
        padding-top: 20px;
    }

    /* Inhalt ----------- */
    .inhalt .flex-box-sm {
        margin: -340px 10px 10px 10px;
        padding: 20px;
    }
    /* ####### FOOTER ####### */
    footer .flex-box-sm {
        height: auto;
        padding: 10px 0;
        flex-direction: column-reverse;
    }
    footer .copyright, footer .rechtliches {
        text-align: center;
        margin-bottom: 5px;
    }
}
