/* Reset CSS, um standardmäßige Browser-Stile zu entfernen */

body, h1, h2, h3, p, ul, li {
  margin: 0;
  padding: 0;
  text-align: center;
}

body {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  background-color: #504A6E;
}

header {
  position: relative;
  background-color: #504A6E;
}

.header-title-mobile {
  display: none;
}

.social-icons {
  margin-top: 10px;
}

.social-icons a {
  margin-right: 10px;
  color: #ead5d5;
  font-size: 24px;
}

.social-icons a:hover {
  color: #007bff;
}

img {
  width: 100%;
  height: auto;
}

.header-title {
  font-size: 60px;
  color: #f5deb3;
  text-align: center;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: space-around;
  background-color: #f5deb3; /* Hintergrundfarbe für die Reiter */
  width: 62%;
  margin-left: auto; /* Zentriere den Footer horizontal */
  margin-right: auto; /* Zentriere den Footer horizontal */
  border-radius: 10px;
}

.nav-links li {
  padding: 10px 15px;
}

.nav-links a {
  text-decoration: none;
  color: #000; /* Textfarbe für die Reiter */
}

.main-content {
  background-color: #f5deb3; /* Hintergrundfarbe für den Hauptinhalt auf Computer */
  padding: 20px;
  width: 60%;
  margin: 0 auto;
  margin-top: 20px;
  border-radius: 10px;
}

.aktuelles {
  padding: 20px;
}

.werSindWir {
  margin-top: 20px;
}

.dropdown {
  display: none;
}

/* Footer-Styling hier einfügen */

/* Media Query für das responsive Design auf Mobilgeräten */

@media screen and (max-width: 768px) {

  .header-title {
    display: none;
  }
  .header-title-mobile {
    font-size: 60px;
    color: #f5deb3;
    text-align: center;
    display:inline;
  }

  .nav-links {
      background-color: red;
      display: none;
  }

  .nav-links.show {
    display: flex; /* Reiter anzeigen, wenn geklickt wird */
  }

  .nav-links.show li {
    padding: 10px;
  }

  .main-content {
    width: 85%; /* Hauptinhalt auf Mobilgeräten über die gesamte Breite */
  }


  footer {
    background-color: #f5deb3;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
    width: 85%;
    margin-left: auto; /* Zentriere den Footer horizontal */
    margin-right: auto; /* Zentriere den Footer horizontal */
    border-radius: 10px;
  }


  /* Dropdown Button */
  .dropbtn {
    background-color: transparent;
    font-size: 16px;
    border: 2px solid #f5deb3;
    border-radius: 10px;
    cursor: pointer;
  }

  /* The container <div> - needed to position the dropdown content ... mit padding right lässt sich der button verschieben !!! */
  .dropdown {
    display: inline-block;
    position: absolute;
    right:0;
    width:15%;
    height: 25%;
    padding-right: 2%;
  }

  /* Dropdown Content (Hidden by Default) */
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    right: 0;
  }

  /* Links inside the dropdown */
  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }

  /* Change color of dropdown links on hover */
  .dropdown-content a:hover {background-color: #ddd;}

  /* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
  .show {display:block;}


}
