/*
Name: super-style.css
Description: CSS-Datei für Ulli' s Webseite (Superbike WM)
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: 500px;
    background-image: url(../images/sbk.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) 40%, rgba(227, 227, 227, 0.97) 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: 18px;
    font-family: sans-serif;
    padding-top: .1em;
    text-shadow: 5px 5px 10px #000000;
}

/* Inhalt ----------- */

.inhalt .flex-box-sm {
    background-color: #ffffff;
    margin: -150px 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;
}

/*  Tabelle ------------- */

table {
    width: 60%;
    margin: 5.0em auto auto;
    border: solid;
    border-color: #888080;
    border-collapse: collapse;
    }   

table img {
    display: block;
    margin: .2em auto .2em auto;
}

table th {
        background-color: #888080;
        font-size: 1.4em;
        color:chartreuse;
                
}

caption {
        background-color: red;
        font-size: 1.8em;
        color: #fff;
        font-weight: bold;
        padding: .4em;
        border: solid;
        border-color: #888080;
    
 }

tr {
        background-color: #e3e3e3;
        text-align: center;
}

tr span {
        color: red;
        font-weight: bold;
}

tr:nth-child(odd) {
        background-color: #888080;
        color:#fff;
}

/* Bilder----------------- */


.pic_01 {
    position: relative;
    height: 137px;
    filter: drop-shadow(5px 5px 5px gray);
    float: left;
    margin: .8em 1.2em 0 0;

}

.pic_02 {
    position: relative;
    height: 152px;
    filter: drop-shadow(5px 5px 5px gray);
    float: right;
    margin: .5em .2em .8em .8em;
}

.pic_03 {
    position: relative;
    height: 254px;
    filter: drop-shadow(5px 5px 5px gray);
    float: left;
    margin: .8em 1.2em 0 0;
}

.pic_04 {
    position: relative;
    height: 200px;
    filter: drop-shadow(5px 5px 5px gray);
    float: right;
    margin: .5em .2em .9em .8em;
}


.pic_01 img, .pic_02 img {
    display: block;
} 

.pic_03 img, .pic_04 img {
    display: block;
}

.pic_01 span, .pic_02 span {  /*irgendwie kann man nur 2 Objekte notieren ??? */
    background-color: rgba(191, 191, 191, 0.33);
    color: #fff;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
}
.pic_03 span, .pic_04 span{
    background-color: rgba(191, 191, 191, 0.33);
    color: #fff;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    
}

figure, figcaption {
  padding: 0;
  margin: 0;
    
}

#row {
	display: grid;
	/*grid-template-columns: repeat(auto-fill, minmax(20em, 1fr));*/
    grid-template-columns: 25% 25%;
    justify-content: center;
    gap: 5em;
	text-align: center;
    }

#row figure {
	position: relative;
	color: black;
	background: white;
    margin: 2.0em 0 2.0em;
        
}
    
figure img {
	width: 100%;
    display: block;
    filter: drop-shadow(5px 5px 5px gray);
}

#row figure figcaption {
	position: absolute;
	bottom: 0;
	width: 100%;
	line-height: 1.4em;
	color: white;
	background: rgba(0, 0, 0, 0.3);
}

#row > figcaption {
	grid-column: 1 / -1;
}

h4 {
    color:#fff;
    font-size: 1.4em;
    text-shadow: 3px 2px 5px #000000;
    border-style: solid;
    border-width: 0.1em;
    border-color: #000000;
    border-radius: 0 0.5em 0.5em;
    padding: 0.2em;
    background-color: #888080;
    /*display: table;*/
}


aside h3 {
    font-size: 1.4em;
    color: #71716b;
    padding-top: 1.8em;
}

aside ul {
    list-style: none;
    font-size: 1.1em;
    line-height: 1.4em;
    border: solid;
    background-color: chartreuse;
    display: table;
    padding: 0.5em;
}

aside a {
   text-decoration: none;
    color: #ffffff;
}

aside a:hover {
   text-decoration: underline;
}

/* ############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: -50px 5px 5px 5px;
    padding: 10px;
    } 
    
.pic_02 span {
        font-size: .7em;
    }
    
#row figure figcaption {
        font-size: .8em;
    } 
    
    aside h3 {
        text-align: center;
    }
    
    h4 {
        text-align: center;
    }

/* Footer ----------------*/
    
    footer .flex-box-sm {
        height: auto;
        padding: 10px;
        flex-direction: column-reverse;
    } 
    
    footer .copyright, footer .rechtliches {
        text-align: center;
        margin-bottom: 5px;
    }



}