@font-face {
 font-family: 'Poppins';        
      src: url('fonts/Poppins-Light.ttf')
           format('truetype');   
}

body {
	margin: 0;
	font-family: 'Poppins', Arial, sans-serif;
	color:#262525;
	background-color:white;
	}

.header {
  z-index:1000;
	background-image: linear-gradient(90deg, #b5e0e7 18%, wheat 50%);
	position: sticky;
  top: 0;
	display: flex; 
    justify-content: center; 
    align-items: center;
	}
	
#box1 {
/*	width: 100%;
	height: 80px;
	color:black;
	padding-left:200px;
	background-color: black;
	background-position: center center;
	background-image: url("/pics/weihnachten_2022.png");*/
}

#logo  {
  width:200px;
	height:200px;
	float:left;
	}
	
#anzeige  {
  position:fixed;
	width:180px;
	height:82px;
	right:8%;
	top:140px;
	}
	
#werbung {
	width:50%;
	}	
	
ul.sidenav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 25%;
  background-color: #b5e0e7;
  position: fixed;
  height: 100%;
  overflow: auto;
}

ul.sidenav li a {
  display: block;
  color: #000;
  padding: 8px 16px;
  text-decoration: none;
}
 
ul.sidenav li a.active {
  background-color: #43302a;
  color: white;
}

ul.sidenav li a:hover:not(.active) {
  background-color: #555;
  color: white;
}

div.inhalt {
  margin-left: 25%;
  padding: 1px 16px;
  height: auto;
	background-color:white;
}



#gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16em, 1fr));
  gap: 1em;
  text-align: center; 
	
}

#gallery figure {
  position: relative;
  color: black;
  background: white;
}

figure img {
  width: 100%;
  display: block;
}

#gallery > figure > figcaption {
  position: absolute;
  bottom: 0;
  width: 100%;
  line-height: 2em;
  color: white;
  background: rgba(0,0,0,0.3);
}

#gallery > figcaption {
  grid-column: 1 / -1;
}


	
@media screen and (max-width: 800px) {

  #logo  {
    width:150px;
	  height:150px;
	}
	
	#anzeige  {
   	top:100px;
	  width:160px;
	  height:73px;
	}	
	
	#werbung {
	width:80%;
	}	
	
  ul.sidenav {
    width: 150px;
    height: 100%;
  }
  
  li a {
    display:block;
		padding: 15px;
		font-size:15px;
  }
  
  div.inhalt {margin-left: 160px;
	}
	  figure img {
    width: 100%;  
  }
}


/*@media screen and (max-width: 400px)*/
@media all and (max-width: 576px) {

	.header {
  background-image: linear-gradient(360deg, #b5e0e7 18%, wheat 50%);
	}
  
	#logo  {
  width:100px;
	height:100px;
	}
	
	#werbung {
	width:80%;
	}	
	
  ul.sidenav {
	z-index:1000;
    width: 100%;
    height: auto;
  }
  
  
  ul.sidenav li a {
    text-align: center;
    float: none;
  }
   div.inhalt {
	   padding-top: 240px;
     margin-left:0px;
		 font-size:11px;
  }
	
  figure figcaption img {
    width: 100%;  
		display:none;
  }
}