/* Global Styles */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: Arial, sans-serif;
  color: black;
  background-color: white;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header Styles */
header {
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: green;
  color: white;
  flex-shrink: 0;
}

/* Footer Styles */
footer {
  text-align: center;
  padding: 10px;
  background-color: green;
  color: white;
  flex-shrink: 0;
}

/* Logo Styles */

.logo img {
  width: 100px;
  height: 100px;
}

.logo_main img {
  width: 150px;
  height: 150px;
  /*animation: rotate 5s ease-in alternate both 2;
}
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}*/
}

/* Navigation Styles

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

nav ul li {
  margin: 0 10px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav ul li a:hover {
  text-decoration: underline;
}

nav ul li a {
  color: white;
  border-radius: 5px;
  padding: 5px 5px;
}
  

*/
.nav-link.active {
  text-decoration: underline;
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  position: relative;
  background-color: var(--color2);
  padding: 12px 20px;
}

.menu {
  display: flex;
}

.menu li {
  padding-left: 30px;
}

.menu li a {
  display: inline-block;
  text-decoration: none;
  color: white;
  text-align: center;
  transition: 0.15s ease-in-out;
  position: relative;
  text-transform: uppercase;
}
.menu li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: black;
  transition: 0.15s ease-in-out;
}
.menu li a:hover:after {
  width: 100%;
}
.open-menu,
.close-menu {
  position: absolute;
  color: black;
  cursor: pointer;
  font-size: 1.5rem;
  display: none;
}
.open-menu {
  top: 30px;
  right: 20px;
  text-align: right;
}
.close-menu {
  top: 20px;
  right: 20px;
}
#check {
  display: none;
}

/* Main Content Styles */
main {
  padding: 20px;
  text-align: center;
  flex-grow: 1;
}

main h1 {
  color: green;
}

.pBigUnderline {
  font-size: 25px;
  border-bottom: 3px solid rgb(0, 0, 0);
  display: inline;
}

.center {
  margin-left: auto;
  margin-right: auto;
}

table,
th,
td {
  border: 1px solid black;
}

table {
  border-collapse: collapse;
  margin: 20px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

th,
td {
  padding: 5px;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: green;
}

td {
  font-size: 1.2em;
}

.separator-row {
  background-color: lightgreen;
  height: 10px; /* Höhe der Trennzeile */
  border: none; /* Keine Umrandung */
  text-align: center;
}

.subpoints {
  margin-top: 10px;
}

.subpoints div {
  font-size: 0.9em;
  color: #666;
}

.centered-list {
  display: inline-block; /* Behandelt die Liste als Block */
  text-align: left; /* Stellt sicher, dass die Listenpunkte linksbündig sind */
  list-style-position: inside; /* Stellt sicher, dass die Punkte innerhalb des Blocks sind */
}

.centered-list li {
  margin-bottom: 10px;
}

/*kontakt - styles - test */
.container_kontakt {
  max-width: 600px;
  margin: auto;
  padding: 20px;
  background: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border: 2px solid #ccc;
}
h2 {
  text-align: center;
}
form {
  display: flex;
  flex-direction: column;
}
label {
  margin: 10px 0 5px;
}
input,
textarea,
select {
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
button {
  padding: 10px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
button:hover {
  background-color: #218838;
}

/* Responsive Styles */

@media (max-width: 650px) {

  .logo img {
    width: 75px;
    height: 75px;
  }

  .center {
    font-size: x-small;
  }

  td {
    font-size: x-small;
  }
  
.menu {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 60%;
  height: 100vh;
  position: fixed;
  top: 0;
  right: -100%;
  z-index: 100;
  background-color: green;
  transition: all 0.2s ease-in-out;
  border: 1px solid black;
  padding: 1rem;
}

.menu ul {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}

.menu li {
  margin: 10px 0;
}

.menu li a {
  padding: 10px;
  display: block;
}

.open-menu,
.close-menu {
  display: block;
}

#check:checked ~ .menu {
  right: 0;
}


}

@media (max-width: 576px) {
  .center {
    font-size: xx-small;
  }

  td {
    font-size: xx-small;
  }
}
