body {
	background-color: rgb(235, 221, 221);
}

/* Logo-Container */
.logocontainer {
    display: flex;
    justify-content: center; /* Zentriert horizontal */
    align-items: center;     /* Zentriert vertikal */
    height: 300px;           /* Höhe des Containers */
    /* background-color: white; */
}

.logocontainer img {
    height: 200px;           /* Setzt die Höhe des Logos */
    max-width: 100%;         /* Verhindert verzerrte Breite */
}

.infos {
    display: flex;
    flex-direction: column; /* Setzt die Richtung auf vertikal */
    font-family: "librebaskerville";
    align-items: center;     /* Zentriert vertikal */
    text-align: center;      /* Zentriert den Text innerhalb der Kinder-Elemente */
}

.sendung-wrapper {
    text-align: center;
    width: 100%;
  }

.sendung {
    display: inline-block;
    background: #efefef;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.95rem;
    margin-top: 3rem;
    text-align: center;
    color: #444;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
  }
  
  .sendung::before {
    content: "Sendung: ";
    font-weight: 600;
    color: #000;
  }
  
.audio-player {
    background-color: #040404;
    /* border-radius: 10px; */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 80px;
    gap: 20px;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center; /* Buttons horizontal zentrieren */
}

.audio-player .button {
  animation: flyIn 2s forwards; /* Aufruf der Animation */
}


/* BUTTONS */


.buttoncontainer {
  display: flex;
  gap: 10px;
  margin-left: 20px;
}

/* Optional feste Größe, aber groß genug für Text */
.buttoncontainer .button {
  width: 130px; /* NICHT zu klein – sonst wird Text umgebrochen! */
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative; /* wichtig für ::before */
  line-height: 1.2;
  box-sizing: border-box;
}

.active-stream {
  border: 4px solid #971414;
}

/* Lautsprecher-Icon */
.active-stream::before,
.active-stream::after {
  content: "";
  position: absolute;
}

.active-stream::before {
  top: 50%;
  left: 10px;
  width: 27px;
  height: 27px;
  background-image: url('/img/lsp-re.svg');
  background-size: contain;
  background-repeat: no-repeat;
  transform: translateY(-50%);
  opacity: 0.2;
  pointer-events: none;
}

.active-stream::after {
  top: 50%;
  right: 10px;
  width: 27px;
  height: 27px;
  background-image: url('/img/lsp-li.svg');
  background-size: contain;
  background-repeat: no-repeat;
  transform: translateY(-50%);
  opacity: 0.2;
  pointer-events: none;
}

.audiotime {
  color: white;
  font-size: 18px;
  justify-content: center;
  text-align: center;
  width: 95px; /* oder z. B. 100px */
  display: inline-block;
  animation: flyIn 2s forwards; /* Aufruf der Animation */
  font-family: "digitaldream", "Courier New", monospace;
  /* border: 1px solid yellow; */
}

.player-button {
    padding: 10px 15px;
    border-radius: 40px;
    border: none;
    cursor: pointer;
    background-color: #040404;
    transition: background-color 1s;
    position: relative; /* Positionierung erforderlich für die Animation */
    animation: flyIn 2s forwards; /* Aufruf der Animation */
}

.player-button:hover {
    scale: 1.1;
}

.button:active {
    transform: scale(0.95);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

.volume-slider {
    -webkit-appearance: none;
    width: 175px; /* Breite des Sliders */
    height: 15px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
    margin: 0 10px;

    position: relative; /* Positionierung erforderlich für die Animation */
    animation: flyIn 2s forwards; /* Aufruf der Animation */
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 30px; /* Breite des Daumens */
    height: 30px; /* Höhe des Daumens */
    border-radius: 50%;
    background: #a32b2b;
    cursor: pointer;
}

.icon {
    height: 45px;
    vertical-align: middle;
}

hr {
    border-top: 2px dotted red;
    margin-top: -1rem;
}

.time {
    position: absolute; /* Absolute Positionierung */
    left: 50%; /* Zentriert das Element horizontal */
    transform: translateX(-50%); /* Verschiebt das Element um die Hälfte seiner Breite nach links */
    text-align: center; /* Zentriert den Text im Element */
    padding-bottom: 40px;
    font-family: "digitaldream", "Courier New", monospace;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    /* normale Anzeige */
        bottom: 45px;
    color: black;
    /* schwarzer Block weiße Schrift */
    /* bottom: 70px; */
    /* padding: 10px; */
    /* background-color: black; */
    /* color: white; */
}

.tooltip {
    text-decoration: none;
    border-bottom: 1px dotted;
    cursor: pointer;
}

.carousel-wrapper {
    width: 100%;
    max-width: 700px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    overflow-x: hidden; /* keine Scrollbalken außen */
  }
  
  .carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    transform: translateX(0);
    overflow-x: auto; /* erlaubt horizontales Scrollen */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* für iOS sanftes Scrollen */
  scrollbar-width: none; /* Firefox: Scrollbar ausblenden */
  scroll-snap-type: x mandatory;
  }
  
  .card {
    flex: 0 0 25%;
    background: #ffffff;
    padding: 1rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 4px 3px 10px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    opacity: 0.5;
    transform: scale(0.85);
    scroll-snap-align: center;
  }
  
  .card.current {
    flex: 0 0 40%;
    opacity: 1;
    transform: scale(1.1);
    border: 2px solid #000;
    box-shadow: 4px 3px 10px 0 rgba(0, 0, 0, 0.6);
    position: relative;
}

.card.current::before,
.card.current::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 50px;
  height: 50px;
  background-size: contain;
  background-repeat: no-repeat;
  transform: translateY(-50%);
  opacity: 0.2;
}

.card.current::before {
  left: 0px;
  background-image: url('/img/lsp-re.svg'); /* schaut nach rechts */
}

.card.current::after {
  right: 0px;
  background-image: url('/img/lsp-li.svg'); /* schaut nach links */
}
  
  .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 0.3rem;
    display: block;
  }
  
  .artist {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.2rem;
    display: block;
    color: #111;
  }
  
  .title {
    font-weight: 700;
    font-size: 1.2rem;
    display: block;
    color: #000;
  }




  @media (max-width: 400px) {
  
  .carousel {
    gap: 1rem;
    justify-content: center;
  }

  .card.previous,
.card.next {
display: none;
}

  .card {
    flex: 0 0 30%;
  }

  .card.current {
    flex: 0 0 40%;
    transform: scale(1.05);
  }
}

@media (prefers-color-scheme: dark) {
	body { 
		background-color: #350000;
        color: rgba(255, 255, 255, 0.692);
	}

    .time {
        color: rgba(255, 255, 255, 0.692);
    }

    hr {
        border-top: 2px dotted rgb(0, 0, 0);
    }
}