body {
  background-color: #f0f0f0;
  margin: 0;
  padding: 0;
}
#logocontainer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 17%;
}
@media screen and (max-width: 576px) {
  #logocontainer {
    height: 20%;
    width: auto;
  }
}
#Logo {
  height: 100%;
  width: auto;
  margin: 3%;
}

@media screen and (max-width: 576px) {
  #Logo {
    margin: 10% 10%;
  }
}

.bannercontainer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 60%; /* Optional, um die maximale Breite zu begrenzen */
  height: auto;
  padding: 10px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box; /* Stellt sicher, dass Padding zur Gesamtbreite beiträgt */
  background-color: rgb(78, 109, 122);
  border-radius: 5px;
}
@media screen and (max-width: 576px) {
  .bannercontainer {
    max-width: 80%;
  }
}
.bannercontainer img {
  width: 80%;
  height: auto;
}
@media screen and (max-width: 576px) {
  .bannercontainer img {
    width: 100%;
  }
}
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  row-gap: 20px;
  column-gap: 40px;
  padding: 1%;
  width: 100%;
  height: auto;
  background-color: rgb(78, 109, 122);
  box-sizing: border-box;
  flex-wrap: wrap;
}
.banner_button {
  background-color: #f0f0f0;
  color: rgb(78, 109, 122);
  padding: 6px;
  margin: 0, 8, 8, 8px;
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  font-family: Calibri, sans-serif;
  font-size: large;
  flex: 0 1 150px;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .button {
    margin: 10px;
  }
}
.banner_button:hover {
  background-color: #ffffff;
  color: rgb(187, 51, 17);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.6);
}
#impressumcontainer {
  display: flex;
  width: 99%;
  background-color: rgb(78, 109, 122);
  margin-top: 5%;
  padding: 1%;
  justify-content: flex-end;
  align-items: center;
  box-sizing: border-box;
}
.button {
  background-color: #f0f0f0;
  color: rgb(78, 109, 122);
  padding: 10px 30px;
  text-align: center;
  border: 2px solid;
  border-color: rgb(78, 109, 122);
  border-radius: 50px;
  font-family: Calibri, sans-serif;
  font-size: large;
  text-decoration: none;
  flex: 0 1 150px;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .button {
    margin: 10px;
  }
}
.button:hover {
  background-color: #ffffff;
  color: rgb(187, 51, 17);
  border-color: rgb(187, 51, 17);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
.impressum_button {
  background-color: rgb(78, 109, 122);
  color: #ffffff;
  padding: 0.5%;
  text-align: center;
  text-decoration: none;
  border: 3px solid;
  border-color: rgb(78, 109, 122);
  border-radius: 6px;
  font-family: Calibri, sans-serif;
  font-size: small;
  box-sizing: border-box;
  cursor: pointer;
}
.impressum_button:hover {
  background-color: #ffffff;
  color: rgb(187, 51, 17);
}
.platzhalter_impressum {
  margin-bottom: 7%;
}
@media (min-width: 576px) {
  .platzhalter_impressum {
    margin-bottom: 5%;
  }
}
/*Hauptüberschrift, Ein Heizkörper zwei Wärmequellen*/
h1 {
  color: rgb(187, 51, 17);
  text-align: center;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  margin-top: 5%;
}
@media (max-width: 576px) {
  h1 {
    font-size: 25px;
    margin-top: 12%;
  }
}
/* Überschriftengröße bei unterschiedlichen Bildschirmgrößen*/
h2 {
  color: rgb(187, 51, 17);
  font-size: 20px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif, sans-serif;
  /* Schriftart auf Calibri setzen */
}
@media (min-width: 768px) {
  h2 {
    font-size: 20px;
  }
}

@media (min-width: 992px) {
  h2 {
    font-size: 25px;
  }
}

@media (min-width: 1200px) {
  h2 {
    font-size: 30px;
  }
}
h3 {
  color: rgb(187, 51, 17);
  font-size: 20px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif, sans-serif;
  /* Schriftart auf Calibri setzen */
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 50%; /* Optional, um die maximale Breite zu begrenzen */
  height: auto;
  padding: 20px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box; /* Stellt sicher, dass Padding zur Gesamtbreite beiträgt */
  background-color: rgb(78, 109, 122);
  border-radius: 5px;
}

.image-container img {
  display: block; /* Entfernt den zusätzlichen unteren Abstand durch Inline-Bilder */
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 1200px;
}
.text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 70%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box; /* Stellt sicher, dass Padding zur Gesamtbreite beiträgt */
  background-color: #f0f0f0;
}
@media (max-width: 576px) {
  .text-container {
    width: 80%;
  }
}

.large-text {
  font-size: 20px;
  font-family: "Calibri", sans-serif;
  color: rgb(78, 109, 122);
}
@media (min-width: 992px) {
  .large-text {
    font-size: 25px;
  }
}
@media (min-width: 1200px) {
  .large-text {
    font-size: 30px;
  }
}
.Bildbeschreibung {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 90%;
  max-width: 1400px;
  height: auto;
  padding: 20px;
  gap: 20px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box; /* Stellt sicher, dass Padding zur Gesamtbreite beiträgt */
  border: 1px solid;
  border-color: rgb(78, 109, 122);
  border-radius: 5px;
}
@media screen and (max-width: 768px) {
  .Bildbeschreibung {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
.Bild img {
  width: 100%;
  max-width: 1400px;
  height: auto;
  max-height: 576px;
  border-radius: 5px;
}
.Beschreibung {
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  font-size: 18px; /* Vergrößert die Schriftgröße */
  font-family: "Calibri", sans-serif;
  color: rgb(78, 109, 122);
}
@media (min-width: 768px) {
  .Beschreibung {
    font-size: 20px;
  }
}
@media (min-width: 992px) {
  .Beschreibung {
    font-size: 22px;
  }
}
@media (min-width: 1200px) {
  .Beschreibung {
    font-size: 28px;
  }
}
.footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 5% auto;
}
.downloadcontainer {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  height: auto;
  padding: 20px;
  gap: 20px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box; /* Stellt sicher, dass Padding zur Gesamtbreite beiträgt */
  border: 1px solid;
  border-color: rgb(78, 109, 122);
  border-radius: 5px;
}
#kontakt {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1%;
}

.modal {
  padding: 1em;
  max-width: 576px;
  border: 0;
  box-shadow: 0 0 1em rgb(0 0 0 / 0.3);

  & > * {
    margin: 0 0 0.5rem 0;
  }
}
.modal::backdrop {
  background: rgb(0 0 0 / 0.4);
}
.Impressum {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}
#buttoncontainer-impressum {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5% auto;
}
#container_galerie {
  width: 100%;
  min-height: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.galerie {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 70%;
  height: auto;
  background-color: #f0f0f0;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.galerie img {
  width: 100%;
}
