/*
Name: technik-style.css
Description: CSS-Datei für Ulli' s Webseite (Technik)
Version: 1.0
*/

/* ################# STANDARDEINSTELLUNGEN ################# */

body {
    font-family: calibri, sans-serif;
    background-color: #e3e3e3;
}
h1, p {
    margin: 0;
}

/* ################# HEADER ################# */

/* 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: 600px;
    background-image: url(../images/deuba.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) 70%, rgba(227, 227, 227, 0.99) 100%);
   }

.banner h1 {
    text-align: center;
    color: #ffffff;
    font-size: 3.2em;
    font-family: britannic;
    font-style: italic;
    font-weight: bold;
    text-shadow: 5px 5px 10px #000000;
    padding-top: 180px;
}

.banner h2 {
    text-align: center;
    color: #ffffff;
    font-size: 1.2em;
    font-family: sans-serif;
    padding-top: .1em;
    text-shadow: 5px 5px 10px #000000;
}

/* Inhalt ----------- */
.inhalt .flex-box-sm {
    background-color: #ffffff;
    margin: -250px 15px 15px 15px;
    padding: 15px 15px 30px 15px;
    width: auto;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.26);
}

.inhalt p {
    text-align: justify;
    padding-top: 0.5em;
    color: #71716b;
    line-height: 1.2;
}

.bild_01 {
    width: 300px;
    height: auto;
    filter: drop-shadow(5px 5px 5px gray);
    float: left;
    margin: 8px 15px 5px 0;
}

.bild_02 {
    width: 500px;
    height: auto;
    filter: drop-shadow(5px 5px 5px gray);
    float: right;
    margin: 8px 5px 0 15px;
}

aside h3 {
    font-size: 1.4em;
    color: #71716b;
    padding-top: 2.5em;
}

aside ul {
    list-style: none;
    font-size: 1.1em;
    line-height: 1.4em;
    border: solid;
    background-color: chartreuse;
    width: 300px;
    padding: 0.5em;
}

aside a {
   text-decoration: none;
    color: #ffffff;
}

aside a:hover {
   text-decoration: underline;
}

/* ################# TABELLE ################ */

table {
  border-collapse: separate;
  border-spacing: .2em;
    margin: auto;
    margin-top: 6em;
  box-shadow: 0 0 .2em #666;
  position: relative;
  z-index: 1;
    width: 65%;

}
  
caption {
    color: white;
    background: hsl(13, 96%, 39%);
    font-size: 1.3em;
    font-weight: bolder;
    box-shadow: .1em .1em .1em .1em hsl(1, 1, 50%);
    padding: .2em .2em .2em 2em;
    width: 10em;
    margin-left: -.6em;
    position: relative;
}

caption::before {
  content: "";
  position: absolute;
  display: block;
  height: 0;
  width: 0;
  top: 1em;
  left: -0.6em;
  border-style: solid;
  border-width: .6em;
  border-color: transparent hsl(13, 96%, 35%) transparent transparent;
  z-index: -1;
}

    table, th {
        background-color: #888080; 
        color: #fff;
        font-size: 1.0em;
}

    table, tr {
        background-color: #fffbf0;
        color: #000;
        text-align: center;
}

 tr:nth-child(odd) {
        background-color: #e4ebf2;
}

.zelle01 {
        width: 200px;
        height: auto;
}

.zelle02 {
        width: 200px;
        height: auto;
}

/* ################# 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: 0 0 0 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 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 0 0 0;
        padding: 2px 0;
    }
    
/* Überschrift ----------*/
    
    .banner h1 {
    padding-top: 280px;
    font-size: 36px;    
    }

/* Inhalt ----------------*/
    
 .inhalt .flex-box-sm {
    background-color: #ffffff;
    margin: -150px 5px 5px 5px;
    padding: 10px;
    } 
    
    .bild_01 {
    width: 12em;
    margin: 8px 10px 5px 0;
}
    
    .bild_02 {
    width: 200px;
}
    
    .zelle01 {
        width: 80px;
        height: auto;
}

    .zelle02 {
        width: 80px;
        height: auto;
}
        
    table, th {
       font-size: 0.9em;
    }
    
  /*  caption {
        margin: 0;
        width: auto;
        
    }
    
    caption::before {
        left: 0;
        border-width: 0;
    } */
    
    aside h3 {
        text-align: center;
    }
    
    aside ul {
        margin: 0 auto;
    }
    
/* Footer ----------------*/
    
    footer .flex-box-sm {
        height: auto;
        padding: 10px;
        flex-direction: column-reverse;
    } 
    
    footer .copyright, footer .rechtliches {
        text-align: center;
        margin-bottom: 5px;
    }



}