/* ========================= */
/*        GRUNDSTIL          */
/* ========================= */
body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    background: url('hintergrund.png') repeat;
    background-size: cover;
    text-align: center;
    color: #333;
}

/* Main-Container */
.main-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
}

h1 {
    font-size: 1.8em;
   margin-top: 20px;
}

h2 {
    font-size: 1.5em;
}

img {
    max-height: 45vh;
    width: auto;
    max-width: 90%;
    margin-top: 20px;
    padding: 10;
}

.description {
    margin-top: 20px;
    padding: 40px;
    background: rgba(255,255,255,0.9);
}

/* Links */
a {
  color: #7FD7FF; /* etwas kräftigeres Hellblau */
  text-decoration: underline;
}

a:visited {
  color: #FFD966; /* helleres, klareres Gold */
}

a:hover,
a:focus {
  outline: 2px solid #FFFFFF;
}

/* ========================= */

/*        FORM-ELEMENTE      */
/* ========================= */
button,
input {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* ========================= */
/*        BUTTONS            */
/* ========================= */
button {
  background-color: #FFC000;
  color: black;
  border: none;
  border-radius: 8px;
  padding: 0.5em 1em;
  cursor: pointer;
}

button:focus {
  outline: 3px solid white;
  outline-offset: 2px;
}

/* ========================= */
/*        AUDIO PLAYER       */
/* ========================= */
.audio-player {
  max-width: 600px;
  margin: 1em auto;       /* Abstand und zentriert */
  background: #000;
  color: #fff;
  padding: 1em;
  border-radius: 8px;
  box-sizing: border-box;
}

/* Button-Reihe im Player */
.button-row,
.audio-controls {
  display: flex;
  gap: 0.5em;
  flex-wrap: wrap;
  justify-content: center;
}

/* Player-Buttons */
.audio-player button {
  background: #222;
  color: #fff;
  border: 1px solid #444;
  border-radius: 4px;
  padding: 0.6em 1em;
}

.audio-player button:hover {
  background: #333;
}

/* Slider im Player */
.audio-player input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: #666;
  border-radius: 4px;
  margin-top: 0.5em;
}

/* WebKit Slider Thumb */
.audio-player input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  margin-top: -6px;
}

/* Firefox Slider Thumb */
.audio-player input[type="range"]::-moz-range-thumb {
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: #fff;
  border: none;
}

/* Zeitanzeige */
#timeDisplay {
  margin-top: 0.5em;
  text-align: center;
}
