:root {
  --text-color: #344e41;
  --background-color: #eeedea;
  --button-background: #496e5c;
}

html,
body {
  margin: 0;
  width: 100%;
  height: auto;
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: "Bahnschrift", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

object {
  width: 100%;
  height: 50px;
}

header,
footer {
  background-color: var(--text-color);
}

main {
  padding: 0 10px 0 10px;
  width: 100dvw;
  max-width: 1180px;
  margin: 0 auto;
  flex: 1;
  box-sizing: border-box;
}

a {
  color: var(--text-color);
  text-decoration: none;
  position: relative;
}

a::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--text-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

a:hover::before {
  transform: scaleX(1);
}

#liste {
  list-style-type: none;
  padding-left: 5px;
  margin-bottom: 30px;
}

.karte {
  width: 640px;
  max-width: 100%;
  height: 600px;
}

.svgheader {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 40px;
  gap: 10px;
}

.svglist {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
  height: 25px;
}

.svglist p {
  font-size: 20px;
}

svg {
  width: 25px;
  height: 25px;
  fill: var(--text-color);
}

.noTopMargin {
  margin-top: 0;
}

h2 {
  font-size: 28px;
  text-decoration: underline;
}

h6 {
  font-size: 16px;
  margin: 0;
}

ul {
  margin: 0;
  padding-left: 30px;
}

/* DROPDOWN AUSWAHL KIND/ERWACHSEN/SENIOR */
.accordion {
  background-color: var(--button-background);
  border: 3px solid var(--text-color);
  border-radius: 5px;
  margin: 10px 0;
}

.accordion-header {
  color: var(--background-color);
  background-color: var(--text-color);
  cursor: pointer;
  padding: 10px;
  text-align: left;
  font-weight: bold;
  font-size: 28px;
}

.accordion-content {
  color: var(--background-color);
  display: none;
  padding: 10px;
  font-size: 24px;
}

.accordion-content.show {
  display: block;
}

audio {
  max-width: 100%;
}

#footer,
#header {
  height: 50px;
  overflow: hidden;
}

.quiz-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz-container button {
  padding: 20px;
  background-color: var(--text-color);
  color: var(--background-color);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  font-size: 28px;
}

.quiz-container hr {
  border-color: #d5d6d693;
  margin: 5px 0 5px 0;
}

.quiz-container button:hover {
  color: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.question {
  color: var(--background-color);
  font-size: 35px;
  display: none;
  margin: 0;
}

.next {
  display: none;
}

.answerForm {
  display: none;
  gap: 10px;
}

input[type="radio"] {
  display: none;
}

/* Style für das Label, das wie eine Checkbox aussehen soll */
label {
  color: var(--background-color);
  display: inline-flex;
  align-items: center;
  position: relative;
  padding: 2px 10px 2px 50px;
  cursor: pointer;
  font-size: 35px;
  user-select: none;
  border-radius: 5px;
  width: calc(100% - 60px);
  word-break: break-word; /* Alternative Methode */
}

/* Erstelle das visuelle "Checkbox"-Symbol */
label::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-color: var(--background-color);
  border: 2px solid #ccc;
  border-radius: 5px;
}

input[type="radio"]:checked + label::before {
  background-color: var(--text-color);
  border-color: #a7a5a286;
}

input[type="radio"]:checked + label {
  background-color: #d5d6d62f;
}

label::after {
  content: "✓";
  position: absolute;
  left: 11px;
  top: calc(50% - 19px);
  width: 10px;
  height: 10px;
  color: var(--background-color);
  display: none;
  font-size: 27px;
}

input[type="radio"]:checked + label::after {
  display: block;
}

input[type="radio"]:checked + label.correct {
  background-color: #00ff8493;
}

input[type="radio"]:checked + label.wrong {
  background-color: #d312127e;
}

.correct {
  background-color: #00ff8493;
}

.tourselection {
  margin-bottom: 20px;
}

.tourselection button {
  font-size: 20px;
  color: var(--text-color);
  border-color: var(--text-color);
  border-radius: 10px;
  border-style: solid;
  padding: 10px;
  cursor: pointer;
  user-select: none;
}

.tourselection button:focus,
.tourselection button:active {
  outline: none;
  background-color: transparent;
}

.tourselection button.active {
  color: var(--background-color);
  background-color: var(--button-background);
  cursor: default;
  transition: background-color 0.1s ease-in;
}

.hidden {
  display: none;
}

a,
button,
input,
select,
div {
  -webkit-tap-highlight-color: transparent;
}

.einfuehrung {
  font-size: 1.25rem;
}

#intro {
  display: none;
  flex-direction: column;
}

h1 {
  margin-bottom: 10px;
}

.bilder {
  display: flex;
  gap: 8px;
}

.bild-container {
  display: flex;
  flex-direction: column;
}

.bild-container img {
  max-width: 100%;
  width: 250px;
  border-radius: 5px;
  -webkit-box-shadow: 10px 10px 32px -14px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 10px 10px 32px -14px rgba(0, 0, 0, 0.75);
  box-shadow: 10px 10px 32px -14px rgba(0, 0, 0, 0.75);
}

.bild-container span {
  font-size: 10px;
  margin-top: 4px;
}

#bundsandstein {
  height: 100%;
  width: 560px;
}

#teiche {
  width: 400px;
}

#burgbilder .bild-container img {
  width: auto;
  height: 250px;
}

#burgbilder {
  flex-wrap: wrap;
}

.brueckebilder {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.brueckebilder img {
  width: 273px;
}

.bild-header {
  font-size: 24px;
  margin-bottom: 0px;
}

@media only screen and (max-width: 605px) {
  #footerObject {
    height: 102px;
  }

  #footer {
    height: 102px;
  }
}

@media only screen and (max-width: 330px) {
  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  .accordion-header {
    font-size: 20px;
  }

  p {
    font-size: 12px;
  }

  svg {
    width: 12px;
    height: 12px;
  }

  .svglist p {
    font-size: 12px;
  }

  .svglist {
    height: 17px;
  }

  .bild-header {
    font-size: 16px;
  }
}

@media only screen and (max-width: 430px) {
  #footerObject {
    height: 87px;
  }

  #footer {
    height: 87px;
  }
}
