/*
Theme Name: Warten 26 v7

*/

/* Lora Font */
@font-face {
    font-family: "Lora";
    font-style: normal;
    font-weight: 400;
    src: local("Lora"), local("Lora-Regular"), url("fonts/lora-v17-latin-regular.woff2") format("woff2"), url("fonts/lora-v17-latin-regular.woff") format("woff");
}

@font-face {
    font-family: "Lora";
    font-style: normal;
    font-weight: 700;
    src: local("Lora Bold"), local("Lora-Bold"), url("fonts/lora-v17-latin-700.woff2") format("woff2"), url("fonts/lora-v17-latin-700.woff") format("woff");
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: #000;
    font-family: "Lora", serif;
    overflow-x: hidden;
}

/* Carousel Container */
.carousel-inner {
    max-width: 600px;
    margin: 20px auto;
}

#slider {
    height: 630px;
    max-height: 630px;
    overflow: hidden;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

/* Carousel Item */
.carousel-item {
    position: relative;
    height: 630px;
    max-height: 630px;
    perspective: 1000px;
    text-align: center;
}

.carousel-inner .carousel-item {
    transition: -webkit-transform .6s ease;
    transition: transform .6s ease;
    transition: transform .6s ease, -webkit-transform .6s ease;
    transition: all 600ms cubic-bezier(0.420, 0.000, 0.580, 1.000); /* ease-in-out */
    transition-timing-function: cubic-bezier(0.420, 0.000, 0.580, 1.000); /* ease-in-out */
}

/* no gap Checken!*/
.carousel-item-next.carousel-item-left {
    display: block !important;
}

/* Card Container */
.card {
    position: relative;
    width: 90%;
    max-width: 300px;
    height: auto;
    transition: transform 1s ease;
    transform-style: preserve-3d;
    margin: 0 auto;
}

/* Card Front - RESPONSIVE */
.card-front {
    position: absolute;
    top: 0;
    left: 0;
    width: 280px;
    max-width: 85vw;
    height: auto;
    aspect-ratio: 280 / 477;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background: url(img/ticket3.svg) no-repeat center center;
    background-size: cover;
    z-index: 2;
}

/* Card Back - RESPONSIVE */
.card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 280px;
    max-width: 85vw;
    height: auto;
    aspect-ratio: 280 / 477;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background: url(img/ticket3.svg) no-repeat center center;
    background-size: cover;
    transform: rotateY(180deg);
    z-index: 1;
    color: #000;
}

/* Flip State */
.flip .card {
    transform: rotateY(-180deg);
}

.resetflip img {
    max-height: 25px;
    width: auto;
}

/* Card Span - Content Container */
.cardspan {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
}

/* Header Row */
.header {
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.logo img {
    height: 35px;
}

.flip-trigger {
    cursor: pointer;
}

.flip-trigger img {
    height: 25px;
}

/* Content */
.content {
    padding: 20px;
    text-align: center;
}

.vorzeile {
    color: #333;
    font-size: 14px;
    margin-bottom: 10px;
}

.schlagzeile {
    font-size: 24px;
    font-weight: bold;
    color: #000;
}

.thumbnail {
    width: 100%;
    height: 150px;
    background: #ccc;
    margin: 20px 0;
}

/* ============ mobile view ============ */

body.offcanvas-active {
    overflow: hidden;
}

.offcanvas-header {
    display: none;
}

.screen-darken {
    height: 100%;
    width: 0%;
    z-index: 30;
    position: fixed;
    top: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    background-color: rgba(34, 34, 34, 0.6);
    transition: opacity .2s linear, visibility 0.2s, width 2s ease-in;
}

.screen-darken.active {
    z-index: 10;
    transition: opacity .3s ease, width 0s;
    opacity: 1;
    width: 100%;
    visibility: visible;
}

.navbar-dark .navbar-nav .active>.nav-link,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .show>.nav-link {
    color: #000 !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: #000 !important;
}

@media all and (min-width: 992px) {
    .mobile-offcanvas {
        display: none;
    }
}

@media all and (max-width: 991px) {
    .offcanvas-header {
        display: block;
    }

    .mobile-offcanvas {
        position: fixed;
        left: 0;
        bottom: 0px;
        width: 100%;
        margin-bottom: 0;
        border-radius: 0;
        transform: translatey(100%);
        background: white;
        color: #000;
        z-index: 1200;
        transition: .8s;
        max-height: 100vh;
        overflow-y: auto;
    }

    .mobile-offcanvas.show {
        visibility: visible;
        transform: translatey(0);
    }

    .mobile-offcanvas .container,
    .mobile-offcanvas .container-fluid {
        display: block;
    }
}

/* ============ mobile view .end// ============ */