/* Ponyspielgruppe */
/* Basis-Reset & Body */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	background-color: #231A66;
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: top center;
	background-size: cover;
	font-family: Arial, sans-serif;
	color: #b1d0e6;
}

/* Typografie */
h1, h2, h4{
	text-shadow: 1px 1px 1px #000033;
}

h1 {
	color: #3ccf81;
	font-size: 1.8rem;
	font-weight: bold;
	font-family: 'Shadows Into Light', cursive;
	letter-spacing: 2px;
}

h2 {
	color: #3ccf81;
	font-size: 1.4rem;
	font-weight: bold;
	padding-bottom: 0.8rem;
}

h3 {
	color: #231A66;
	font-size: 1rem;
	font-weight: bold;
	padding-top: 0.6rem;
	
}

h4 {
	background-color: rgba(35, 26, 102, 0.7);
	color: #3ccf81;
	font-size: 1.2rem;
	box-shadow: 3px 1px 3px #000033;
	max-width: 100%;
}

h5 {
  font-size: 4rem;
  font-weight: bold;
  color: #3ccf81;
  text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.5);
  letter-spacing: 2px;
}

h6 {
	color: #231A66;
	font-size: 1rem;
	font-weight: normal;
	font-style: normal;
	padding-top: 0.6rem;
	
}


p	{
	color: #3ccf81;
	font-family: arial, sans-serif;
	font-style: normal;
	font-size: 1.2rem;
	margin-top: 0px;
	}
	
a   {
	font-size:1.2rem;
	}
	

.shadows {
      font-family: 'Shadows Into Light', cursive;
    }

	
/* header*/

.header-mit-bildern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background-image: url(Header.png);
}




.header-mit-bildern h5 {
  flex: 1;
  text-align: center;
   
}
.header-rechts {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-bild {
  width: 150px;
  height: auto;
  object-fit: contain;
}

.socialmedia-icons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 768px) {
  .header-bild {
    width: 70px;
  }

  .header-mit-bildern h5 {
    font-size: 1.4rem;
	padding-left: 50px
  }
  
  .socialmedia-icons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

  
}



/* Layout Container */
.container {
	display: flex;
	flex-wrap: wrap;
	padding: 20px;
	gap: 20px;
	justify-content: center;
}

/* Beispiel für Content-Bereiche */
.main, .main2, .main3, .main4, .kontaktformular, .programm {
	flex: 1 1 600px;
	max-width: 150vh;
	background: rgba(255, 255, 255, 0.1);
	padding: 20px;
	overflow-y: auto;
	position: relative; /* wichtig, damit "absolute" sich auf .main bezieht */
}

.programm {
	height: 70vh;         /* 80% der Bildschirmhöhe, anpassbar */
	
	   
 }

.tabelle {
		table-layout: fixed;
		width: 600px;
		white-space: nowrap;
		}
		

.bild-unten-rechts {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 300px; /* oder was du willst */
  height: auto;
  opacity: 0.9; /* optional */
  pointer-events: none; /* optional – verhindert Klickblockierung */
}
		
table td {
  padding: 0px 0px 15px 0px; /* oben, rechts, unten, links */
}



.footer {
  text-align: right;
  padding: 20px;
}
		
@media (max-width: 768px) {
.tabelle {
		table-layout: fixed;
		width: auto;
		white-space: nowrap;
		}
}
		
/* Versteckt den Toggle (Checkbox) */
.nav-toggle {
  display: none;
}

/* Hamburger Icon */
.nav-toggle-label {
  position: fixed;
  top: 1rem;
  left: 1rem;
  height: 40px;
  width: 40px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background: #a0c7ee;
  height: 4px;
  width: 30px;
  border-radius: 2px;
  position: absolute;
  transition: all 0.3s ease;
}

.nav-toggle-label span {
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
}

.nav-toggle-label span::before {
  content: '';
  top: -10px;
  position: absolute;
}

.nav-toggle-label span::after {
  content: '';
  top: 10px;
  position: absolute;
}

/* Navigation */
.nav-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 70%;
  max-width: 230px;
  height: 100vh;
  background-color: rgba(35, 26, 102, 0.95);
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
  padding-top: 4rem;
  padding-left:0.5rem;
  transition: left 0.3s ease;
  z-index: 1000;
}

.nav-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu li {
  margin: 1rem 0;
  text-align: left;
  padding-left: 2rem;
}

.nav-menu a {
  color: #a0c7ee;
  font-size: 1.2rem;
  font-family: Arial, sans-serif;
  text-decoration: none;
}

/* Menu sichtbar, wenn Checkbox aktiviert */
.nav-toggle:checked + .nav-toggle-label span {
  background: transparent;
}

.nav-toggle:checked + .nav-toggle-label span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle:checked + .nav-toggle-label span::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-toggle:checked ~ .nav-menu {
  left: 0;
}

/* Für große Bildschirme: Sidebar oder horizontale Navigation */
@media screen and (min-width: 768px) {
  .container {
    padding-left: 250px; /* passt zur Breite deines Menüs */
  }
}


@media screen and (min-width: 768px) {
  .nav-toggle,
  .nav-toggle-label {
    display: none;
  }

  .nav-menu {
    position: absolute;
    top: 250px;
    left: 41px;
    width: 200px;
    height: auto;
    background: none;
    box-shadow: none;
    padding: 0;
    z-index: auto;
  }

  .nav-menu ul {
    padding: 0;
  }

  .nav-menu li {
    margin: 0 0 1rem 0;
    padding-left: 0;
  }

  .nav-menu a {
    font-size: 24px;
    color: #a0c7ee;
    text-decoration: none;
    display: block;
  }
}


/* News Box */
.news {
		background-color: rgba(177, 208, 230, 0.7);
	color: #231A66;
	box-shadow: 3px 3px 3px #000033;
	padding: 10px;
	overflow-y: auto;
	width: 100%;
	max-width: 260px;
	height: 100%
}

.rechts {
	padding: 0px;
	width: 100%;
	max-width: 260px;
	
}

/* Kontaktbereiche */
.kontakt-box {
	width: 100%;
	max-width: 400px;
	padding: 10px;
}

/* Links */
a:link, a:visited {
	color: #a0c7ee;
	text-decoration: none;
}

a:hover, a:active {
	font-weight: bold;
}


	
/* Responsive Anpassungen */


@media (max-width: 768px) {
	h1, h2, h3, h4, h5, p, a {
    font-size: 95%;
  }

	
	
	.navl, .news, .main, .main2, .main3, .main4 {
		flex: 1 1 100%;
	}

	body {
		background-position: top center;
		background-size: cover;
	}
}

@media (max-width: 768px) {
  nav.navl {
    max-width: 100%;
  }

  nav.navl ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav.navl li {
    flex: 1 1 45%;
    margin: 0.5rem;
  }
}


/* Standard: Burger-Menü für kleine Bildschirme */
.nav-toggle-label {
  display: block;
}

.nav-menu {
  left: -100%; /* versteckt */
}

/* Für große Bildschirme: Sidebar anzeigen */
@media screen and (min-width: 768px) {
  .nav-toggle,
  .nav-toggle-label {
    display: none; /* Burger-Button ausblenden */
  }

  .nav-menu {
    position: absolute;
    top: 250px;
    left: 41px;
    width: 200px;
    height: auto;
    background: none;
    box-shadow: none;
    padding: 0;
    left: 41px;
    z-index: auto;
  }

  .nav-menu ul {
    padding: 0;
  }

  .nav-menu li {
    margin: 0 0 1rem 0;
    padding-left: 0;
  }

  .nav-menu a {
    font-size: 24px;
    color: #a0c7ee;
    text-decoration: none;
    display: block;
  }
}




.nav-toggle {
    display: none;
}

.nav-toggle-label {
    font-size: 24px;
    cursor: pointer;
    color: #a0c7ee;
    padding: 10px;
    background-color: transparent;
}


