/* ******************************************************** */
/* Kinderbuch.css – Font-Anpassung */
/* ******************************************************** */
@font-face {
    font-family: "ABeeZee";
    src: url("../Fonts/ABeeZee/ABeeZee-Regular.ttf") format("truetype");
}

body {
    font-family: ABeeZee, Arial, sans-serif !important;
    font-size: 14.9pt;
    }
    /*@media screen and (max-width: 1023px) and (min-height: 767px) and (orientation: landscape) { body { font-size: 1.9vw; }  }*/
    /*@media screen and (max-height: 767px) and (orientation: landscape) { body { font-size: 2.6vh; } }*/

/* ******************************************************** */
/* Buchlayout-Anpassungen */
/* ******************************************************** */
/* Standard (Landscape) - quadratisch */
#flipbook {
    aspect-ratio: 2 / 1;
    width: min(90vw, 190vh);
    max-width: min(90vw, 190vh);
    height: min(45vw, 95vh);
    max-height: min(45vw, 95vh);
    font-size: 1.4vw;
}

h1, h2, h3, h4, h5, h6 {
    color: #000000
}
h1 {
    position: relative;
    z-index: 10;
    margin: 0.25em 0 0.25em 0;
}

.page .ce-textpic {
    display: flex;
}
    .page .ce-textpic img {
        position: absolute;
        top: 0;
        left: 0;
        max-width: 100%;
    }

    .page .ce-textpic .ce-bodytext {
        margin: 0 1% 0 0;
        padding: 0 1% 0 0;
    }

        .page .ce-textpic .ce-bodytext p.imprint {
            box-shadow: 0 0 15px rgba(255,255,255,1);
            background: rgba(255,255,255,.6);
            position: absolute;
        }

.page .mp3player,
.page .ce-textpic .ce-bodytext p {
    position: relative;
    z-index: 10;
}

.textSpielplatz,
span.textSpielplatz{
    color: #ffffff;
    text-shadow: 0px 0px 2px #000000;
}
.layout-1 .textSpielplatz,
.layout-1 span.textSpielplatz {
    color: #e6e6e6;
    text-shadow: 0px 0px 2px #000000;
}

h1,
h1 .textSpielplatz {
    color: #B58428;
    text-shadow: none;
}
.layout-1 h1,
.layout-1 h1 .textSpielplatz {
    color: #d5a248;
    text-shadow: none;
}

h2 .textSpielplatz {
    position: relative;
    z-index: 10;
    margin: 0.25em 0 0.75em 0;
    font-size: 180%;
    color: #ffffff;
}

.layout-1 h2 .textSpielplatz {
    color: #e6e6e6;
}

.ce-textpic .ce-bodytext:has(> p.text-center) {
    flex-grow: 1;
}

/* ******************************************************** */
/* Imprint-Anpassungen */
/* ******************************************************** */
    .linkeBuchseite .imprint {
        color: #000000;
        line-height: 175%;
        font-size: 78%;
        box-shadow: none;
        background: transparent;
    }

/* ******************************************************** */
/* mp3player.css - Farbanpassungen */
/* ******************************************************** */
.mp3player {
    position: relative;
    float: left;
    clear: none;
    width: 2.89vw;
    height: 2.89vw;
    margin: 0.8vw 0.56vw 0 1vw;
}
.rechteBuchseite .mp3player {
    margin-left: 0.56vw;
}

/* Übungen */
.kasten .mp3player,
.kasten .rechteBuchseite .mp3player {
    margin-top: 0.33vw;
    margin-left: 0;
}

.mp3player:hover {
    cursor: pointer;
}

.mp3player-controls {
    position: absolute;
    top: 0.67vw;
    left: 0.67vw;
    width: 1.44vw;
    height: 1.44vw;
    text-align: center;
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 2.78vw;
    height: 2.78vw;
    border-radius: 50%;
    background: #d5a248;
    overflow: hidden;
}

.progress-ring-center {
    position: absolute;
    top: 0.11vw;
    left: 0.11vw;
    width: 2.22vw;
    height: 2.22vw;
    background: #d5a248 url('../Extensions/Mask/ImagesSpielplatz/background.jpg') center center;
    border-radius: 50%;
    border: 0.17vw solid #ffffff;
}

.progress {
    position: absolute;
    width: 1.44vw;
    height: 1.44vw;
    background-color: #eeeeee;
}
.progress-1 {
    top: 0;
    left: 1.44vw;
    transform-origin: bottom left;
}
.progress-2 {
    top: 1.44vw;
    left: 1.44vw;
    transform-origin: top left;
}
.progress-3 {
    top: 1.44vw;
    left: 0;
    transform-origin: top right;
}
.progress-4 {
    top: 0;
    left: 0;
    transform-origin: bottom left;
}
.mp3player-button {
    height: auto;
}

.mp3player-text {
    background: #d5a248;
}
.mp3player-text:hover {
    cursor: pointer;
}


/* Hide screenreader label */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
}


/* ******************************************************** */
/* Größenanpassung Smartphones */
/* ******************************************************** */
/* Smartphones LANDSCAPE */
@media only screen and (max-width: 1023px) and (max-height: 767px) and (orientation: landscape) {
    #flipbook {
        aspect-ratio: 2 / 1;
        width: min(90vw, 190vh);
        max-width: min(90vw, 190vh);
        height: min(45vw, 95vh);
        max-height: min(45vw, 95vh);
        font-size: 1.4vw;
    }
}

/* Smartphones PORTRAIT */
@media screen and (max-width: 919px) and (orientation: portrait) {
    #flipbook {
        aspect-ratio: 1;
        width: min(85vw, 85vh);
        max-width: min(85vw, 85vh);
        height: min(85vw, 85vh);
        max-height: min(85vw, 85vh);
        font-size: 1.4vh;
    }
}

/* Smartphone mp3player */
@media  only screen and (max-width: 922px) and (orientation: landscape),
only screen and (max-width: 711px),
only screen and (max-height: 620px) {
    .mp3player {
        width: 26px;
        height: 26px;
        margin: 10px 10px 5px 5px;
    }
    .rechteBuchseite .mp3player {
        margin: 10px 5px 5px 7px;
    }

    .mp3player-controls {
        top: 7px;
        left: 6px;
        width: 15px;
        height: 15px;
    }

    .mp3player-button {
        height: 13px;
    }
    .mp3player-back-ring {
        top: 1px;
        left: 1px;
        width: 25px;
        height: 25px;
    }
    .mp3player-back-ring-center {
        top: 2px;
        left: 2px;
        width: 23px;
        height: 23px;
        border-radius: 11px;
    }
    .progress-ring {
        width: 27px;
        height: 27px;
    }
    .progress-ring-center {
        top: 1px;
        left: 1px;
        width: 21px;
        height: 21px;
        border: 2px solid #ffffff;
    }
    .progress {
        width: 14px;
        height: 14px;
    }
    .progress-1 {
        left: 14px;
    }
    .progress-2 {
        top: 14px;
        left: 14px;
    }
    .progress-3 {
        top: 14px;
    }
    .progress-4 {}
}
