/*
Theme Name: Warten 26 v3
*/

/* 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");
}

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

html, body {
    height: 100%;
    font-family: "Lora", serif;
    background: #000;
    color: #fff;
}

/* Carousel */
.carousel-inner {
    width: 85%;
    margin: 0 auto;
}

.carousel-item {
    height: 580px;
    max-height: 580px;
    overflow: hidden;
}

/* Card */
.card {
    height: 100%;
    width: 95%;
    margin: 0 auto;
    position: relative;
    border: none;
}

.card .front,
.card .back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: transform 0.6s ease;
}

.card .front {
    position: relative;
    z-index: 2;
    background: #fff;
}

.card .back {
    transform: rotateY(180deg);
    z-index: 1;
    background: #fff;
    color: #000;
}

.card.flip .front {
    transform: rotateY(180deg);
}

.card.flip .back {
    transform: rotateY(360deg);
    z-index: 2;
}

.card.noflip .front,
.card.noflip .back {
    position: relative;
    transform: none;
}

/* Card section */
.card section {
    color: #000;
    padding: 0.5rem 1rem;
}

/* Bootstrap row/col */
.row {
    margin-left: -15px;
    margin-right: -15px;
}

.row.m-0 {
    margin-left: 0;
    margin-right: 0;
}

.row.m-1 {
    margin-left: -0.25rem;
    margin-right: -0.25rem;
}

.row.m-2 {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

.col-12 {
    padding-left: 15px;
    padding-right: 15px;
}

.no-gutters {
    padding-left: 0;
    padding-right: 0;
}

/* Position utilities */
.position-initial {
    position: initial;
}

.align-right {
    text-align: right;
}

/* Images */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.d-block {
    display: block;
}

.float-right {
    float: right;
}

/* Text alignment */
.text-center {
    text-align: center;
}

.justify-content-center {
    justify-content: center;
}

.align-middle {
    align-items: center;
}

/* Typography */
.vorzeile {
    margin-bottom: 0;
    color: #333;
}

.schlagzeile {
    font-weight: 700;
    font-size: 1.6rem;
    color: #000;
}

.heightfix {
    min-height: 65px;
}

/* Scrollbox for back card */
.scrollbox {
    width: 100%;
    max-height: 340px;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Clickable */
.flip-trigger,
.resetflip,
.next-slide,
.nclick {
    cursor: pointer;
}

/* Responsive */
@media (max-width: 576px) {
    .carousel-item {
        height: 530px;
        max-height: 530px;
    }
}

/* Carousel transition */
.carousel-inner .carousel-item {
    transition: all 600ms cubic-bezier(0.420, 0.000, 0.580, 1.000);
}

.carousel-item-next.carousel-item-left {
    display: block !important;
}

/* Mobile offcanvas menu - slides from bottom */
.screen-darken {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1100;
}

.screen-darken.active {
    display: block;
}

.mobile-offcanvas {
    visibility: hidden;
    transform: translateY(100%);
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    height: 85%;
    z-index: 1200;
    width: 100%;
    overflow-y: scroll;
    background: #fff;
    color: #000;
    transition: transform 0.3s ease-in-out;
    border-radius: 10px 10px 0 0;
}

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

body.offcanvas-active .screen-darken {
    display: block;
}

/* Footer navbar */
.navbar.fixed-bottom {
    z-index: 1000;
}

.footer {
    background: #000;
}

/* Scrollbox with shadow indicator */
.scrollbox {
    background: linear-gradient(#fff 33%, rgba(138,242,174, 0)),
        linear-gradient(rgba(138,242,174, 0), #fff 66%) 0 100%,
        radial-gradient(farthest-side at 50% 0, rgba(34,34,34, 0.5), rgba(0,0,0,0)),
        radial-gradient(farthest-side at 50% 100%, rgba(34,34,34, 0.5), rgba(0,0,0,0)) 0 100%;
    background-color: #fff;
    background-repeat: no-repeat;
    background-attachment: local, local, scroll, scroll;
    background-size: 100% 45px, 100% 45px, 100% 15px, 100% 15px;
}
