/* Existing styles */

/* New styles for thumbnail images */
.brauni-galerie {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1em;
}

.brauni-bild {
  max-height: 150px; /* Thumbnail-Höhe */
  width: auto;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  border: 1px solid #ccc;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

.brauni-download a {
  display: inline-block;
  padding: 0.5em 1em;
  background-color: #593727;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.brauni-download a:hover {
  background-color: #a06d4a;
}

/* New styles for password input and 'Los' button */
.password-field-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0em;
  padding-right: 1em; /* Abstand zum rechten Rand */
}

.password-field-wrapper input[type="text"] {
  padding: 0.5em;
  border: 1px solid #ccc;
  border-radius: 5px;
  min-width: 200px;
}

.password-field-wrapper button {
  padding: 0.5em 1em;
  background-color: #593727;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.password-field-wrapper button:hover {
  background-color: #a06d4a;
}

/* Wrapper for three columns layout */
.brauni-galerie-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2em;
  margin-top: 2em;
}

/* Individual gallery box */
.brauni-galerie-box {
  flex: 1 1 calc(33.333% - 2em); /* Adjust width to fit three boxes with gap */
  max-width: calc(33.333% - 2em); /* Adjust width to fit three boxes with gap */
  box-sizing: border-box;
}

/* Responsive adjustments for mobile devices */
@media (max-width: 768px) {
  .brauni-galerie-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .brauni-galerie-box {
    width: 100%;
    max-width: 90%;
  }
}

/* New styles for navigation buttons */
.brauni-navigation button {
  padding: 0.5em 1em;
  background-color: #8b5e3c;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.brauni-navigation button:hover {
  background-color: #a06d4a;
}

/* Einheitlicher Hintergrund für Galerie-Boxen */
.brauni-hintergrund {
  background-color: #fcf3df;
  border: 1px solid #593727;
  border-radius: 10px;
  padding: 1em;
  box-shadow: 0 0 10px rgba(139, 94, 60, 0.1);
}

/* Spieleliste */
.brauni-spieleliste {
  list-style: none;
  padding: 0;
  margin: 0;
}

.brauni-spieleliste li {
  margin: 0.5em 0;
}

.brauni-spieleliste a {
  text-decoration: none;
  color: #8b5e3c;
  font-weight: bold;
  transition: color 0.3s ease;
}

.brauni-spieleliste a:hover {
  color: #a06d4a;
}


.buchblock {
  display: flex;
  gap: 1.5em;
  padding: 1.5em;
  margin-bottom: 2em;
  border-radius: 10px;
  align-items: flex-start;
}


.buchbild img {
  max-width: 100px;
  max-height: auto;
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .buchblock {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .buchbild {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .buchbild img {
    max-width: 80px;
    height: auto;
    margin-bottom: 1em;
    display: block;
    border-radius: 6px;
  }

  .buchtext {
    text-align: center;
  }
}
