:root {
    --a-default: #000000;
    --a-active: #000000;
    --space: 8px;
    --navbar-height: 70px;

    --color-accent: #6e769a;
    --color-accent-text: #636da2;
    --color-accent-text-inverse: #ffffff;
    --color-secondary: #555555;
    --color-secondary-text: #f0f0f0;
    --color-text-dark: #e0e0e0;
    --color-jazzis-dark-gray: #aeaeae;
    --color-jazzis-light-gray: #f3f3f3;
    --color-jazzis-red: #b31729;
    --color-paper-border: #a2a2a2;
    --content-bg-color: white;
    --color-footer-bg: #f3f3f3;
    --color-overlay: rgba(0, 0, 0, 0.5);
    --color-highlight: #ffffff;
    --color-body: white;
    --color-section: #9ba9ec;

    --card-color-bg-alternate: #f3f3f3;
    --card-color-bg: white;
    --card-border-radius: 9pt;
    --color-home: #a2a2a2;
    --color-blue: #6e769a;

    --content-width: 70%;
    --popup-video-width: 75%;

    --spacing-unit-0: 8px;
    --spacing-unit-1: 16px;
    --spacing-unit-2: 32px;
    --spacing-unit-3: 64px;
    --border-radius: 3px;

    --break-phone: 400px;
    --break-tablet: 800px;

    --tile-width: 350px;
    --font-title: 'Montserrat', sans-serif;
}


@font-face {
    font-family: 'Impact';
    src: url('Impact.woff2') format('woff2'),
        url('Impact.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    font-weight: 100 900;
    font-display: swap;
    src: url(montserrat-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300 800;
    font-stretch: 100%;
    font-display: swap;
    src: url(opensans-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Alegreya SC';
    src: url('AlegreyaSC-Regular.woff2') format('woff2'),
        url('AlegreyaSC-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.center {
    text-align: center;
}

@media screen and (min-width: 1800px) {
    :root {
        --content-width: 50%;
    }
}

@media screen and (max-width: 800px) {
    :root {
        --content-width: 100%;
    }
}

html {
    scroll-behavior: smooth;
}

* {
    font-family: 'Open Sans', sans-serif;
}

h1,
h2,
h3 {
    font-family: var(--font-title);
}


blockquote p {
    quotes: "„" "“";
}

blockquote p:before {
    content: open-quote;
    font: 1em/100% Georgia, serif
}

blockquote p:after {
    content: close-quote;
    font: 1em/100% Georgia, serif
}

.jazzis-text-logo {
    font-family: Impact;
    /*font-size: 32pt;*/
    /*color: var(--color-jazzis-red);*/
}

.center-content {

    justify-content: center;
    align-items: center;

}


.accordion {
    /*background-color: #eee;*/
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    font-size: 24pt;
    border: none;
    outline: none;
    transition: 0.4s;
}

.panel {
    padding: 0 18px;
    background-color: white;
    display: none;
    overflow: hidden;
}

.background-image {

    left: 0;
    right: 0;
    z-index: 1;
    display: block;
    background-image: url("../sites/main/images/bg_image.webp");
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: blur(5px);
}


.content-main {
    padding: var(--spacing-unit-1) 0 var(--spacing-unit-1) 0;
    /* min-height: 50vh; */
    z-index: 9999;
    background-color: var(--content-bg-color);
    padding: 15px;
}

.content-main p {
    max-width: 1080px;
}

.content-main img {
    max-width: 100%;
}

.content-alternate-background-gray {
    background-image: url("./sites/main/images/farbverlauf_gray_hell.png");
}

.content-alternate-background-accent {
    background-color: var(--color-accent);
}

.content-alternate-background-white {
    background-color: white;
}

.icon-quotes {
    color: var(--color-accent-text);
}

.jazzisred {
    color: var(--color-jazzis-red);
}

.separator-line {
    border-width: 0.5px;
    border-color: #f3f3f3;
    width: 100%;
}

.separator-line-half {
    border-width: 0.5px;
    border-color: #f3f3f3;
    width: 50%;
}

.separator-line-quarter {
    border-width: 0.5px;
    border-color: #f3f3f3;
    width: 25%;
}

.imgBlur {
    filter: blur(2px);
    filter: grayscale(65%);
}

.img-grayscale {
    filter: grayscale(80%);
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

@media screen and (max-width: 800px) {
    .content-main {
        padding: var(--spacing-unit-1) var(--spacing-unit-2) var(--spacing-unit-1) var(--spacing-unit-2);
    }

    .header-solid {
        padding: 0 var(--spacing-unit-2) 0 var(--spacing-unit-2);
    }
}

.content-main {
    width: var(--content-width);
    margin: 0 auto;
    box-sizing: border-box;
}

.content-main h1 {
    font-size: xx-large;
}


.content-fullheight {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.anchor {
    display: block;
    position: relative;
    top: calc(-1*var(--navbar-height));
    visibility: hidden;
}


h1 {
    font-weight: normal;
}



h2 {
    font-weight: normal;
    margin-top: var(--spacing-unit-2);
}

a {
    text-decoration: none;
    color: var(--color-accent);
}

body {
    margin: 0 0 0 0;
    height: 100%;
    background: #f0f0f0;
}

main {
    margin: var(--navbar-height) auto;
    height: 100%;
}

.header {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    position: fixed;
    z-index: 213;
    top: 0;
    left: 0;
    transition: 0.2s;
    background-color: var(--color-highlight);

}

.header-content-wrapper {
    margin: 0 auto;
    justify-content: space-between;
    display: flex;
    width: var(--content-width);
    padding: 10px;
}

.header-brand-container {
    height: var(--navbar-height);
    justify-content: space-between;
    align-items: center;
    display: flex;
    padding-top: 15px;
    padding-bottom: 15px;
}

.header-brand {
    font-size: 22px;
    font-weight: bold;
    font-family: var(--font-title);
    color: var(--color-jazzis-red);
}

.nav {
    align-items: center;
    display: flex;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    width: var(--navbar-height);
    height: var(--navbar-height);
    padding: 11.5px;
    color: var(--a-default);
    flex-direction: column;
    justify-content: center;
}

.nav-toggle i {
    width: calc(100% - 2*3px);
    box-sizing: border-box;
    background: var(--a-default);
    display: block;
    height: 2px;
    margin: 2px;
    border-radius: 1.5px;
}

.nav-item {
    text-decoration: none;
    color: var(--a-default);
    padding: 8px 16px 8px 16px;
    box-sizing: border-box;
    border-radius: var(--border-radius);
    font-family: var(--font-title);
}

.nav-item:hover {
    background: var(--color-accent);
    color: var(--color-highlight);
}

.img-title {
    object-fit: cover;
    filter: grayscale(30%);
    width: 100%;
    max-width: 100%;
    height: auto;
    z-index: 999;
    padding-top: 50px;
}


@media screen and (max-width: 600px) {
    .header-brand-container {
        width: 100%;
    }

    .header {
        flex-direction: column;
    }

    .nav-item {
        display: block;
        width: 100%;
    }

    .nav {
        overflow: hidden;
        max-height: 0;
        transition: 0.2s ease max-height;
        flex-direction: column;
        position: fixed;
        width: 100%;
        left: 0;
        top: var(--navbar-height);
        background: var(--color-highlight);
    }

    .nav-item {
        padding-left: var(--spacing-unit-2);
        font-size: larger;
    }

    .nav-scroll {
        max-height: 400px;
    }

    .nav-toggle {
        display: flex;
    }
}

.hero {
    width: 100%;
    /*  min-height: calc(100vh - var(--navbar-height));*/
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 100px;

}

.hero-center {
    flex-grow: 0;
    flex-direction: row;
    align-items: center;
    display: flex;
    flex-direction: row;
    max-width: var(--content-width);
    padding: var(--spacing-unit-2);
}

.hero-image img {
    padding: var(--spacing-unit-2);
    box-sizing: border-box;
    width: 100%;
}

@media screen and (max-width: 1024px) and (min-height: 480px) {
    .hero-center {
        flex-direction: column-reverse;
    }

    .nav-item {
        display: block;
        width: 100%;
    }

    .nav {
        overflow: hidden;
        max-height: 0;
        transition: 0.2s ease max-height;
        flex-direction: column;
        position: fixed;
        width: 100%;
        left: 0;
        top: var(--navbar-height);
        background: var(--color-highlight);
    }

    .nav-item {
        padding-left: var(--spacing-unit-2);
        font-size: larger;
    }

    .nav-scroll {
        max-height: 350px;
    }

    .nav-toggle {
        display: flex;
    }

}

.sm-icon-container {
    display: flex;
    flex-flow: row wrap;
    flex-basis: auto;
    justify-content: center;
    align-items: center;
    gap: 10px;
}


.hero-text {
    max-width: 1000px;
}

.hero-text h1 {
    font-size: 64px;
}

.booking {
    border-radius: var(--card-border-radius);
    background-color: var(--card-color-bg-alternate);
    padding: 18pt;
}

.tiles {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(var(--tile-width), 1fr));
    grid-auto-rows: 220px;
    grid-auto-flow: dense;
    grid-gap: 16px;
    box-sizing: border-box;
}

@media screen and (max-width: 1024px) and (min-height: 480px) {
    .tiles {
        grid-template-columns: 1fr;
    }
}

.tile {
    max-width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    transition: filter 0.2s ease-in;
    display: block;
}

.tile:hover {
    filter: brightness(83%);
}

.tile-1-1 {
    background-size: cover;
}

.tile-1-2 {
    background-size: cover;
    background-repeat: no-repeat;
    grid-row: span 2;
}

.tile-2-1 {
    background-size: cover;
    background-repeat: no-repeat;
    grid-column: span 2;
}

.tile-2-2 {
    background-size: cover;
    background-repeat: no-repeat;
    grid-row: span 2;
    grid-column: span 2;
}

@media screen and (max-width: 1200px) {
    .tiles {
        grid-template-columns: 1;
    }

    .tile-2-1 {
        grid-column: span 1;
    }

    .tile-2-2 {
        grid-row: span 1;
        grid-column: span 1;
    }

}

.tile-text {
    color: var(--color-text-dark);
    position: absolute;
    bottom: 0;
    padding: 16px;
    font-size: 18px;
    font-family: var(--font-title);
}

.tile-text-backdrop {
    background: var(--color-overlay);
}

.tiles-tabs {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.tiles-h1 {
    flex-grow: 1;
}

.button {
    border-radius: var(--border-radius);
    display: inline-block;
    padding: 8px;
    transition: filter 0.2s ease-in;
    text-decoration: none;
    margin-right: 3px;
    font-family: var(--font-title);
}

.button:hover {
    filter: brightness(83%);
}

.button-primary {
    background: var(--color-accent);
    color: var(--color-accent-text-inverse);
    border-color: var(--color-accent);
    border: none;
    color: white;
    padding: 8px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
}

.button-secondary {
    background: var(--color-secondary);
    color: var(--color-secondary-text);
}

.button-third {
    background: var(--color-secondary);
    color: var(--color-third-text);
}

.event-flex-container {
    display: flex;
    border-radius: var(--card-border-radius);
    background-color: var(--card-color-bg-alternate);
    flex-flow: column wrap;
    flex-basis: auto;
    max-width: 650px;
    padding: 16pt;
    justify-content: center;
    align-items: center;
    min-width: 350px;
    gap: 10px;
}

.event-links-container {
    display: flex;
    width: 100%;
    /*border-style: solid;*/
    justify-content: center;
    align-items: center;
    flex-flow: row wrap;
    flex-basis: auto;

}

.event-text-container {
    /* color: green;
    border-style: solid;*/
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    max-width: 80%;
}

.event-image-container {
    /* border-style: solid;
    color: red; */
    width: 50%;
    display: flex;
}

.event-image-container>img {
    max-width: 100%;
    max-height: 100%;
    object-fit: scale-down;
}

.eventlist-flex-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    margin-bottom: 16px;
}

.blog-flex-container {
    border-radius: var(--card-border-radius);
    background-color: var(--card-color-bg-alternate);
    border-style: solid;
    border: 1px solid rgb(200, 200, 200);
    width: 350px;
    justify-content: center;
    min-width: 350px;
    min-height: 320px;
    padding: 8pt;
}

.blog-image-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-top: 16px;
    margin-bottom: 16px;
}

.bloglist-flex-container {
    display: flex;
    flex-flow: row wrap;
    gap: 10px 10px;
    justify-content: center;
    align-items: center;
    align-content: space-evenly;
    padding: 8px;
    margin-top: 16px;
    margin-bottom: 16px;
}

.section {
    margin-top: 32px;
    margin-bottom: 32px;
    padding: 18pt;
    font-size: 38pt;
    text-align: center;
}


.flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.flex-column {
    flex: 40%;
    max-width: 40%;
    padding: 0 4px;
}

.video-item {
    width: var(--popup-video-width);
    aspect-ratio: 16 / 9;
    border-style: none;
    border-radius: var(--card-border-radius);
}

.video-button {
    background-color: transparent;
    border-radius:var(--card-border-radius);
    border-style: none;
}

.video-button img {
    border-radius:var(--card-border-radius);
}

.video-item-container {
    border-radius: var(--card-border-radius);
    max-width: 48%;
    border-style: none;
}

.flex-item-16-9 {
    position: relative;
    overflow: hidden;
    width: 100%;
    flex: 33, 3%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
}

.responsive-iframe-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    flex: 33, 3%;
    filter: grayscale(95%);
    border-style: none;
}

.responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-style: none;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    margin: var(--spacing-unit-1) 0 var(--spacing-unit-1) 0;
    width: 100%;
}

.gallery-text {
    position: absolute;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
    display: none;
    z-index: 2;
    color: var(--color-highlight);
    font-size: large;
    font-family: var(--font-title);
}

.gallery a:hover .gallery-text {
    display: flex;
}

.gallery img {
    transition: filter 0.2s ease-in;
}

.gallery a:hover img {
    filter: brightness(33%);
}


.gallery a {
    margin: var(--spacing-unit-0) var(--spacing-unit-1) var(--spacing-unit-0) 0;
    box-sizing: border-box;
    position: relative;
}

.gallery-col {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.gallery-row {
    display: flex;
    flex-direction: row;
}

.gallery-col-2 {
    flex: 50%;
}

.gallery-col-3 {
    flex: 33%;
}

.gallery img {
    width: 100%;
}

@media screen and (max-width: 1024px) {
    .gallery-col {
        flex: 50%;
    }
}

@media screen and (max-width: 600px) {
    .gallery-col {
        flex: 100%;
    }
}

.initial {
    font-size: 14pt;
}

.accent {
    color: var(--color-accent);
}

.jazzis-logo {
    width: 200px;
}

.footer {
    width: 100%;
    background-color: var(--color-accent);
    color: white;
    /*var(--color-text-dark);*/
    display: flex;
    padding: 32px 32px 32px 32px;
    box-sizing: border-box;
}

.footer-logo {
    padding: 0 32px 0 16px;
    flex-grow: 1;
}

.footer-logo h2 {
    color: white;
    /*var(--color-paper-border);*/
    margin: 0;
}

.footer-logo h2:hover {
    color: white
        /*var(--color-accent-text);*/
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 16px 0 16px;
    flex-grow: 1;
}

.footer-links a {
    color: white;
    /*(--color-paper-border);*/
}

.footer-links a:hover {
    color: var(--color-paper-border);
}

.bar-wrapper {
    display: block;
    margin-bottom: 3px;
}

.bar-wrapper,
.bar-linear {
    width: 480px;
    background-color: #cccccc;
    border-radius: 5px;
}

.bar-linear {
    background-color: var(--color-accent);
    border-width: 0;
    offset-position: 0;
    height: var(--spacing-unit-1);
    padding: 3px;
    color: var(--color-highlight);
}

.about-me {
    display: grid;
    width: 50%;
}

.about-me div:nth-child(odd) {
    grid-column: 1;
}

.about-me div:nth-child(even) {
    grid-column: 2;
}

.chip {
    background-color: var(--color-accent);
    color: var(--color-accent-text);
    display: inline-block;
    padding: 5px;
    border-radius: 16px;
    font-size: smaller;
}


.blog-item {
    display: flex;
    margin: var(--spacing-unit-3);
}

.blog-image {
    width: 300px;
    background-size: contain;
    background-repeat: no-repeat;
}

.blog-container {
    justify-content: center;
}