/* Global Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* Maximalbreite des Containers festlegen und zentrieren */
.container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 20px 20px 0px 20px;
    width: 100%;
}

/* Soundboard Buttons */
.sound-button {
    padding: 20px;
    background-color: #0055a5;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    text-align: center;
    transition: background-color 0.3s ease;
    margin-bottom: 15px;

    /* Gleiche Höhe und Breite */
    height: 120px;
    width: 120px;

    /* Textausrichtung und Zeilenumbrüche */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    word-wrap: break-word;
    overflow: hidden;
}

.sound-button span {
    display: block;
    max-height: 100%;
    overflow: hidden;
    text-overflow: ellipsis; /* Schneidet den Text ab, wenn er zu lang ist */
}

.sound-button:hover {
    background-color: #003366;
}

/* Button Grid */
.row.d-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* Sorgt dafür, dass die Buttons linksbündig sind */
    gap: 5px; /* Abstand zwischen den Buttons */
}

.col-sm-6, .col-md-4 {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Spezifische Styles für Gruppen, z.B. Torhymne ausblenden */
.col-sm-12.group-container.Torhymne {
    display: none;
}


/* Footer Styles */
.footer {
    background-color: #003366; /* Gleiche Farbe wie die Navbar */
    color: #fff; /* Weißer Text für Kontrast */
    text-align: center; /* Text zentrieren */
    padding: 20px 0; /* Vertikaler Abstand im Footer */
    font-size: 1.2rem; /* Größere Schrift für besseren Lesefluss */
    margin-top: 40px; /* Platz oberhalb des Footers */
    border-top: 3px solid #0055a5; /* Optionale obere Abgrenzung */
}

.footer a {
    color: #fff;
    text-decoration: none; /* Entfernt die Unterstreichung von Links */
}

.footer a:hover {
    text-decoration: underline; /* Unterstreichung bei Hover */
}
/* Form Styles */
form {
    background-color: white;
    padding: 20px;
    border-radius: 10px;

}

form .form-group {
    margin-bottom: 20px;
}

form .form-group label {
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
}

form .form-group input,
form .form-group select,
form .form-group button {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 1rem;
}

form .form-group button {
    background-color: #0055a5;
    color: white;
    border: none;
    transition: background-color 0.3s ease;
}

form .form-group button:hover {
    background-color: #003366;
}

/* Help Section Styles */
.help-section {
    margin-bottom: 40px;
}

.help-section h3 {
    color: #0055a5;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.help-section p,
.help-section ol,
.help-section ul {
    margin-bottom: 20px;
    font-size: 1rem;
}

/* List Group Styles */
.list-group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    margin-left: 0; /* Entferne eventuell vorhandenes Margin auf der linken Seite */
    margin-right: 0; /* Entferne eventuell vorhandenes Margin auf der rechten Seite */
    width: 100%; /* Stelle sicher, dass das Listenelement die gesamte Breite einnimmt */
    box-sizing: border-box; /* Einschließen von Padding und Border in die Breitenberechnung */
}

.list-group-item form {
    margin: 0;
    width: auto;
}

.container {
    padding-left: 0; /* Entferne das Padding von der linken Seite des Containers */
    padding-right: 0; /* Entferne das Padding von der rechten Seite des Containers */
}

ul.list-group {
    padding-left: 0; /* Entferne das Padding vom Listencontainer */
}

/* Animation für blinkende Buttons */
.blinking {
    animation: blink 1s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}



/* Responsive Anpassungen für Tablets */
@media (max-width: 1024px) {
    .sound-button {
        height: 120px;
        width: 120px; /* Kleinere Größe der Buttons für Tablets */
        font-size: 0.9rem; /* Kleinere Schriftgröße */
    }

    .footer {
        font-size: 1rem; /* Kleinere Schriftgröße im Footer */
    }

    /* Passe das Grid an, damit es auf Tablets besser passt */
    .row.d-flex {
        justify-content: space-around; /* Mehr Platz für die Buttons auf Tablets */
    }
}

/* Responsive Anpassungen für Mobilgeräte */
@media (max-width: 768px) {
    .sound-button {
        height: 100px;
        width: 100px; /* Noch kleinere Größe der Buttons für Mobilgeräte */
        font-size: 0.8rem; /* Noch kleinere Schriftgröße */
    }

    .footer {
        font-size: 0.9rem; /* Kleinere Schriftgröße im Footer */
    }

    /* Passe das Grid für Mobilgeräte an */
    .row.d-flex {
        justify-content: center; /* Zentriere die Buttons auf Mobilgeräten */
        gap: 10px; /* Mehr Abstand zwischen den Buttons auf Mobilgeräten */
    }

    .col-sm-6, .col-md-4 {
        flex: 1 1 50%; /* Zwei Buttons pro Zeile auf Mobilgeräten */
        max-width: 50%;
    }

    /* Vertikale Ausrichtung für kleinere Bildschirme */
    .group-container {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .sound-button {
        height: 80px;
        width: 80px; /* Kleinste Größe der Buttons für sehr kleine Mobilgeräte */
        font-size: 0.7rem; /* Kleinere Schriftgröße */
    }

    /* Passe das Grid für sehr kleine Mobilgeräte an */
    .col-sm-6, .col-md-4 {
        flex: 1 1 100%; /* Ein Button pro Zeile auf sehr kleinen Bildschirmen */
        max-width: 100%;
    }

    .footer {
        font-size: 0.8rem; /* Noch kleinere Schriftgröße im Footer */
    }

    .row.d-flex {
        justify-content: center; /* Zentriere die Buttons vollständig */
        gap: 5px; /* Kleinerer Abstand zwischen den Buttons */
    }
}
button.sound-button.Spielunterbrechnung.w-100 {
    width: -webkit-fill-available;
}
