/*
Name: style.css
Description: CSS-Datei für Ulli' s Webseite
Version: 1.0
*/

/* ################# STANDARDEINSTELLUNGEN ################# */

/* Schriftart von roboto auf calibri geändert */
/* Hintergrundfarbe von e3e3e3 auf Background image */

body {
    font-family: calibri, sans-serif;
    background-color: #e3e3e3;
}
h1, p {
    margin: 0;
}

/* ################# HEADER ################# */
/* Hintergrundfarbe von 717716b auf Background image bzw 2b2b2b*/

/* Header ----------- */
header {
    width: 100%;
    background-image: url(../grafik/back.png);
    }

header .flex-box-sm {
    height: 60px;
    align-items: center;
}

/* Logo ----------- */
header .logo img {
    height: 130px;
    padding-top: 100px
}

/* Menü - Button ----------- */
header .menu .menu-button {
    display: none;
}

/* Menü ------------*/

header .menu {
    font-size: 18px;
    text-align: right;
}

header .menu ul li{
    list-style: none;
    display: inline;
    margin: 0 0 0 35px;
}
header .menu ul li:first-child {
    margin: 0;
}
header .menu ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: all 300ms;
    position: relative;
    top: 0;
}
header .menu ul li a:hover {
    top: 1px;
    color:#00ff62;
}

/* ################# BANNER UND INHALT ################# */

/* Banner ----------- */
.banner {
    width: 100%;
    height: 483px;
    background-image: url(../grafik/paragraph.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left;  
}

.banner .overlay {
    height: 100%;
    width: 100%;
    background-image: linear-gradient(rgba(227, 227, 227, 0.01) 50%, rgba(227, 227, 227, 0.97) 100%);
   }

/* Inhalt ----------- */
.inhalt .flex-box-sm {
    background-color: #ffffff;
    margin: -280px 15px 15px 15px;
    padding: 15px 15px 30px 15px;
    width: auto;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.26);
}

.sm-box-12 h1{
    font-size: 2.5em;
    padding-top: 1.1em; 
}

.sm-box-12 h2 {
    font-size: 1.3em;
}

.sm-box-12 ul {
    list-style: none;
}

.sm-box-12 {
    line-height: 1.4em;
    margin: 30px 20px;
}



/* ################# FOOTER ################# */

footer {
    width: 100%;
    background-color: #888080;
    color:#fff;
    
} 
footer .flex-box-sm {
    height: 50px;
    align-items: center;
}
footer .rechtliches {
    text-align: right;
}
footer .rechtliches ul li {
    list-style: none;
    display: inline;
    margin: 0 0 0 20px;
}
footer .rechtliches ul li:first-child {
    margin: 0;
}
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 {
        position: absolute; 
        top: 0;
        left: 0;
    }
    header .flex-box-sm {
        height: 60px;
    }
    
/* Logo ----------- */
    header .logo {
        height: 60px;        
    }
    
    header .logo img {
        height: 130px;
        margin: 0px 0px 0px 15px;
        padding-top: 13px;
    }
    
/* Menü - Button ----------- */
    header .menu .menu-button {
        display:block;
        position: absolute;
        height: 24px;
        top: 18px;
        right: 18px;
        cursor: pointer;
    }

/* Menü ------------*/

    header .menu {
        font-size: 18px;
        text-align: center;
    }

    header .menu nav {
        background-color: rgba(204, 200, 200, 0.33);
        /*background-image: url(../grafik/back.png);*/
        padding: 2px 0px;
        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 0 0 0px;
        padding: 2px 0px;
    }
    
/* Überschrift ----------*/
    
    
/* Inhalt ----------------*/
    
 .inhalt .flex-box-sm {
    background-color: #ffffff;
    margin: -220px 5px 5px 5px;
    padding: 10px;
    
} 
 
.sm-box-12 h1 {
    font-size: 2.0em;
}
    
.sm-box-12 {
    margin: 5px;
    }

/* Footer ----------------*/
    
    footer .flex-box-sm {
        height: auto;
        padding: 10px;
        flex-direction: column-reverse;
    } 
    
    footer .copyright, footer .rechtliches {
        text-align: center;
        margin-bottom: 5px;
    }



}