/* Grundlegendes Layout */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 15px;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
}

.events {
    padding: 20px;
}

.event {
    background-color: #f4f4f4;
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
}

.event h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.event p {
    font-size: 18px;
    margin: 5px 0;
}

.btn {
    display: inline-block;
    background-color: #27ae60;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
}

.btn:hover {
    background-color: #2ecc71;
}

/* Mobile responsive layout */
@media (max-width: 768px) {
    header h1 {
        font-size: 22px;
    }

    .event h3 {
        font-size: 20px;
    }

    .event p {
        font-size: 16px;
    }

    .btn {
        font-size: 16px;
    }
}

.navbar {
    background-color: #333;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 20px;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    padding: 10px;
    text-align: center;
}

.navbar a:hover {
    background-color: #2ecc71;
    border-radius: 5px;
}

.navbar i {
    font-size: 20px;
    margin-bottom: 5px;
}

#splash img {
  animation: scaleIn 2s ease-in-out;
}

@keyframes scaleIn {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
/* Standard: Light Mode */
body {
    background-color: #f8f8f8;
    color: #000;
}

/* Dark Mode automatisch */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #111;
    color: #eee;
  }
  .radio-player {
    background-color: #222;
  }

  header {
        background-color: #111;
        color: #27ae60;
    }

    .navbar {
        background-color: #222;
    }

    .navbar a:hover {
        background-color: #27ae60;
    }

    footer {
        background-color: #111;
    }
}
/* style.css */
.auth-container {
  max-width: 400px;
  margin: 80px auto;
  padding: 25px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.auth-container h2 {
  text-align: center;
  color: #27ae60;
  margin-bottom: 20px;
}

.auth-container input[type="email"],
.auth-container input[type="password"],
.auth-container input[type="text"],
.auth-container button {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.auth-container button {
  background-color: #27ae60;
  color: white;
  border: none;
  cursor: pointer;
}

.auth-container button:hover {
  background-color: #2ecc71;
}

.auth-note {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
  color: #555;
}
#pwa-auth {
  display: flex;
  gap: 15px;
  flex-direction: row;
  justify-content: center;
}
#installBtn {
      display: none;
      padding: 10px 20px;
      background-color: #00ff00;
      color: black;
      border: none;
      border-radius: 8px;
      font-size: 1rem;
      cursor: pointer;
    }
     #installPopup {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background: white;
      border: 2px solid #00ff00;
      border-radius: 10px;
      padding: 16px;
      box-shadow: 0 0 10px rgba(0,0,0,0.3);
      display: none;
      z-index: 1000;
    }
    #installPopup button {
      margin: 5px;
      padding: 8px 12px;
      background-color: #00ff00;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }
    #installPopup .close {
      background: transparent;
      color: #333;
      border: none;
      font-size: 1.2rem;
      position: absolute;
      top: 4px;
      right: 10px;
      cursor: pointer;
    }