/**
 * Theme Name:        CZAR Theme
 * Theme URI:         https://codin-it.de
 * Description:       CZAR Theme
 * Version:           1.0.0
 * Author:            CODIN-IT
 * Author URI:        https://codin-it.de

 */

body, html {
    margin: 0 !important;
    background: #000;
    color: #fff;
}

::-moz-selection {
    background-color: #fff;
    color: #000;
}

::selection {
    background-color: #fff;
    color: #000;
}

html {
    overflow: hidden;
}


@font-face {
    font-family: 'Anton';
    font-style: normal;
    font-weight: 400;
    src: url('./assets/fonts/Anton/Anton-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 100 900; /* Für die Variable Font wird der Gewichtungsbereich definiert */
    src: url('./assets/fonts/OpenSans/OpenSans-VariableFont_wdth,wght.ttf') format('truetype');
}


h1, h2, h3, h4, h5, h6 {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
}

body, a {
    font-family: 'Open Sans';
    color: #fff;
    text-decoration: none;
}

.logo-wrapper {
    pointer-events: all;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    opacity: 1;
    z-index: 100;
    mix-blend-mode: difference;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    margin: auto;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}

@media (min-width: 1081px) {
    .logo-wrapper > a {
        /*margin-right: 1rem; */
    }
}

@media (max-width: 1080px) {


    .logo-wrapper {
        top: 0;
        position: relative;
        padding: 0.5rem;
    }

    .logo-wrapper .logo {
        width: 3rem !important;
    }


    .logged-in header .menu-icon,
    .logged-in header .logo-wrapper,
    .logged-in header .director-title {
        top: unset !important;
    }
}

.top-nav {
    position: fixed;
    top: 0;
    pointer-events: none;
    padding: 2rem 2rem 0 2rem;
    z-index: 11;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
    mix-blend-mode: difference;
}

.top-nav.active {
    padding-bottom: 0;
    mix-blend-mode: normal;
}

.top-nav .director-title {
    position: relative;
    right: unset;
    text-align: end;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.top-nav .director-title h1 {
    font-size: clamp(1.5rem, 1.3846rem + 0.5128vw, 2rem);
    padding-right: 1ch;
    border-right: 2.5px solid #fff;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.uppercase {
    text-transform: uppercase;
}

.top-nav .menu-icon {
    position: relative !important;
    padding: 2.5rem;
    margin: -2.5rem;
}


.logo-wrapper .logo {
    width: 3.5rem;
}

.footer-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 1rem;
    gap: 2rem;
}

.footer-btn {
    -webkit-box-shadow: #0000006e 0px 0px 20px 0px;
    box-shadow: #0000006e 0px 0px 20px 0px;
    margin-inline: auto;
    margin-block: 2rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border: 2px solid #fff;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    background-color: #070707;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

footer {
    position: relative;
}

.footer-btn:hover {
    background-color: #000;
    border-color: transparent;
}

.footer-btn .btn {
    padding: 1em 2em;
    font-size: clamp(1rem, 0.9423rem + 0.2564vw, 1.25rem);
    text-transform: uppercase;
    text-align: center;
}


.scroll-snap-wrapper {
    -ms-scroll-snap-type: y mandatory;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    scroll-behavior: smooth;
    scroll-padding-top: 0;
    height: 100vh;
}

.scroll-snap {
    scroll-snap-align: start;
    -webkit-scroll-snap-align: start;
}


.arrow:hover {
    padding-top: 1rem;
    margin-bottom: -1rem;
    padding-left: 0 !important;
}

.arrow {
    width: 3rem;
    display: block;
    margin: auto;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    margin-bottom: 0;
    padding-top: 0;
}

.vita {
    position: fixed;
    padding: 1.5rem;
    width: 100%;
    height: 100%;
    max-width: 480px;
    max-height: calc(100vh - 8.25rem);
    max-height: calc(100dvh - 8.25rem);

    backdrop-filter: blur(12px) brightness(0.6);
    -webkit-backdrop-filter: blur(12px) brightness(0.6);
    -webkit-transition: all 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    -o-transition: all 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    transition: all 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    opacity: 0;
    z-index: 10;
    top: 6.5rem;
    right: 0;
    pointer-events: none;
    -webkit-transform: translateY(3rem);
    -ms-transform: translateY(3rem);
    transform: translateY(3rem);
    text-align: justify;
    overflow-y: auto;
}

.vita-description {
    /*max-height: calc(100vh - 18rem);*/
}

.vita.show {
    opacity: 1;
    pointer-events: all;
    -webkit-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
}

.vita img {
    max-width: 50%;
    max-height: 10rem;
    border: 2px solid #fff;
    margin-inline: auto;
    margin-bottom: 1rem;
    cursor: pointer;
}

.divider {
    width: 100%;
    max-width: 20rem;
}

.partner-list {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 2rem 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    max-width: 16rem;
}

.partner-img {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.partner-img img {
    max-height: 50px
}

html.no-scroll {
    height: 100vh;
    -ms-touch-action: none;
    touch-action: none;
}

.video-slider .pointer-events-none {
    pointer-events: none;
}

/* Grundlegendes Styling */
header {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: #fff;
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.menu-icon {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    pointer-events: all;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    cursor: pointer;
    position: fixed;
    gap: 5px;
    z-index: 101;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}

.menu-icon span {
    width: 1.5625rem;
    height: 0.1875rem;
    background: #fff;
    -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
    transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
    -o-transition: transform 0.3s ease, opacity 0.3s ease;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transition: transform 0.3s ease, opacity 0.3s ease, -webkit-transform 0.3s ease;
    -webkit-box-shadow: #00000063 0px 0px 6px;
    box-shadow: #00000063 0px 0px 6px;
}

/* Styling für das Menü */
.slide-menu {
    position: fixed;
    z-index: 10;
    top: 0;
    gap: 1rem;
    left: -100%;
    width: 300px;
    max-width: 100%;
    height: 100%;
    background: #00000036;
    backdrop-filter: brightness(0.6) blur(20px);
    -webkit-backdrop-filter: brightness(0.6) blur(20px);
    color: #fff;
    padding: 6rem 2rem 2rem 2rem;
    -webkit-box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    -webkit-transition: left 0.3s ease;
    -o-transition: left 0.3s ease;
    transition: left 0.3s ease;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

@media (max-width: 768px) {
    .top-nav .director-title h1 {
        border-right: none;
        padding-right: 0;
    }

    .top-nav .director-title {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: end;
        -ms-flex-align: end;
        align-items: flex-end;
    }

    .top-nav {
        padding-inline: 1rem;
    }

    .vita {
        top: 0;
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
        z-index: 100;
        max-width: unset;
        padding-top: 3.5rem;
    }

    .vita .close svg {
        top: 3.2rem;
    }

    .partner-list {
        max-width: unset !important;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

}

.show-vita .director-title h1 {
    border-right-color: transparent;
    padding-right: 0;
}

.show-vita .heading-suffix {
    width: 0;
    padding-left: 0;
    opacity: 0;
}

@media (max-width: 980px) {


    html.no-scroll {
        overflow: hidden;
    }

    /*.scroll-snap-mobile {*/
    /*    scroll-snap-align: end;*/
    /*    -webkit-scroll-snap-align: end;*/
    /*}*/
    .show-vita {
        overflow: hidden;
        height: 100vh;
        height: 100dvh;
        -ms-touch-action: none;
        touch-action: none;
    }


    .slide-menu {
        width: 100%;
        gap: 1rem;
    }

    .slide-menu li.menu-item {
        margin: 1rem 0;
    }

    .partner-list {
        gap: 1rem;
        padding-inline: 0;
        max-width: 13rem;
    }

    .menu-icon.active ~ .logo-wrapper,
    .menu-icon.active ~ .director-title {
        opacity: 0;
    }
}

.slide-menu .logo img {
    width: 3rem;
}

.main-menu {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.socials {
    margin-top: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 2rem;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.socials i svg,
.socials img {
    fill: #fff;
    height: 1.5rem;
    width: 1.5rem;
}

.slide-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.slide-menu li {
    margin: 2rem 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.slide-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    -webkit-transition: color, padding 0.3s ease;
    -o-transition: color, padding 0.3s ease;
    transition: color, padding 0.3s ease;
}

.slide-menu .main-menu a:hover {
    padding-left: 0.5rem;
}

/* Offen-Zustand des Menüs */
.slide-menu.open {
    left: 0;
}

/* Menü-Icon Animation für Offen/Zu */
.menu-icon.active span:nth-child(1) {
    -webkit-transform: translateY(8px) rotate(45deg);
    -ms-transform: translateY(8px) rotate(45deg);
    transform: translateY(8px) rotate(45deg);
}

.menu-icon.active span:nth-child(2) {
    opacity: 0;
}

.menu-icon.active span:nth-child(3) {
    -webkit-transform: translateY(-8px) rotate(-45deg);
    -ms-transform: translateY(-8px) rotate(-45deg);
    transform: translateY(-8px) rotate(-45deg);
}


.legals {
    font-size: 0.75rem;
    text-align: center;
}

.legals .menu-item {
    margin: 2rem 0 1rem;
}


.side-menu > ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 1rem;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.side-menu a {
    font-size: 0.75rem;
}

.heading-suffix {
    padding-left: 1ch;
    font-size: 1.5rem;
    width: 5ch;
    text-align: left;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.toggleVita_btn {
    z-index: 10;
    text-align: center;
    cursor: pointer;
    -webkit-backdrop-filter: blur(6px) brightness(0.3);
    backdrop-filter: blur(6px) brightness(0.3);
    padding: 0.5rem 0.75rem;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: auto;
    text-transform: uppercase;
}


.close svg {
    max-width: 1.2rem;
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    fill: #fff;
    cursor: pointer;
}

@supports (hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none) {
    @media (max-width: 980px) {

        .safari-fix {
            -ms-scroll-snap-type: none !important;
            scroll-snap-type: none !important;
        }

        html {
            overflow: hidden;
        }


        .scroll-snap-wrapper {
            -ms-scroll-snap-type: none !important;
            scroll-snap-type: none !important;
            overflow-y: auto !important;
            height: unset !important;
        }

        .scroll-snap {
            scroll-snap-align: none !important;
            -webkit-scroll-snap-align: none !important;
        }

    }
}