/* Reset einiger Standardstile */
body, h1, h2, p {
    margin: 0;
    padding: 0;
}
/* Grundlegende Stile anwenden */
body {
    font-family: Arial, sans-serif;
}

header {
    background-color: #333;
    color: white;
    padding: 10px 0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
}

nav li {
    margin: 0 20px;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}
.slideshow-container {
    position: relative;
    max-width: 800px;
    margin: auto;
}

.slides {
    display: flex;
    overflow: hidden;
    width: 100%;
    position: relative;
}

.slide {
    min-width: 100%;
    transition: 0.6s ease;
    position: relative;
}

.slide img {
    width: 100%;
    vertical-align: middle;
}

input[name="slider"] {
    display: none;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

.navigation {
    text-align: center;
    position: absolute;
    width: 100%;
    bottom: 15px;
}

.nav-dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

#slide1:checked ~ .slides .slide {
    transform: translateX(0%);
}

#slide2:checked ~ .slides .slide {
    transform: translateX(-100%);
}

#slide3:checked ~ .slides .slide {
    transform: translateX(-200%);
}

#slide1:checked ~ .navigation #dot1,
#slide2:checked ~ .navigation #dot2,
#slide3:checked ~ .navigation #dot3 {
    background-color: #717171;
}

#hero {
    background-image: url('Chess01.jpg');
    background-size: cover;
    color: white;
    text-align: center;
    padding: 150px 0;
}

#div1 {
  position: absolute;
  left: 50px;
  width: calc(100% - 100px);
  border: 1px solid black;
  background-color: yellow;
  padding: 5px;
}
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}


.cta-button, .contact-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
}

/* Weitere Stile für spezifische Abschnitte */

/* Über Uns Abschnitt */
#about {
    background-color: #f9f9f9;
    padding: 50px 0;
}

#about h2 {
    text-align: center;
    margin-bottom: 20px;
}

#about p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
/* Über Uns Abschnitt */
#Home {
    background-color: #f9f9f9;
    padding: 50px 0;
}

#Home h2 {
    text-align: center;
    margin-bottom: 20px;
}

#Home p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}


/* Veranstaltungen Abschnitt */
#events {
    background-image: url('IMG_1.jpeg');
    background-size: cover;
    color: white;
    text-align: center;
    padding: 150px 0;
}

#events h2 {
    text-align: center;
    margin-bottom: 20px;


}

#events ul {
    list-style: none;
    padding: 0;
}

#events li {
    margin-bottom: 10px;
    
}
#events a {
    color: white;
    }
#events a:hover  {
    color: blueviolet;
    }

/* Kontakt Abschnitt */
#contact {
    background-color: #f9f9f9;
    padding: 50px 0;
}

#contact h2 {
    text-align: center;
    margin-bottom: 20px;
}

#contact p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-button {
    background-color: #333;
    color: white;
}

.contact-button:hover {
    background-color: #555;
}
/* Schule */

#Schule {
    padding: 50px 0;
}

#Schule h2 {
    text-align: center;
    margin-bottom: 20px;
}

#Schule ul {
    list-style: none;
    padding: 0;
}

#Schule li {
    margin-bottom: 10px;
}

/* Über Uns Abschnitt */
#teams {
    background-color: #f9f9f9;
    padding: 50px 0;
}

#teams h2 {
    text-align: center;
    margin-bottom: 20px;
}

#teams p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
/* Footer */
footer p {
    margin: 0;
}

/* Responsives Design */
@media screen and (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav li {
        margin: 10px 0;
    }

    #hero {
        padding: 100px 0;
    }

    .container {
        padding: 10px;
    }
}
/* Stil für die Bildergalerie */
.gallery {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
}

/* Stil für jedes Bild in der Galerie */
.image {
    margin: 10px;
    text-align: center;
    width: 300px; /* Setze die Breite auf 300px */
            height: 300px;

}

.image img {
    max-width: 100%;
    height: 100%;
}

/* Stil für Bildunterschriften */
.image p {
    font-size: 14px;
    margin: 5px 0;
}
/* Allgemeine Stildefinitionen */
body {
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
}

/* Stil für die Tabelle */
table {
    border-collapse: collapse;
    width: auto;
    margin: 5px auto;
    background-color: #fff;
}

/* Stil für Tabellenüberschriften (Header) */
th {
    background-color: #333;
    color: #fff;
    padding: 5px;
}

/* Stil für Tabellenzellen (Daten) */
td {
    border: 1px solid #ddd;
    padding: 5px;
}

/* Stil für abwechselnde Zeilen (zum besseren Lesen) */
tr:nth-child(even) {
    background-color: #f2f2f2;
}


