body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #121212; /* Dunkles Hintergrundgrau */
    color: #f0f0f0; /* Helles Grau für Text */
}
a:link, a:visited{
    color: #c62828;
    text-decoration: none;
}
a:hover{
    color: #a32222;
    text-decoration: underline;
}
.hero {
    position: relative;
    background: url('musical-bg.jpg') no-repeat center center/cover;
    height: 100vh;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: end;
    color: #ffffff;
}

.hero .overlay {
    background-color: rgba(20, 20, 40, 0.8); /* Dunkles Blaugrau mit Transparenz */
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 5vh;
    max-width: 80vw;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.btn {
    display: inline-block;
    background-color: #c62828; /* Kräftiges Rot */
    color: #ffffff !important;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin: 0 10px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #a32222; /* Dunkleres Rot */
}
#tickets .btn:hover {
    transform: scale(110%); 
    background-color: #2b2b3b;
}
#tickets div{
    display:flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin:1rem 0;
}

#tickets .btn {
/* margin: 1rem;   */
    flex: 1 1 122px;
}

.about, .team, .cast, .gallery-header, footer {
    padding: 50px;
    text-align: center;
    background-color: #1e1e2e; /* Dunkler Blaugrauer Abschnittshintergrund */
    border-top: 3px solid #c62828; /* Dünner roter Akzent */
}
.gallery{
    position: relative;
}
.gallery-head{
    z-index: 99;
    padding: 10px;
    text-align: center;
    position: absolute;
    top: 1rem;
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
}
.about h2, .team h2, .cast h2, .gallery-header h2, .gallery-head h2, footer h2 {
    color: #c62828; /* Rote Akzentfarbe für Überschriften */
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}
.gallery-head h2{
    margin: 0.5rem 1rem;
}
.team-members, .cast-grid {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-flow: wrap;
}

.band .cast-member, .ensemble .cast-member {
    text-align: center;
    background-color: #2b2b3b; /* Etwas helleres Blaugrau für Karten */
    padding: .5rem .9rem .5rem .5rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 27vw;
}

.member, .cast-member {
    text-align: center;
    background-color: #2b2b3b; /* Etwas helleres Blaugrau für Karten */
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member img, .cast-member img {
    width: 150px;
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #c62828; /* Roter Rand */
}
.main img {
    max-width: 29vw;
}
.main img:only-of-type {
    max-width: 100%;
}

.member:hover, .cast-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.7);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    background-color: #2b2b3b; /* Blaugrauer Hintergrund für das Formular */
    padding: 20px 40px 20px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.contact-form label {
    display: block;
    margin: 10px 0 5px;
    color: #f0f0f0;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: #121212; /* Sehr dunkles Grau */
    color: #f0f0f0;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: #c62828; /* Fokus in Rot */
    outline: none;
}

.contact-form button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #c62828;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #a32222;
}

footer {
    padding: 30px;
    background-color: #121212;
    color: #f0f0f0;
    text-align: center;
    border-top: 3px solid #c62828; /* Dünner roter Abschluss */
}

/* Galerie */
section.gallery {
    margin: 0;
    background-color: #121212;
    color: #fff;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.slideshow-wrapper {
    position: relative;
    width: 95%;
    height: 80vh;
    overflow: hidden;
    border-radius: 10px;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8); */
}

.slideshow-container {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
    height: 100%;
    overflow: hidden;
}

.slide {
    flex: 0 0 auto; /* Kein automatischer Abstand */
    width: 100%;    /* Exakte Breite eines Slides */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;      /* Verhindert Lücken */
    padding: 0;     /* Verhindert zusätzlichen Innenabstand */
    box-sizing: border-box; /* Padding wird nicht zur Breite addiert */
}

.slide img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    border-radius: 1rem; /* Optional für abgerundete Ecken */
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8); */
}
.navigation {
    position: absolute;
    width: 100%;
    bottom: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-evenly;
    pointer-events: none;
}

button {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 18px;
    cursor: pointer;
    pointer-events: all;
    border-radius: 50%;
    font-size: 20px;
    transition: background 0.3s ease;
    width: 3rem;
    height: 3rem;
}

button:hover {
    background: rgba(255, 255, 255, 0.3);
}
/* Button mit Schullogo */
.overlay-container {
            position: fixed;
            z-index: 99;
            top: 5rem;
            left: 0;
            transition: transform 0.3s ease-in-out;
            display: flex;
            align-items: center;
            width: 10rem;
            max-width: 30vw;
        }
        .overlay-button {
            position: absolute;
            background-color: rgba(20, 20, 40, 0.8);
            color: white;
            padding: 10px 20px;
            border-radius: 0 5px 5px 0;
            box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
            cursor: pointer;
            display: flex;
            align-items: center;
            transition: transform 0.3s ease-in-out;
        }
        .arrow-button {
            position: absolute;
            background-color: rgba(20, 20, 40, 0.4);
            color: white;
            padding: 10px 10px 10px 20px;
            border-radius: 5px;
            cursor: pointer;
            /* display: none; 
            margin-left: -10px; */
            margin: 0 0 0 -4rem;
            transition: all 0.3s ease-in-out;
        }
        .arrow-button img{
            width:2rem;
            opacity: 0.5;
            transition: all 0.3s;
        }
        .arrow-button:hover {
            background-color: rgba(20, 20, 40, 0.8);
            margin-left: 0;
        }
        .arrow-button:hover img{
            opacity: 1;
        }
img.ajg-logo{
    width: 10rem;
    max-width: 100%;
    height: auto;
}
