/* Gerüst */
body {
  margin-top: 1%;
  margin-left: 2%;
  margin-right: 2%;
  background-color: #bbb2b2;
  font-family: "Times New Roman", Times, serif;
}
.website {
  background-color: #c7bdbd;
}
article {
  padding-left: 5px;
  padding-right: 5px;
}
header {
  background-color: #999595;
  display: flex;
  align-items: center;
  padding: 30px;
  justify-content: space-between;
}
header img {
  margin-left: 20px;
  margin-right: 20px;
  max-width: 100%;
  height: auto;
}
.oeffnungszeiten {
  margin-left: auto;
  font-size: larger;
  font-weight: bold;
}
nav {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  background-color: #8f8a8a;
}
nav a {
  margin-top: 5px;
  margin-bottom: 5px;
  margin-right: 17px;
  margin-left: 17px;
  padding-left: 3px;
  padding-right: 3px;
  color: rgba(146, 53, 19, 0.863);
  text-decoration: none;
  font-size: 30px;
  font-weight: bold;
}
.dropdown button {
  font-family: "Times New Roman", Times, serif;
  color: rgba(146, 53, 19, 0.863);
  text-decoration: none;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  background-color: transparent;
}
.dropdown a {
  display: block;
  color: rgba(146, 53, 19, 0.863);
  text-decoration: none;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-left: 10px;
  margin-right: 10px;
}
.dropdown .dropdown-content {
  display: none;
  position: absolute;
  background-color: #8f8a8a;
  box-shadow: 2px 2px 5px rgba(17, 17, 17, 0.39);
}
.dropdown:hover .dropdown-content {
  display: block;
}
.dropdown a:hover {
  background-color: #999595;
}
.dropdown button:hover {
  background-color: #999595;
}
nav a:hover {
  background-color: #999595;
}
footer {
  background-color: #999595;
  padding: 5px;
  margin-top: 20px;
  text-align: center;
}
footer .textfooter {
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer .textfooter div:first-child {
  order: -1;
  width: 100%;
  text-align: center;
}
footer .textfooter div:nth-child(2) {
  order: 1;
}

/* Content */
.Home .Inhalt {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.Home .Inhalt .oeffnungszeiten {
  width: 45%;
  flex-shrink: 0;
  margin-left: 20px;
  margin-top: 20px;
  padding-right: 2%;
  text-align: end;
}
.Home .Inhalt .oeffnungszeiten a {
  color: black;
}
.Home .Inhalt .oeffnungszeiten a:hover {
  color: rgba(0, 0, 0, 0.527);
}
.Home .Inhalt .aktuelles {
  margin-right: 10px;
  text-align: justify;
  font-size: larger;
}
.Home .Inhalt .aktuelles img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0px;
}
.Home h1 {
  justify-content: center;
  text-align: center;
  margin-bottom: 40px;
  font-size: xx-large;
}
.Home .instagram {
  display: flex;
  justify-content: center;
}
.Home .instagram a {
  font-size: x-large;
  font-weight: bold;
  color: black;
  margin-top: 20px;
}
.Home .instagram a:hover {
  color: rgba(0, 0, 0, 0.527);
}
.ÜberUns {
  text-align: center;
  padding-left: 100px;
  padding-right: 100px;
  font-size: larger;
}
.ÜberUns a {
  color: black;
}
.kontakt {
  text-align: left;
  padding-left: 100px;
  padding-right: 100px;
  font-size: x-large;
  line-height: 150%;
}
.Biere {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-around;
}
.Biere .BierSorte {
  height: 180px;
  margin: 1%;
  margin-left: 10%;
  margin-right: 10%;
  border-radius: 25px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background-color: rgb(230, 223, 212);
}
.Biere .BierSorte h2 {
  margin-bottom: 0;
}
.Biere .BierSorte img {
  width: 140px;
  height: auto;
  max-height: 140px;
  object-fit: contain;
  margin: 0 10px;
  border-radius: 8px; /* optional */
}
.Biere .BierSorte .BierBeschreibung {
  width: 60%;
  padding-right: 2%;
  font-family: Georgia, "Times New Roman", Times, serif;
  justify-content: center;
}
.Biere .text h1 {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: xx-large;
  font-weight: bolder;
}
.Biere .text p {
  text-align: center;
  padding-left: 100px;
  padding-right: 100px;
  font-size: larger;
}
.Biere .text a {
  color: black;
}
.Verkauf {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.Verkauf a {
  background-color: #7b857d;
  border-radius: 42px;
  display: inline-block;
  cursor: pointer;
  color: black;
  font-size: 19px;
  padding: 16px 31px;
  text-decoration: none;
  text-shadow: 0px 1px 0px #020202af;
  margin: 1%;
}
.Verkauf a:hover {
  background-color: #71756f9f;
}
.Veranstaltungen {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  text-align: center;
  background-color: #fdfdfd;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

.Veranstaltungen h2 {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #2c3e50;
  font-weight: bold;
  border-bottom: 3px solid #c49a6c;
  padding-bottom: 10px;
  width: 100%;
  max-width: 600px;
}

.Veranstaltungen h3 {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #555;
}

.Veranstaltungen .table-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 30px;
}

.Veranstaltungen .Termine table {
  border-collapse: collapse;
  background-color: #fff;
  border: 1px solid #ccc;
  width: 100%;
  max-width: 600px;  /* Maximale Breite der Tabelle */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.Veranstaltungen .Termine td {
  border: 1px solid #ddd;
  padding: 16px 24px;
  font-size: 1.1em;
  text-align: center;
}

.Veranstaltungen .Termine tr:nth-child(even) {
  background-color: #f9f9f9;
}

.Veranstaltungen a {
  color: #c49a6c;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.Veranstaltungen a:hover {
  color: #a0753f;
}

.Veranstaltungen a b {
  text-decoration: underline;
}


.Verleih .bilder {
  display: flex; /* Use flexbox to align images side by side */
  flex-wrap: wrap; /* Allow wrapping if there are too many images */
  justify-content: center; /* Center the images */
  gap: 10px; /* Add some space between images */
}
.Verleih .bilder img {
  width: 20%;
  height: auto;
  border-radius: 25px;
  margin-top: 1%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-left: 3%;
  margin-right: 3%;
}
.Verleih {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.Verleih h2 {
  font-weight: bold;
  font-size: xx-large;
}
.Verleih .text {
  font-size: x-large;
  padding-left: 2%;
  padding-right: 2%;
  text-align: center;
}
.Verleih ul {
  list-style-position: inside; /* Ensure bullet points are inside the text */
  padding-left: 0; /* Remove default padding */
  margin-left: 5%; /* Remove default margin */
  margin-right: 5%;
  align-items: left;
  text-align: left; /* Align list items to the left */
}
.Hofverkauf p {
    font-size: x-large;
    padding-left: 2%;
    padding-right: 2%;
    text-align: center;
}
.Hofverkauf h1 {
    font-weight: bold;
    font-size: xx-large;
    text-align: center;
}
.gastronomie {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-around;
}
.gastronomie .Gastro {
  height: 180px;
  margin: 1%;
  margin-left: 20%;
  margin-right: 20%;
  border-radius: 25px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background-color: rgb(230, 223, 212);
}
.gastronomie .Gastro h2 {
  margin-bottom: 0;
  font-size: x-large;
}
.gastronomie .Gastro img {
  height: 60%;
  width: auto;
}
.gastronomie .Gastro .GastroBeschreibung {
  width: 60%;
  padding-right: 2%;
  font-family: Georgia, "Times New Roman", Times, serif;
  justify-content: center;
  font-size: larger; /* Increase text size */
  text-align: center; /* Center the text */
}
.gastronomie h1 {
  text-align: center;
  margin-top: 2%;
  margin-bottom: 20px;
  font-size: xx-large;
  font-weight: bolder;
}


/* Media Queries für kleinere Bildschirme */
@media (max-width: 768px) {
  /* Header bleibt unverändert */
  header {
    flex-direction: column;
    align-items: center;
    padding: 15px;
  }
  header img {
    width: 80%;
    height: auto;
  }

  .oeffnungszeiten {
    text-align: center;
    margin-left: 0;
    margin-top: 20px;
  }

  /* Navigation bleibt unverändert */
  nav {
    flex-direction: column;
    align-items: center;
    padding-top: 10px;
  }
  nav a {
    font-size: 20px; /* Reduziere die Schriftgröße */
    margin: 8px 0; /* Reduziere die Abstände */
    padding: 8px 16px; /* Verringere das Padding */
  }
  .dropdown button {
    font-size: 20px; /* Reduziere die Schriftgröße */
    margin: 8px 0; /* Reduziere die Abstände */
    padding: 8px 16px; /* Verringere das Padding */
  }

  /* Inhalt */
  .Home .Inhalt {
    flex-direction: column;
    align-items: center;
  }
  .Home .Inhalt .oeffnungszeiten {
    width: 100%;
    text-align: center;
    margin-left: 0;
    margin-top: 20px;
  }
  .Home .Inhalt .aktuelles {
    width: 100%;
    font-size: 18px;
    text-align: center;
  }
  .Home .instagram a {
    font-size: large;
    margin-top: 30px;
  }
  .Home .instagram a:visited {
    color: black;
  }
  .kontakt {
    padding-left: 20px;
    padding-right: 20px;
    font-size: medium;
  }
  .Biere .BierSorte {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 20px auto; /* Zentriert das Element und fügt Abstand darunter hinzu */
    height: auto;
    flex-direction: column;
    padding: 10px;
    box-sizing: border-box; /* Padding wird in die Gesamtbreite einbezogen */
    overflow: hidden; /* Verhindert Überlauf */
  }
  .Biere .BierSorte .BierBeschreibung {
    width: 100%;
    padding-right: 0;
  }
 
  .Biere .text p {
    padding-left: 20px;
    padding-right: 20px;
    font-size: medium;
  }
  .Biere .text h1 {
    font-size: xx-large;
  }
  .Verkauf a {
    font-size: 16px;
    padding: 12px 25px;
  }
  .Verleih .bilder img {
    width: 100%; /* Full width for mobile */
    margin-left: 0;
    margin-right: 0;
  }
  .Semninare div {
    margin-left: 20px; /* Add more space between divs */
    margin-right: 20px;
  }
  .gastronomie {
    flex-direction: column;
    align-items: center;
  }
  .gastronomie .Gastro {
    width: 100%;
    margin: 10px 0;
    height: auto;
    flex-direction: column;
    padding: 10px;
    box-sizing: border-box;
  }
  .gastronomie .Gastro img {
    width: 20%;
    height: auto;
  }
  .gastronomie .Gastro .GastroBeschreibung {
    width: 100%;
    padding-right: 0;
    text-align: center;
  }
  .gastronomie h1 {
    font-size: xx-large;
  }
}

@media (max-width: 480px) {
  /* Header bleibt unverändert */
  header img {
    width: 70%;
  }

  .Home .Inhalt .oeffnungszeiten {
    font-size: medium;
  }
  .Home .Inhalt .aktuelles {
    font-size: 16px;
  }
  .Home .instagram a {
    font-size: medium;
  }

  /* Inhalt */
  .Biere .text p {
    font-size: small;
  }
  .Biere .text h1 {
    font-size: large;
  }
  .Verkauf a {
    font-size: 14px;
    padding: 10px 20px;
  }
  .Verleih .bilder {
    flex-direction: column; /* Stack images vertically */
    align-items: center; /* Center images */
  }
  .Verleih .bilder img {
    width: 100%; /* Full width for smaller screens */
    margin-left: 0;
    margin-right: 0;
  }
  .Semninare div {
    margin-left: 20px; /* Add more space between divs */
    margin-right: 20px;
  }
  .gastronomie .Gastro img {
    width: 50%;
    height: auto;
  }
  .gastronomie h1 {
    font-size: xx-large;
  }
  .ÜberUns {
    padding-left: 20px;
    padding-right: 20px;
    font-size: medium;
  }
}
