.schattentitel {
    color: #008000;
    text-decoration: underline;
    text-align: center;
    font-size: 20pt;
    font-family: sans-serif;
    text-shadow: 11px 15px 18px #f3bf5f, -11px -8px 18px #3cf3d4;
}

.schattenplatz {
    color: blue;
    text-align: center;
    font-size: 15pt;
    font-family: sans-serif;
    text-shadow: 11px 15px 15px #3cf3d4, -11px -8px 15px #f3bf5f;
}

#Bgröße {
    width: 650px;
    margin: 0 auto;
}

.text {
    font-weight: bolder;
    text-align: center;
    color: aliceblue;
}

table {
    border-collapse: separate;
    border-spacing: 0.2em;
    margin-left: 2em;
    box-shadow: 0 0 0.1em #666;
    position: relative;
    z-index: 1;
}

th,
td {
    padding: 0.2em 0.5em;
    border-radius: 0.1em;
}

thead th {
    background-color: #ffebe6;
    color: #c82f04;
}

td {
    text-align: right;
    box-shadow: inset 1px 3px 5px -3px rgb(0 0 0 / 0.5);
}

td:empty {
    box-shadow: none;
}

caption {
    color: white;
    background: #c32e04;
    font-size: 1.5em;
    box-shadow: 0.1em 0.1em 0.1em 0 hsl(0, 0%, 50%);
    padding: 0.2em 0.2em 0.2em 2em;
    width: 10em;
    margin-left: -.6em;
    position: relative;
}

caption::before {
    content: "";
    position: absolute;
    display: block;
    height: 0;
    width: 0;
    top: 1em;
    left: -0.6em;
    border-style: solid;
    border-width: 0.6em;
    border-color: transparent hsl(13, 96%, 35%) transparent transparent;
    z-index: -1;
}

tbody tr:hover,
tfoot tr:hover {
    background-color: #fffbf0;
}

tbody td:hover,
tfoot td:hover {
    background-color: #fce4a2;
}


/* Horizontaler und Vertikaler Abstand */

.gallery {
    margin-right: 20px;
    margin-bottom: 5px;
    padding-right: 20px;
    padding-bottom: 5px;
}

.gallery a img {
    width: 6em;
}

.gallery a {
    text-decoration: none;
}

[hidden] {
    display: none;
}

dialog img {
    padding: 0;
    margin: 0;
    width: 100%;
    /* Bild passt sich an verfügbaren Raum im dialog an */
}

dialog {
    position: relative;
}

dialog::backdrop {
    background-color: #07405f;
    opacity: 0.5;
}

figure {
    padding: 0em;
    margin: 0em;
}

#lightbox {
    border: thin solid #aaa;
    left: 1em;
    position: fixed;
    top: 1em;
}

#lightbox img {
    display: block;
    margin: auto;
    max-width: 90vw;
    max-height: 80vh;
}

#lightbox figcaption {
    font-style: italic;
    text-align: center;
}

#lightbox button {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #c82f04;
    color: white;
}

#lightbox button#prev {
    top: 50%;
    left: 1em;
    width: 8em;
}

#lightbox button#next {
    top: 50%;
    right: 1em;
}


/* Mobile first - für schmale Viewports */

[role=note] {
    border-left: medium solid #c82f04;
    padding-left: 0.5em;
    max-width: 40em;
}

[role=note]:before {
    content: 'Beachten:  ';
    color: #c82f04;
    font-weight: blod;
}