
/* =========================================== */
/* Button to switch between light and darkmode */
/* =========================================== */

.bi {
    vertical-align: -.125em;
    fill: currentColor;
}

.btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
    z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
    display: block !important;
}

/* =============================== */
/* Carousel at the top of the page */
/* =============================== */

[data-bs-theme=dark] .carousel .carousel-control-prev-icon, [data-bs-theme=dark] .carousel .carousel-control-next-icon {
    filter: none;
}
[data-bs-theme=dark] .btn-close {
    filter: none;
}
.carousel-control-next, .carousel-control-prev {
    width: 8%;
}

.carousel-image {
    height: 90%;
    object-fit: contain;
    width: 100%;
    margin-top: 1em;
}

.header-text {
    color: white;
}

/* less space needed on mobile */
@media (max-width: 450px) {
    .carousel-item {
        max-height: 60vh;
    }
}

/* ======= */
/* Gallery */
/* ======= */

.gallery-image {
    margin-bottom: 1.5em;
    transition:transform 0.25s ease;
}

.gallery-image:hover {
    -webkit-transform:scale(1.1);
    transform:scale(1.1);
}

.pswp--custom-bg {
    background: #7079bf;
}

/* =============== */
/* General classes */
/* =============== */

html {
    scroll-padding-top: 4em;
}

.card {
    margin-bottom: 1em;
}

.h1 {
    margin-bottom: 1em;
    text-align: center;
}

.h2 {
    margin-bottom: 1em;
}

.main-container {
    margin-top: 4em;
}

.max-height-50 {
    max-height: 50vh;
}

.max-width-720px {
    max-width: 720px;
}

.max-width-60em {
    max-width: 60em;
}

.secondary-background {
    background-color: #5e2028;
}

.small-text-image {
    max-height: 50vh;
    max-height: 300px;
}

.text-container {
    text-align: justify;
    text-justify: inter-word;
}

/* ====== */
/* Navbar */
/* ====== */

.navbar-nav .nav-link.active {
    font-weight: bold;
}

.navbar-logo {
    height: 2.5em;
    width: 2.5em;
}

/* ======= */
/* Termine */
/* ======= */

.appointment-list {
    @media (min-width: 768px) {
        column-count: 2;
    }
}
