/* Generell */
@font-face {
  font-family: 'Aller';
    src: url('../fnz/aller_r.woff2')  format('woff2'),
         url('../fnz/aller_r.woff')  format('woff');
    font-style: normal;
    font-weight: normal;
}
@font-face {
  font-family: 'Aller';
    src: url('../fnz/aller_i.woff2')  format('woff2'),
          url('../fnz/aller_i.woff')  format('woff');
    font-style: normal;
    font-style: italic;
}
@font-face {
  font-family: 'Aller';
    src: url('../fnz/aller_b.woff2')  format('woff2'),
         url('../fnz/aller_b.woff')  format('woff');
    font-style: normal;
    font-weight: bold;
}
@font-face {
  font-family: 'Aller';
    src: url('../fnz/aller_bi.woff2')  format('woff2'),
         url('../fnz/aller_bi.woff')  format('woff');
    font-style: italic;
    font-weight: bold;
}
* {
  font-family: Aller, Basic, 'Gill Sans', GillSans, Calibri, 'Fira Sans', 'Segoe UI', Roboto, San Francisco, 'Liberation Sans', sans-serif;
  line-height: 1.625em;
}
html {
  padding: 0;
}
body {
  margin: 0 auto;
  padding: 1em 1em 0em 1em;
  max-width: 60em;
  background-color: MidnightBlue;
  background-image: 
    url("../img/bg1_1366.jpg"),
    url("../img/bunter-weg_1366.jpg"),
    linear-gradient(black, #666, #333);
  background-repeat: no-repeat;
  background-position: top center, bottom center;
//  background-size: contain;
  background-attachment: local;
  background-origin: border-box;
  background-clip: border-box;
  color: gold;
}
@media (min-device-width: 1920px) {
  body {
    background-image:
      url("../img/bg1_1920.jpg"),
      url("../img/bunter-weg_1920.jpg"),
      linear-gradient(black, #666, #333);    
  }
}
@media (min-device-width: 2560px) {
  body {
    background-image:
      url("../img/bg1_3328.jpg"),
      url("../img/bunter-weg_2560.jpg"),
      linear-gradient(black, #666, #333);    
  }
}
h1 {
  font-size: 2.1em;
  font-weight: bold;
  font-stretch: semi-expanded;
}
h2 {
  box-shadow: .1em .1em 5px .1em #0006;
  border-radius: .2em;
  padding-left: .5em;
  padding-right: .5em;
  margin-left: -.5em;
  margin-right: .5em;
}
h3 {
  padding: 0 1em;
  position: relative;
}
h3::before {
  content: '';
  width: 0;
  height: 0;
  font-size: 0;
  border: 8px solid transparent;
  border-left-color: currentColor;
  position: absolute;
  top: 7px;
  left: 0;
}
a {
  color: #f00;
}
article section img {
  border-radius: .3em;
  margin-top: 1.1em;
  width: 93%;
  max-width: 500px;
  height: auto;
}

/* Header */
header {
  display: flex;
  flex-direction: column;
  align-content: stretch;
  align-items: center;
}
section.header {
  display: flex;
  flex-direction: column;
  align-content: stretch;
  align-items: center;
  padding: 1em 2em 1em 2em;
  background-color: #0007;
  border-radius: 1em;
}
#titelei {
  margin-bottom: 15em;
  text-shadow: 
    .1em .1em #333, 
    2px 2px #333, 
    3px 3px #333;
}    
.logo {
  color: forestgreen; // #3d447a;
  font-size: 2.1em;
  text-shadow:
     .1em  .1em .1em #3339,
     .1em -.1em .1em #3339,
    -.1em  .1em .1em #3339,
    -.1em -.1em .1em #3339; //85220f99
}
.claim {
  font-style: italic;
}
#intro {
  margin-bottom: 2em;
}

/* Nav */
nav {
  display: flex;
  flex-direction: column;
  align-content: stretch;
  align-items: center;
  margin-bottom: 5em;
}
li.nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 0em;	
  margin: 0em;
}
a.nav {
  display: inline-block;
  flex: 1;
  border: .25em solid #f009;
  border-right: .25em solid #f005;
  border-bottom: .25em solid #f005;
  border-radius: .5em;
  background: #333f; /*DarkSlateBlue;*/
  color: #f00;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  padding: .5em;	
  margin: .5em 0;		
}
a:active {
  color: red;
  text-shadow:
     .1em  .1em .2em #333,
     .1em -.1em .2em #333,
    -.1em  .1em .2em #333,
    -.1em -.1em .2em #333;
  background: #666;
}
a:visited {
  color: #f44;
}
@media (min-width: 51em) {
  nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 5em;
  }
  li.nav {
    display: inline;
    background: #f009;
    padding: 0em;	
    margin: 0em;
    list-style-type: none;
  }
  a.nav {
    display: inline-block;	
    border: .25em solid #f009;
    border-right: .25em solid #f005;
    border-bottom: .25em solid #f005;
    border-radius: .5em;
    background: #383838; /*DarkSlateBlue;*/
    color: #f00;
    font-weight: bold;
    text-decoration: none;
    padding: .5em;	
    margin: .5em 2.5em;		
  }
  a:hover {
    background: #282828;
  }
  a:active {
    color: red;
    text-shadow:
       .1em  .1em .2em #333,
       .1em -.1em .2em #333,
      -.1em  .1em .2em #333,
      -.1em -.1em .2em #333;
    background: #666;
  }
  a:visited {
    color: #f44;
  }
}

/* Galerie */
#galerie {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  margin-left: -.8em;
  margin-right: .8em;
  margin-bottom: 5em;
}
#galerie figure {
  flex: 1 1 0%;
  position: relative;
  margin: 0;
  padding: 0;
}
#galerie figure img {
//  position: absolute;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
  margin-bottom: 1.5em;
  padding: 0;
  border: 0;
  border-radius: 0;
  left: 0%;
  top: 0%;
  z-index: 1;
  box-shadow: 0;
  transition: all 1s;
}
#galerie figure:focus img,
#galerie figure:hover img {
  border: 1em solid #333c;
  border-radius: .5em;
  position: absolute;
  left: -90%;
  top: -60%;
  width: 300%;
  max-width: 350px;
  z-index: 7;
  box-shadow: .2em .2em .5em #333;
  transition: all 1s;
}

/* Artikel Grid */
@media (min-width: 50em) {
  article {
    display: grid;
    grid-template-columns: auto auto;
    gap: 1em;
  }
  .textalignbottom {
//    padding-top: 6em;
    text-shadow:
       .1em  .1em .2em #333,
       .1em -.1em .2em #333,
      -.1em  .1em .2em #333,
      -.1em -.1em .2em #333;
  }
}
#kontakt {
  margin-bottom: 50em;
}
#about > .spanall {
  grid-column: span 2;
}
#kontakt > .spanall {
  grid-column: span 2;
}

/* Footer */
footer {
  display: flex;
  justify-content: center;
  position: relative;
  background-color: black;
  background: linear-gradient(#333, black);
  border-radius: .5rem .5rem 0 0;
  margin: 1em 1em 0;
  padding: 1em;
}
.details {
  display: block;
  z-index: -10;
  position: absolute;
  left: auto;
  right: auto;
  bottom: 1em;
  background-color: #ccc;
  border: 0.1em solid forestgreen;
  border-radius: .5em;
  padding: 1em 1em .2em;
  width: 26em;
  max-height: 20em;
  overflow: auto;
  opacity: 0;
}
.details h2, 
.details h3, 
.details h4, 
.details h5, 
.details p, 
.details ol li, 
.details ul li {
  color: black;
}
.details h2 {
  box-shadow: initial;
  padding: initial;
  margin: initial;
}
.details h3 {
  padding: initial;
}
.details h3::before {
  content: none;
}
.details:target {
  opacity: 1;
  z-index: 10;
}
.close {
  width: 0;
  heigh: 0;
  border: 0;
  text-shadow: none;
  color: transparent;
}
.close:after {
  position: absolute;
  top: .5em;
  right: .5em;
  content: "×";
  color: red;
  background: transparent;
  font: bold 1.5em/150% Arial, Helvetica, sans-serif;
//	border: 0.1em solid forestgreen;
  box-shadow: .1em .1em 5px .1em #0006;
  border-radius: .3em;
  display: block;
  text-align: center;
  width: 1.5em;
  height: 1.5em;
  padding: 0;
}
summary {
  padding-left: 2em;
  color: #f00;
  font-weight: bold;
/*}*/
  position: relative;  
}
summary::marker {
   color: transparent;
}
summary::after {
   content:  "+"; 
   position: absolute;
   color: forestgreen;
   font-size: 1.5em;
   font-weight: bold; 
   left: 1em;
   top: -.1em;
   transition: all 0.5s;
} 
details[open] summary::after {
 color: red;
 transform: translate(5px,0) rotate(45deg);
}

//EOF
