/* CSS Document 
	FARBEN:
	Orange: #ed1c24
	
*/


body {
	margin: 0;
	/*padding-block: 6rem;*/
	background: repeating-linear-gradient(
	to right,
	#3D3939 0px,
	#3D3939 10px,
	#ffffff 10px,
	#ffffff 20px);
	
}


.hero {
	/*max-inline-size: 100%;
	display: block;
	padding: 10rem 0.5rem;*/
	width: 100vw;
	height: 100vh;
	object-fit: cover;
	display: block;
	padding: 0;
}

#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0,0,0,0.8);

  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  pointer-events: none;

  transition: 0.3s;
  z-index: 9999;
}

#lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
}
/*Pfeile*/
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  font-size: 3rem;
  color: white;
  cursor: pointer;
  padding: 1rem;
  user-select: none;
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

.prev:hover, .next:hover {
  color: #ccc;
}

/* aktiv */
#lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.einheit img {
  cursor: pointer;
}

.container {
	/*max-width: 960px;
	margin-inline: auto;
	background-color: white;*/
	background-color: #f5f5f5;
	background-image: url("../images/dotted-wall-texture.jpg"),
	radial-gradient(rgba(0,0,0,0.03) 1px, transparent 1px);
	
    background-repeat: repeat;
    background-size: 600px;
	
	/*background-size: cover, 4px 4px;*/
	box-shadow: 0 0 20px rgba(0,0,0,0.5);
	max-width: 1200px;
	justify-content: center;
	margin: 0 auto;
	padding: 5rem 3rem ;
	text-align: center;
}

.menu {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: center;
	margin: 0;
	list-style: none;
}

.menu li {
	flex: 0 0 auto;
	/*flex-grow: 1;
	flex-shrink: 1;
	width: max-content;
	/*margin: 0 20px;*/ 
}

.menu a {
	text-decoration: none; 
	font-family: "Ambery Garden", sans-serif; 
	font-weight: 400;
	letter-spacing: 0.15rem;
	font-size: 2.5rem;
	color: black;
	transition: 0.3s;
}

.menu a:hover {
	color: #ed1c24;
}

a {
	text-decoration: none; 
	font-family: "Ambery Garden", sans-serif; 
	letter-spacing: 0.15rem;
	font-weight: 400;
	font-size: 1.5rem;
	color: darkgray;
}

a:hover {
	color: white;
}

.button {
	background-color: #ed1c24;
	color: white;
	border: 2px solid black;
	transition: 0.3s;
	border-radius: 5px;
	display: inline-block;
	margin: 3rem auto;
	padding: 1rem 2rem;
}

.button:hover {
	background-color: rgba(0, 0, 0, 0.4); 
}


.grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 
		repeat(auto-fit, minmax(350px, 1fr));
}

.einheit {
	/*padding: 1rem;*/
	grid-row: span 3;
	display: grid;
}

.einheit img {
	max-inline-size: 100%;
	display: block;
	margin: 0 auto;
	padding: 0.5rem 0.5rem 0.5rem 0.5rem;
	/*height: 10rem;
	width: auto;*/
}

.programme img {
	max-inline-size: 100%;
	display: block;
	padding: 0.5rem 0.5rem 1.5rem 0.5rem;
	margin: 0 auto;
	height: 15rem;
	width: auto;
}

.footer {
	justify-content: center;
	max-width: 1200px;
	margin: 5rem auto;
	text-align: center;
}

.footer h2{
	font-family: "Ambery Garden", sans-serif;
	font-size: 2.5rem;
	letter-spacing: 0.15rem;
	text-wrap: balance;
	margin: 0;
	padding: 0;
	/*margin:inherit;
	padding: 0.5rem;*/
}

.footer p {
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
	font-style:normal; 
	font-weight: 500;
	font-size: 1.5rem;
	color: black;
	padding: 0;
	margin: 0.5em auto;	
}

.footer a {
	text-decoration: none; 
	font-family: "Ambery Garden", sans-serif;
	letter-spacing: 0.15rem;
	font-weight: 400;
	font-size: 2.5rem;
	color: #ed1c24;
}

.footer a:hover {
	color: rgba(0, 0, 0, 0.4);
}

.mailbutton {
	text-decoration: none; 
	font-family: "Ambery Garden", sans-serif;
	letter-spacing: 0.15rem;
	font-weight: 400;
	font-size: 2.5rem;
	color: #ed1c24;
}

.mailbutton a:hover {
	color: rgba(0, 0, 0, 0.4);
}

.line {
	border: none;
	border-top: 2px solid #ccc;
	margin: 5rem auto 3rem;
	width: 60%;
}


h1 {
	font-family: "Ambery Garden", sans-serif;
	color:#ed1c24;
	letter-spacing: 0.15rem;
	font-size: 4rem;
	text-wrap: balance;
	margin:inherit;
	padding: 4rem 0rem 2rem 0rem;
}

h2 {
	font-family: "Ambery Garden", sans-serif;
	color: #ed1c24;
	letter-spacing: 0.15rem;
	font-size: 2.7rem;
	text-wrap: balance;
	margin:inherit;
	padding: 3rem 0rem 0rem 0rem;
}

h3 {
	font-family: "Ambery Garden", sans-serif;
	color: black;
	letter-spacing: 0.15rem;
	font-size: 2.7rem;
	text-wrap: balance;
	margin:inherit;
	padding: 0.5rem 0rem 0rem 0rem;
}

h4 {
	font-family: "Ambery Garden", sans-serif;
	/*color: #ed1c24;
	opacity: 0.5;*/
	letter-spacing: 0.15rem;
	color: rgba(0, 0, 0, 0.4);
	font-size: 2.2rem;
	text-wrap: balance;
	margin:inherit;
	padding: 3rem 0rem 0rem 0rem;
}

h5 {
	font-family: "Ambery Garden", sans-serif;
	/*color: #ed1c24;
	opacity: 0.5;*/
	letter-spacing: 0.15rem;
	color: rgba(0, 0, 0, 0.4);
	font-size: 2rem;
	text-wrap: balance;
	margin:inherit;
	padding: 1rem 0rem 0rem 0rem;
	line-height: 3rem;
}

p {
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
	font-style:normal; 
	font-weight: 500;
	font-size: 1.5rem;
	color: black;
}

img {
	max-inline-size: 100%;
	display: block;
	padding: 3rem 0.5rem;
}

.up-button {
	font-family: "Ambery Garden", sans-serif;
	font-weight: 700;
	position: fixed;
	right: 2rem;
	bottom: 2rem;
	font-size: 2rem;
	color: #ed1c24;
	background-color: white;
	border: 2px solid black;
	border-radius: 5px;
	padding: 0.5rem 0.5rem;
	text-decoration: none;
	transition: 0.3s;
}

.down-button {
	font-family: "Ambery Garden", sans-serif;
	font-weight: 700;
	position: fixed;
	left: 2rem;
	bottom: 2rem;
	font-size: 2rem;
	color: #ed1c24;
	background-color: white;
	border: 2px solid black;
	border-radius: 5px;
	padding: 0.5rem 0.5rem;
	text-decoration: none;
	transition: 0.3s;
}

.datenschutz {
	max-width: 700px;
	justify-content: center;
	margin: 0 auto;
	padding: 5rem 3rem ;
	text-align: center;
	
}



@font-face {
	font-family:"Ambery Garden";
	src: url("../fonts/Ambery Garden.ttf") format("truetype");
}

@media (max-width: 600px) {
  .footer a {
    font-size: 1.8rem;
	margin: 3rem auto;
    
  }
}

@media (max-width: 400px) {
  .footer a {
    font-size: 1.5rem;
	margin: 3rem auto;
    
  }
}
	
	