/* styles.css - Enthält allgemeine Styles für die gesamte Website */

body {
  font-family: Arial, sans-serif;
  background: #2156ae;
  color: #fff;
  margin: 0;
  overflow-x: hidden;
  cursor: url('schlaeger-kl.png'), auto;
}

header {
  background: #2156ae;
  padding: 10px 0;
  text-align: center;
}

video {
  max-width: 800px;
  margin: 40px auto;
  height: auto;
  display: block;
  margin: 20px auto;
}
.gallery img {
  width: 350px;  /* Breite der Bilder */
  height: auto;  /* Höhe wird proportional angepasst */
  margin: 5px;   /* Abstand zwischen Bildern */
  border-radius: 8px; /* optional: abgerundete Ecken */
  object-fit: cover; /* Bild wird bei Rechteckformat gut zugeschnitten */
}


.logo {
  display: block;
  margin: 0 auto 5px auto;
  width: 400px;
  max-width: 60vw;
  background: transparent;
}

/* Navigation Styles */
nav {
  background: #183e7c;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

nav a {
  color: #fff;
  text-decoration: none;
  padding: 15px 25px;
  font-weight: bold;
  letter-spacing: 1px;
  transition: background 0.2s;
  white-space: nowrap;
}

nav a:hover {
  background: #2156ae;
}

.container {
  max-width: 900px;
  margin: 40px auto;
  background: #fff;
  color: #2156ae;
  border-radius: 12px;
  padding: 36px 24px;
  box-shadow: 0 3px 16px #123a70;
  text-align: center;
}

h1, h2 {
  color: #2156ae;
}

.ball {
  position: fixed;
  width: 20px;
  height: 20px;
  background: url('data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48Y2lyY2xlIGN4PSI4IiBjeT0iOCIgcj0iNyIgZmlsbD0iI2ZmZmZmZiIgc3Ryb2tlPSIjMjE1NmFjZSIgc3Ryb2tlLXdpZHRoPSIxIi8+PC9zdmc+') no-repeat center / contain;
  cursor: pointer;
  user-select: none;
  pointer-events: auto;
  will-change: transform;
  z-index: 1000;
}

.schedule-table {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    border-collapse: collapse;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    background: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  .schedule-table th,
  .schedule-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
  }

  .schedule-table thead {
    background-color: #183e7c;
    color: white;
  }

  .schedule-table tbody tr:hover {
    background-color: #f0f7ff;
  }

  .schedule-table td:first-child {
    font-weight: bold;
    color: #2156ae;
  }

.news-table {
  max-width: 600px; /* Etwas schmaler */
}

/* Optionales feineres Styling für News */
.news-table th, .news-table td {
  padding: 10px 12px;
  font-size: 1rem;
}

.training-info {
  max-width: 600px;
  margin: 2rem auto;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(24,62,124,0.15);
  padding: 1.5rem 2rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.info-table td {
  padding: 10px 15px;
  border-bottom: 1px solid #ddd;
  font-size: 1.1rem;
  color: #333;
}

.info-table tr:last-child td {
  border-bottom: none;
}

.info-table td:first-child {
  font-weight: 700;
  color: #183e7c;
  width: 35%;
  text-align: left;
}

.info-note {
  font-size: 1rem;
  color: #415160;
}

.fullscreen-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.fullscreen-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

.close-btn {
  position: fixed;
  top: 20px; right: 20px;
  font-size: 2rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

.ticker-container {
  width: 100%;
  overflow: hidden;
  background-color: #008000; /* oder diese Zeile ganz entfernen */
  color: #fff;
  font-size: 24px;
  white-space: nowrap;
  box-sizing: border-box;
  padding: 10px 0;
}

.ticker-text {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 15s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}



footer {
  text-align: center;
  background: #183e7c;
  color: #fff;
  padding: 24px 10px;
  margin-top: 40px;
  border-top: 3px solid #2156ae;
}

@media (max-width: 700px) {
  nav a {
    padding: 10px 8px;
  }
  .container {
    padding: 12px 3vw;
  }
}
