/*https://github.com/asciidoctor/asciidoctor-reveal.js/issues/199*/
:root {
    --leo-green: #2e7d32;
    --leo-green-dark: #1b5e20;
    --bg-light: #f9fbf9;
    --text-color: #222;
    --card-bg: rgba(255, 255, 255, 0.95);
    --card-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.reveal {
    font-size: 32px;
    font-family: 'Segoe UI', system-ui, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-light);
}

.reveal h1,
.reveal h2,
.reveal h3 {
    font-weight: 700;
    color: var(--leo-green-dark);
    margin-bottom: 1.2em;
}

.reveal .slides section {
    padding: 20px 40px;
    box-sizing: border-box;
    /*background-color: var(--bg-light);*/
}

.card {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 1.4em 1.8em;
    margin: 0 auto 1.8em;
    max-width: 850px;
    box-shadow: var(--card-shadow);
    line-height: 1.6;
    font-size: 1.05em;
}

.card ul {
    padding-left: 1.4em;
    margin: 0.6em 0;
}

.card li {
    margin-bottom: 0.7em;
}

.card li strong {
    color: var(--leo-green);
}

.reveal p > img,
.reveal .imageblock img {
    display: block;
    margin: 1.2em auto;
    max-width: 90%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    object-fit: contain;
}

.reveal p > img[width="800"],
.reveal p > img[width="700"] {
    max-height: 65vh;
    width: auto;
}

.title-slide h1 {
    font-size: 4.2em;
    color: var(--leo-green);
    margin-bottom: 0.6em;
}

.subtitle {
    font-size: 1.6em;
    color: #555;
    margin-top: -0.4em;
    font-weight: 500;
}

.footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    font-size: 0.8em;
    color: #777;
    z-index: 10;
}

.team-list,
.center .card {
    text-align: center;
}

.team-list li,
.center .card li {
    display: block;
    margin: 0.5em 0;
}

.transparent-box {
    background-color: rgba(0, 0, 0, 0.3); /* leicht transparentes Schwarz */
    color: #fff;
    padding: 1.4em 1.8em;
    border-radius: 14px;
    max-width: 80%;
    margin: 2em auto;
    backdrop-filter: blur(4px); /* „Glas“-Effekt */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.title-overlay {
    background: rgba(140, 140, 140, 0.4);
    color: #fff !important;
    padding: 0.2em 0.6em;
    border-radius: 8px;
    backdrop-filter: blur(3px);
}

@media (max-width: 1024px) {
    .reveal {
        font-size: 28px;
    }
    .card {
        padding: 1.2em 1.4em;
        font-size: 1em;
    }
    .reveal p > img {
        max-width: 95%;
    }
}

.reveal .slides section .image-container img {
    display: block;
    margin: 40px auto;
    max-width: 70%;
    height: auto;
}

.reveal .slides section .caption {
    position: absolute;
    bottom: 30px;
    left: 40px;
    font-size: 0.9em;
    opacity: 0.8;
    color: #333;
    z-index: 10;
}
