﻿body {
     font-family: "Comic Sans MS", Arial;
     background-color: #C1FFC1;
     font-weight: bold;
     color: black;
     font-size: 8px;  
     margin=0px;  
     }

li p {
	font-size: 18px;
	padding: 5px 60px 5px 10px;
	margin: 0px;
}

li.klein {
	position: relative;
	width: 100%;
	margin: 0px 15px 20px 0px;
	padding: 0px;
	background: #FFFFFF;
	border-radius: 10px;
	
}

/* Ueberschriften */
h1 {
	padding: 15px;
	text-align: center;
	background-color: #229922;
	color: #FFFFFF;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	-moz-border-radius: 10px 10px 10px 10px;
	-webkit-border-radius: 10px 10px 10px 10px;
	font-family: "Comic Sans MS", Verdana, Arial, Helvetica, sans-serif;
	font-size: 36px;
	font-weight: bold;
	font-style: italic;	
}
h2 {
	position: relative;
	margin: 0px 0px;
	padding: 5px 5px 5px 150px;
	background-color: #229922;
	color: #FFFFFF;
	font-family: "Comic Sans MS", Verdana, Arial, Helvetica, sans-serif;
	font-size: 24px;
	font-weight: bold;
	border-radius: 10px;
	}


img.hw {
       position: relative;
       float: right;
       margin-left: 10px;
       margin-top: 10px;
       margin-bottom: 10px;
       top: 250px;
       right: 20px;
       img-border: 2px; color:red;
       }

ul     {
       position: relative;
       float: none;
       list-style: none;
       margin: 20px 0px;
       padding: 5px;
	list-style-type: none;
       }

div {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

nav 	{
	background-color: #229922;
	width: 100%;
	}
	
.dropdown {
  display: inline-block;
  position: relative;
  width: 19%;
  font-size: 14px;
  font-weight: bold;
  background-color: #229922;
  color: #000000;
  font-family: "Comic Sans MS", Arial;
}

button {
	
	background-color: #229922;
	color: #ffffff;
	font-family: "Comic Sans MS", Arial;
	font-size: 18px;
	font-weight: bold;
	border: 0px #FFFFFF dashed;
	width: auto;
	}
	
.dropdown-content {
  display: none;
  position: absolute;
  width: auto;
  overflow: auto;
  box-shadow: 0px 10px 10px 0px rgba(0,0,0,0.4);
}
.dropdown:hover .dropdown-content {
  display: block;
}
.dropdown-content a {
  display: block;
  color: #ffffff;
  padding: 5px;
  text-decoration: none;
  background-color: #229922;
  
}
.dropdown-content a:hover {
	color: #000000;
  background-color: #C1FFC1;
  
}

.fuss {
	background-color: #229922;
      font-size: 18px;
      font-weight: bold;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	padding: 10px;	
	height: 100%;
	color: #ffffff;
	font-family: Comic Sans MS;
	 text-align: right; 
	 width: auto;
}

	
/*Lichtraum*/

.gallery {
	border: 3px solid #C1FFC1;
	display: flex;                  /* Flexbox aktivieren */
    justify-content: center;
	align-items: center;            /* Vertikal zentrieren */
	flex-wrap: wrap;
    gap: 20px;                       /* Abstand zwischen Bildern */
}

.gallery a img {
	max-width: 200px;
	max-height: 200px; 
	position: center;
}

.gallery a {
	text-decoration: none;
}


[hidden] {
	display: none;
}

dialog img {
	padding: 0;
	margin: 0;
	width: 100%;
	/* Bild passt sich an verfügbaren Raum im dialog an */
}

dialog {
	position: relative;
}

dialog::backdrop {
	background-color: #C1FFC1;
	opacity: 1.0;
}

#lightbox {
	border: thin solid #aaa;
	left: 1em;
	position: fixed;
	top: 1em;
}

#lightbox img {
	display: block;
	margin: auto;
	max-width: 100%;
	max-height: 100%;
}	

#lightbox figcaption {
	font-style: italic;
	text-align: center;
	font-family: Arial;
	font-size: 14px;
	font-weight: bold;
}

#lightbox button {
	position: absolute;
	top: 0;
	right: 0;
	width: 2rem;
	height: 2rem;
	cursor: pointer;
	border: 0;
	font: 0/0 a;
	text-shadow: none;
	background: transparent;
	color: transparent;
}

#lightbox #close {
	background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='100' height='100' fill='firebrick' rx='10' /%3E%3Cpath d='M20,20 l60,60 m0,-60 l-60,60' fill='none' stroke='white' stroke-width='15' stroke-linecap='round'/%3E%3C/svg%3E");
	background-size: contain;
}

#lightbox #close:hover,
#lightbox #close:focus {
	background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='100' height='100' fill='red' rx='10' /%3E%3Cpath d='M20,20 l60,60 m0,-60 l-60,60' fill='none' stroke='white' stroke-width='15' stroke-linecap='round'/%3E%3C/svg%3E");
}

#lightbox button:nth-of-type(2) {
	top: 50%;
	left: 1em;
	width: 2rem;
	height: 4rem;
	background-image: url("data:image/svg+xml,%3Csvg width='100' height='200' viewBox='0 0 100 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath id='right' d='M90,10 l-80,90 l80,90' fill='none' stroke='%2387ceeb' stroke-width='15' stroke-linecap='round'/%3E%3C/svg%3E");
	background-size: contain;
}

#lightbox button:nth-of-type(2):hover,
#lightbox button:nth-of-type(2):focus {
	background-image: url("data:image/svg+xml,%3Csvg width='100' height='200' viewBox='0 0 100 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath id='right' d='M90,10 l-80,90 l80,90' fill='none' stroke='%23337599' stroke-width='15' stroke-linecap='round'/%3E%3C/svg%3E");
}

#lightbox button:nth-of-type(3) {
	top: 50%;
	right: 1em;
	width: 2rem;
	height: 4rem;
	background-image: url("data:image/svg+xml,%3Csvg width='100' height='200' viewBox='0 0 100 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath id='right' d='M10,10 l80,90 l-80,90' fill='none' stroke='%2387ceeb' stroke-width='15' stroke-linecap='round'/%3E%3C/svg%3E");
	background-size: contain;
	
}

@media (prefers-reduced-motion: no-preference) {
	#lightbox[open] img {
		animation: show 0.25s ease-in-out normal;
	}
	@keyframes show {
		from {
			opacity: 0;
		}
		to {
			opacity: 1;
		}
	}
}
/* Mobile first - für schmale Viewports */

ul,
li {
	display: inline-block;
	margin: 0.1em;
	padding: 0.1em;
}

li {
	list-style-type: none;
}

[role=note] {
	border-left: medium solid #c82f04;
	padding-left: 0.5em;
	max-width: 40em;
}

[role=note]:before {
	content: 'Beachten:  ';
	color: #c82f04;
	font-weight: blod;
}