/* .flipbook {
    background: #1d1d1d !important;
}

.action-bar {
    background-color: #333;
    box-shadow: none
} */


@media (min-width: 800px) {
    [href*=".mobile.mp4"] {
        display: none !important;
    }
}

@media (max-width: 800px) {
    [href*=".desktop.mp4"] {
        display: none !important;
    }
}



.logo a {
    width: 150px !important;
    background-position: center;
}

#first-page-number {
    background: white !important;
}

#second-page-number {
    color: white !important;
}

button.nav {
    color: white !important;
}

[id*="pub-video"] {
    z-index: 1000;
    inset: 0;
    padding: 1rem 0.5rem;
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
    display: grid;
    place-items: center;
    opacity: 0;
    transition: opacity .5s ease;
    pointer-events: none;
}

[id*="pub-video"][data-visible] {
    opacity: 1;
    pointer-events: all;
}

[id*="pub-video"]>div {
    background-color: black;
    border-radius: 15px;
    position: relative;
}

@media (max-width: 800px) {
    [id*="pub-video"]>div {

        aspect-ratio: 9/16;
        width: 85vw;
    }
}

@media (min-width: 800px) {
    [id*="pub-video"]>div {

        aspect-ratio: 16/9;
        width: 95vw;
    }
}

[id*="pub-video"]>div>button {
    border: 0;
    background: white;
    color: black;
    z-index: 2;
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    /* Adjust the width as needed */
    height: 24px;
    /* Set the same value as the width to maintain a 1:1 aspect ratio */
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
}

@media (min-width: 800px) {
    [id*="pub-video"]>div {
        width: 45vw;
    }
}

[id*="pub-video"]>div>video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
}


[data-type="video"] {
    background: no-repeat center center;
    background-size: contain;
    position: relative;
    background-image: url(https://sopress.s3.eu-central-1.amazonaws.com/audi/audi-desktop.jpg);

}

[data-type="video"]:before {
    display: block;
    content: '';
    position: absolute;
    inset: 0;
    background: url(https://sopress.s3.eu-central-1.amazonaws.com/audi/play.png) no-repeat center center;
    background-size: auto 30%;
}

/* [href*=".mobile.mp4"] {
    background-image: url(https://sopress.s3.eu-central-1.amazonaws.com/audi/audi-mobile.jpg);
}

[href*=".desktop.mp4"] {
    background-image: url(https://sopress.s3.eu-central-1.amazonaws.com/audi/audi-desktop.jpg);
} */