/*
Name: ueber-style.css
Description: CSS-Datei für Ulli' s Webseite (Über mich)
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/winter.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.97) 100%);
   }

/* 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);
}

/* Persönliches ----------*/

.oben img {
    filter: drop-shadow(5px 5px 5px gray);
    float:left;
    margin: 0 .2em 0.5em 1.8em;
    height: 514px;
}

h1 {
    text-align: center;
    font-family: britannic;
    font-style: italic;
    font-size: 2.5em;
    color: #d5d5d5;
    text-decoration: underline;
    margin-top: 0.8em;
    text-shadow: 1px 1px 3px #000000;
}

table {
    display: flex;
    justify-content: center;
    padding: 0 3em;
    line-height: 1.8em;
    margin-top: 4em;
    
}

tr {
    font-size: 1.2em;
    }

tr:nth-child(even) {
        background-color: #d5d5d5;
        color:#fff;
}

td, th {
    padding: .3em 1.5em;
    border-bottom: solid;
    border-top: solid;
    border-collapse: collapse;
    border-bottom-color: #ffc02d;
    border-top-color: #ffc02d;
 }

th {
    text-align: end;
}




td .bild_01 {
    height: 120px;
    width: auto;
    margin: .3em;
    
  }

td .bild_02 {
    height: 120px;
    width: auto;
    margin: .3em;
    padding-left: 2em;
}

table td svg {
    height: 28px;
    margin: 0 0 -0.32em 0;
}

#pfeil1, #pfeil2, #pfeil3, #pfeil4, #pfeil5 {
    fill: #7fff00;
}
#ecke1, #ecke2, #ecke3, #ecke4, #ecke5 {
    fill: #000000;
}

#pfeil1:hover, 
    focus {
    fill: #ffc02d;
}
#ecke1:hover, 
    focus {       
    fill: #ffc02d;
}

#pfeil2:hover, 
    focus {
    fill: #ffc02d;
}
#ecke2:hover, 
    focus {       
    fill: #ffc02d;
}

#pfeil3:hover, 
    focus {
    fill: #ffc02d;
}
#ecke3:hover, 
    focus {       
    fill: #ffc02d;
}

#pfeil4:hover, 
    focus {
    fill: #ffc02d;
}
#ecke4:hover, 
    focus {       
    fill: #ffc02d;
}

#pfeil5:hover, 
    focus {
    fill: #ffc02d;
}
#ecke5:hover, 
    focus {       
    fill: #ffc02d;
}

/*
#pfeil,
#ecke,:visited {
    fill:#ffc02d;
}
*/

/* Gallery ---------------*/

h2 {
    text-align: center;
    font-family: britannic;
    font-style: italic;
    font-size: 2.0em;
    color: #d5d5d5;
    text-decoration: underline;
    margin: 2.8em 0 1.5em 0;
    text-shadow: 1px 1px 3px #000000;
}

.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 5em;
    grid-row-gap: 2em;
}

.gallery figure {
    background: #fff;
	display: inline-block;
	height: 15em;
    width: 20em;
    margin: 0;
    overflow: hidden;
    filter: drop-shadow(10px 10px 10px gray);
    transition: all 0.25s ease-in;
    border:  rgb(255, 192, 45) 0.1em solid;
}

.gallery figure:nth-child(odd) {
    justify-self: end;
}

.gallery figure img {
	width: 20em;
	height: 15em;                                          

}

.gallery figure:hover,
.gallery figure:focus {
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
    border: none;
    outline: none;
	margin: -1em 0 0 20px;
	padding: 5px 5px 30px 5px;
	width: 20em;
	z-index: 2;
	transform: scale(2);
}

.gallery figcaption {
	color: #333;
	font-family: "Indie Flower";
    position: relative;
	text-align: center;
	width: 20em;
}

.gallery figure:nth-child(3n-2):hover,
.gallery figure:nth-child(3n-2):focus {
	transform: scale(2) rotate(-2.5deg);
}

.gallery figure:nth-child(5n):hover,
.gallery figure:nth-child(5n):focus {
	transform: scale(2) rotate(2.5deg);
}

.gallery::after {
	clear: both;
	content: " ";
	display: block;
}

/* ################# 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:1150px) {
    td .bild_01 {
    height: 80px;
    width: auto;
    }

td .bild_02 {
    height: 80px;
    width: auto;
    padding-left: 0;
    }
}

@media screen and (max-width:1010px) {
    .oben img {
       margin: 8em .2em 0.5em 1.8em; 
    }
}

@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;
    }
    
/* Persönliches ------------*/
   
    .oben img {
        float: none;
        display: block;
        margin: 1.9em auto;
   }
    
/* Gallery ---------------*/
    
    .gallery {
        display: block;
    }

    .gallery figure {
        display: block;
        margin: 2.8em auto;
        overflow: hidden;
        filter: drop-shadow(10px 10px 10px gray);
        transition: all 0.25s ease-in;
        border:  rgb(255, 192, 45) 0.1em solid;
}
    
    .gallery figure:hover,
    .gallery figure:focus {
	       transform: scale(1);
}

    .gallery figure:nth-child(n):hover,
    .gallery figure:nth-child(n):focus {
	       transform: scale(1) rotate(0.0deg);
}

    .gallery::after {
	   clear: both;
	   content: " ";
	   display: block;
}

    td .bild_02 {
        margin: .3em auto 1.0em 0;
        padding-left: 0;
        
    }
    
    

/* Footer ----------------*/
    
    footer .flex-box-sm {
        height: auto;
        padding: 10px;
        flex-direction: column-reverse;
    } 
    
    footer .copyright, footer .rechtliches {
        text-align: center;
        margin-bottom: 5px;
    }



}