/* Styles für Header und Navigation */
html {
    overflow-x: hidden; /* verhindert horizontales Scrollen */
    height: 100%; /* Setzt die Höhe auf 100% des Viewports */
    background: linear-gradient(to bottom, #aae3ff, #ff9c9c); /* Verlauf von Weiß nach einem leicht abweichenden Grauton */   
    background-repeat: no-repeat;
    background-attachment: fixed; 
}
body{
    overflow-x: hidden; /* verhindert horizontales Scrollen */
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; 
    margin: 0; /* Entfernt den Standard-Margin des Body-Elements */
}

/* Navigation Hintergrund */
header {
    background: linear-gradient(to right, #004b92, #2294ff); /* Bierpong-Rot Verlauf */
    padding: 15px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3); /* leichter Schatten */
    top: 0;
    z-index: 1000;
}

/* Liste entfernen & horizontale Anordnung */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center; /* zentriert die Links */
    align-items: center;
    margin: 0;
    padding: 0;
}

/* Navigation Links */
nav ul li {
    margin: 0 20px; /* Abstand zwischen Links */
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

/* Hover-Effekt */
nav ul li a:hover {
    background-color: rgba(255,255,255,0.2);
    color: #ffd700; /* goldfarbener Akzent bei Hover */
    transform: translateY(-2px); /* leichtes Hochheben */
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Aktiver Link (optional, wenn man Klasse "active" vergibt) */
nav ul li a.active {
    background-color: rgba(255,255,255,0.3);
    color: #ffd700;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Responsive für kleinere Bildschirme */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }
    nav ul li {
        margin: 10px 0;
    }
}


/* Stil für den Inhalt */
#content {
    padding: 20px;
}

/* Footer-Stile */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}


/*Spiele.PHP*/

/* Checkbox-Stile */
input[type="checkbox"] {
    transform: scale(1.5); /* Vergrößert die Checkbox */
    margin-right: 5px; /* Fügt einen Abstand zwischen der Checkbox und dem Text hinzu */
    /* Benutzerdefinierte Stile für das Aussehen */
    margin-top: 1.3%;
    margin-bottom: 0.4%;
}
/* Button-Stile */
input[type="submit"] {
    background-color: #4CAF50; /* Grüne Hintergrundfarbe */
    color: white; /* Weiße Schriftfarbe */
    padding: 10px 20px; /* Innenabstand für den Text */
    border: 2px solid black; /* Keine Rahmen */
    border-radius: 5px; /* Abgerundete Ecken */
    cursor: pointer; /* Zeige die Hand, wenn über dem Button */
    /* Benutzerdefinierte Stile für das Aussehen */
    margin-bottom: 0.4%;
}
/* Bearbeiten-Link-Stile */
a[href="schiri.php"] {
    color: #007bff; /* Standard-Schriftfarbe */
    transition: color 0.3s; /* Übergangseffekt */
    margin-bottom: 0.4%;
}
a[href="schiri.php"]:hover {
    color: #0056b3; /* Schriftfarbe bei Hover */
    /* Benutzerdefinierte Stile für das Aussehen */
}


table, tr, td, th{
    border: 1px solid;
    text-align: center;
}
.spielplan{
    padding: 8px;
}
#regeln_liste{
    font-size: 180%;
}

#regeln_liste ul li{
    font-size: 120%;
}
/* Container für Bestätigen-Form */
#unconfirmed-actions {
    margin-top: 20px; /* Abstand oberhalb */
    margin-bottom: 30px; /* Abstand nach unten */
    display: flex;
    flex-direction: column; /* Elemente untereinander */
    align-items: center; /* zentriert horizontal */
    gap: 10px; /* Abstand zwischen Checkbox, Button und Link */
}

#unconfirmed-actions input[type="checkbox"] {
    transform: scale(1.2); /* Checkbox etwas größer */
}

#unconfirmed-actions input[type="submit"] {
    padding: 8px 16px; /* Button größer machen */
    font-size: 14px;
    margin-top: 10px; /* Abstand oberhalb des Buttons */
}

#unconfirmed-actions a {
    text-decoration: none;
    color: #0077cc;
    font-weight: bold;
}
.no-unconfirmed {
    font-size: 15px;   /* Schriftgröße anpassen */
    text-align: center;
    padding: 15px 0;   /* Abstand oben und unten */
}








/*index.html*/
.image{
    display: block;
    max-width: 100%; /* passt sich dem Container an */
    height: auto; /* proportional skalieren */
    margin: 10px auto; /* zentriert die Bilder */
    border: 2px solid black;
    border-radius: 2%;
}

.intro-text {
    display: block;
    max-width: 100%; /* passt sich dem Container an */
    height: auto; /* proportional skalieren */
    margin: 10px auto; /* zentriert die Bilder */
    text-align: center;
    padding: 30px;
    margin: 20px auto;
    width: 90%;
    border-radius: 15px;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.2);
}

.intro-text h1 {
    font-size: 3em; /* deutlich größer */
    font-weight: bold;
    color: #b30000; /* Rot als Akzentfarbe */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1); /* leichter Schatten für bessere Lesbarkeit */
}

.intro-text p {
    font-size: 1.6em; /* größerer Text */
    line-height: 1.8em;
    color: #222; /* dunkler Text */
    margin-bottom: 15px;
}

.intro-text p:last-child {
    font-weight: bold;
    color: #008a00; /* Grün für Motivation */
    font-size: 1.8em; /* noch größer für Hervorhebung */
}

.info-box {
    background: linear-gradient(to bottom right, #ffffff, #ffeaea); /* sanfter Verlauf */
    border: 2px solid #000000; /* kräftige rote Umrandung passend zum Thema Bierpong */
    border-radius: 12px;
    padding: 25px;
    width: 80%;
    margin: 25px auto;
    text-align: left;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    color: #222;
    box-shadow: 6px 6px 18px rgba(0,0,0,0.2);
}

.info-box h2 {
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.info-box ul {
    padding-left: 25px;
}

.info-box li {
    font-size: 1.2em;
    line-height: 1.6em;
    margin-bottom: 12px;
}

.info-box .gruen {
    color: #008a00;
    font-weight: bold;
}

.info-box .rot {
    color: #9e0000;
    font-weight: bold;
}
/* Intro-Text auf Handy */
@media (max-width: 768px) {
    .intro-text {
        width: 95%; /* fast volle Breite */
        padding: 20px;
    }
}
.image-gallery {
    display: flex;
    flex-wrap: wrap; /* damit sie umbrechen, wenn der Platz nicht reicht */
    justify-content: center; /* zentriert die Bilder */
    gap: 15px; /* Abstand zwischen den Bildern */
    margin-top: 20px;
}

.image-gallery img {
    display: block;
    border: 2px solid black;
    border-radius: 2%;
    height: auto;
}











/* Responsive Navigation */
@media (max-width: 768px) {
    nav ul {
        flex-direction: row; /* bleibt horizontal */
        flex-wrap: wrap; /* bricht um, falls nötig */
        justify-content: center;
    }
    nav ul li {
        margin: 5px 10px; /* kleinere Abstände auf Handy */
    }
    nav ul li a {
        font-size: 1em; /* kleinere Schriftgröße */
        padding: 8px 12px; /* kleinere Buttons */
    }
}
