*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  }
body{
  font-family: 'Poppins', sans-serif;
}
/* Logo */
.logo-content {
  margin:0 auto;
  }
  
 .logo-1 
  {background:#333;
  font-size:1.4rem;
  padding:1.5rem 0.5rem;
  border-bottom:solid .4rem #800000;
  margin-bottom: 0.5rem;
  }
  
  .logo-2 {background-image:url(img/banner.png);
  background-position:50% 50%;
  background-repeat:no-repeat;
  background-size:cover;
  padding:1rem;
  min-height:20rem;
  margin-bottom: 0.5rem;
  }
  
  /* name */
  .name {display:block;
  color:#fff;
  font-size:2rem;
  line-height:2rem;
  text-align:center;
  padding:0;
  text-transform:uppercase;
  }
  /* Logo - Ende*/

  /* Navigation */
  
/* Add a black background color to the top navigation */
.topnav {
    background-color: #333;
    border-bottom:solid .4rem #800000;
    overflow: hidden;
    margin-bottom: 2%;
  }
  
  /* Style the links inside the navigation bar */
  .topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
  }
  
  /* Change the color of links on hover */
  .topnav a:hover {
    background-color: #ddd;
    color: black;
  }
  
  /* Add an active class to highlight the current page */
  .topnav a.active {
    background-color: #8e8e8e;
    color: white;
  }
  
  /* Hide the link that should open and close the topnav on small screens */
  .topnav .icon {
    display: none;
  }

  /* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). 
  Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
    .topnav a:not(:first-child) {display: none;}
    .topnav a.icon {
      float: right;
      display: block;
    }
  }
  
  /* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. 
  This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
  @media screen and (max-width: 600px) {
    .topnav.responsive {position: relative;}
    .topnav.responsive a.icon {
      position: absolute;
      right: 0;
      top: 0;
    }
    .topnav.responsive a {
      float: none;
      display: block;
      text-align: left;
    }
  }
/* Navigation - Ende */

/* Überschriften */

h1, h2, h3, h4, h5 {
  color:#000;
  font-weight:normal;
  transition: all 0.4s;
  }
  h1:hover{
      color: red;
      transition: all 0.4s;
  }
  h2:hover{
      color: lightskyblue;
      transition: all 0.4s;
  }
  
  h1 {
  font-size:2em;
  line-height: 2rem;
  margin-top: 0rem;
  margin-bottom: 3rem;
  text-transform: uppercase;
  }
  
  h2 {color:#800000;
  font-size:1.6em;
  line-height: 2rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  }
  
  h3 {
  font-size:1.5rem;
  line-height: 1.4em;
  margin-top: 1rem;
  margin-bottom:1rem;
  letter-spacing:1px;
  }
  
  /* andere zeilenabstände */
  .content br {
  line-height:.7;
  }

  /* allgemeine links  */

a {background-color:transparent;
  color:#800000 ;
  text-decoration: underline;
  }
  
  a:hover  {color:#000;
  text-decoration:none;
  }
  
  /* bilder im inhaltsbereich  */
  
  img {max-width: 100%;
  height: auto;
  }

/* Contentbereich */
.wrapper{
    display: flex;
    width: 80%;
    margin: 0 auto;
}
main{
    flex: 4;
    background-color: orange;
    background-color: #fff;
}

main p{
    font-size: 1.2em;
    padding: 15px;
}
main img{
  width: 100%;
  
}
.bildbox{
  display: flex;
}
.bild figure{
  flex: 1;
  margin: 2%;
}
figcaption{
  text-align: center;
  font-size: 1em;
  padding: 15px;
  
}
.bildbox-mitte{
  width: 60%;
  margin: 0 auto;
}
/************* Brands ***********/
.brand-collection{
  display: flex;
 flex-wrap: wrap;
 justify-content: center;
 background-color: #8e8e8e3c;
}
.brand-collection .brand-logo{
  width: 200px;
  margin: 20px 20px;
  box-shadow: 12px 11px 4px -5px #333;
  transform: scale(1.1);
}
.brand-collection .brand-logo img{
  width: 200px;
}

/*aside{
    flex: 1;
    background-color: yellow;
    background-color: #fff;

}
aside h2{
    font-size: 1.2em;
    text-align: left;
    padding-left: 40px;
}
aside ul{
    display: flex;
    flex-direction: column;
}
aside ul li{    
    list-style-type: none;
}
aside ul li a{
    text-decoration: none;
}
aside img{
  width: 50%;
}*/
/* ################################################################ */
/* Fade in Overlay IMG */
/* ################################################################ */
 
.container {
  position: relative;
  width: 50%;
}

.image {
  display: block;
  width: 100%;
  height: auto;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #008CBA;
}

.container:hover .overlay {
  opacity: 1;
}
footer{
    background: #333;
    color: #fff;
    display: flex;
    flex-direction: row;
    margin-bottom: 2%;
}
footer h2{
  font-size: 1.2em;
  text-align: center;
  padding: 15px 0 0 20px;
}
footer p{
    font-size: 1em;
    padding: 15px;
}
.links{
  flex: 1;
  background: #333;
  border: solid 2px #333;
}
.rechts{
  flex: 1;
  background: #333;
  border: solid 2px #333;
}
.footer-l{
  background: #333;
  flex: 3;
  text-align: center;
  border: solid 2px #333;
}
.footer-l a{
  color: #fff;
}
.footer-r{
  flex: 3;
  text-align: center;
  border: solid 2px #333;
}
@media (max-width: 800px){
  .logo-2{
    display: none;
  }
    .wrapper{
        flex-direction: column;
    }
    .bildbox{
      flex-direction: column;
    }
    .bildbox-mitte{
      width: 100%;
      margin: 0 auto;
    }
    
    aside ul{
        display: flex;
        flex-direction: row;
    }
    aside ul li{    
        padding: 0 8px 0 0;
    }
    footer{
      display: flex;
      flex-direction: column;
  }
  aside img{
    width: 30%;
  }
  .rechts, .links{
    display: none;
  }
    
}