/**
 * 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

 */

:root {
    --plyr-color-main: #fff;
    --plyr-video-control-color: #fff;
    --plyr-video-control-color-hover: #cbcbcb;
    --plyr-video-control-background-hover: #000;
}

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;
    pointer-events: all;
    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;
        }

    }
}


.director-link {
    position: absolute;
    top: -10rem;
    z-index: 10;
    visibility: hidden;
    text-transform: uppercase;
    opacity: 0;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    padding: 1em 2em;
    font-size: clamp(1rem, 0.9423rem + 0.2564vw, 1.25rem);
    -webkit-box-shadow: #0000006e 0px 0px 20px 0px;
    box-shadow: #0000006e 0px 0px 20px 0px;
    border: 2px solid #fff;
    mix-blend-mode: exclusion;
}

.director-link:hover {
    background-color: #000;
    border-color: transparent;
}

.content-container:hover .director-link,
.f-carousel__slide:hover .director-link {
    visibility: visible;
    opacity: 1;
}

.content-container:hover .director-link {
    top: 40px;
}

.f-carousel__slide:hover .director-link {
    top: 8rem !important;
}


.videos-grid {
    background-color: #000;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (1fr) [ 2 ];
    grid-template-columns: repeat(2, 1fr);
    /* height: 100vh; */
    /* overflow-y: scroll; */
    /*scroll-snap-type: y mandatory;*/
}

@media (max-width: 1080px) {
    .videos-grid {
        -ms-grid-columns: (1fr) [ 1 ];
        grid-template-columns: repeat(1, 1fr);
    }

    .more-details .details {
        -webkit-box-pack: start !important;
        -ms-flex-pack: start !important;
        justify-content: flex-start !important;
    }

}

@media (max-width: 720px) {
    .more-details .video-wrapper video {
        height: 50vh;
        -ms-flex-item-align: baseline;
        align-self: baseline;
    }

    .more-details .details {
        height: 50vh !important;
    }

    .video-wrapper.video-slider .content {
        margin-top: 0;
    }

    .details .details-list {
        display: none;
    }

    .hide-on-mobile {
        display: none;
    }
}


.video-wrapper {
    display: -ms-grid !important;
    display: grid !important;
    height: 50vh;
    overflow: hidden;
    place-items: center;
}


.video-wrapper video {
    height: 50vh;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
}

.video-slider,
.video-slider video {
    height: 100vh !important;
    height: 100svh !important;
}

.video-wrapper .content {
    color: #fff;
    display: -ms-grid;
    display: grid;
    gap: 1rem;
    position: absolute;
    z-index: 1;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    width: 100%;
    pointer-events: none;
}

.video-wrapper .content h2,
.video-wrapper .content h3 {
    color: #fff;
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.video-wrapper .content h2 {
    font-size: clamp(2.5rem, 1.8077rem + 3.0769vw, 5.5rem);
}

.video-wrapper .content h3 {
    font-family: Open Sans, Arial, sans-serif;
    font-size: clamp(0.875rem, 0.7885rem + 0.3846vw, 1.25rem);
    font-weight: 400;
}

.videos-grid .content-container:hover .content h2 {
    -webkit-transform: translateY(-30vh);
    -ms-transform: translateY(-30vh);
    transform: translateY(-30vh);
}

.videos-grid .content-container:hover .content.empty h2,
.videos-grid .content-container:hover .content.empty h3 {
    -webkit-transform: translateY(0) !important;
    -ms-transform: translateY(0) !important;
    transform: translateY(0) !important;
}

.videos-grid .content-container:hover .content h3 {
    -webkit-transform: translateY(30vh);
    -ms-transform: translateY(30vh);
    transform: translateY(30vh);
}

.slick-dotted.slick-slider {
    margin-bottom: 0 !important;

}


.video-hover,
.plyr__poster {
    cursor: pointer;
}

.video-hover.empty,
.plyr__poster + .video-hover.empty {
    cursor: default;
}

.content-container {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.more-details {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
}

.more-details .video-wrapper {
    -ms-grid-columns: (1fr) [ 2 ];
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 1080px) {
    .more-details .video-wrapper {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }


    .more-details .video-wrapper {
        height: 100dvh;
        height: 100vh;
    }

    .more-details .video-wrapper:nth-child(even) .details {
        -webkit-box-ordinal-group: 2 !important;
        -ms-flex-order: 1 !important;
        order: 1 !important;
    }


}

.more-details .details {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 1rem;
    height: 50vh;
    line-height: 1.3;
    padding: 20px 70px;
    width: 100%;
}

.more-details .video-wrapper:nth-child(even) .details {
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1;
}

.more-details .details p {
    font-size: 0.875rem;
}

.details-list {
    display: -ms-grid;
    display: grid;
    gap: 0.5rem 2rem;
}

.details-list.two-cols {
    -ms-grid-columns: (1fr) [ 2 ];
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 1400px) {
    .details-list.two-cols {
        -ms-grid-columns: 1fr;
        grid-template-columns:1fr;
    }

    .more-details .details {
        padding-inline: 1rem !important;
    }

}


.detail-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 0.5rem;
}

.detail-item .detail-label,
.detail-item .detail-value {
    font-size: 0.875rem;
    width: 50%;
}


.f-carousel {
    --f-button-color: #fff !important;
    --f-carousel-dot-color: #fff !important;
    --f-carousel-dot-height: 0.6rem !important;
    --f-carousel-dot-width: 0.6rem !important;
    --f-carousel-dots-width: 1.8rem !important;
}

.f-carousel.has-dots {
    margin-bottom: 0 !important;
}

.f-carousel__dots {
    bottom: 3rem !important;
    mix-blend-mode: difference;
}

/* Temp Slick Styles */

.slick-next {
    right: 44px !important;
}

.slick-prev {
    left: 44px !important;
}

.slick-next, .slick-prev {
    mix-blend-mode: difference;
    z-index: 1;
}


.slick-next:before, .slick-prev:before {
    font-size: 2rem !important;
}

.slick-dots li button:before {
    color: #fff !important;
    font-size: 0.75rem !important;
}

.slick-dots {
    bottom: 3rem !important;
    mix-blend-mode: difference;
}

.slick-dots li.slick-active button:before {
    opacity: 1 !important;
}

.f-carousel__slide {
    display: -ms-grid;
    display: grid;
    place-items: center;
}

.arrow-wrapper {
    position: absolute;
    bottom: 12vh;
}

.plyr {
    width: 100% !important;
    height: 100%;
}

.plyr .plyr__poster {
    background-size: cover;
}

.plyr .plyr__controls,
.plyr .plyr__control {
    visibility: hidden;
}

.plyr.fullscreen .plyr__controls,
.plyr.fullscreen .plyr__control {
    visibility: visible;
}

.cols-2,
.cols-3 {
    display: -ms-grid;
    display: grid;
    gap: 2rem;
}

@media (max-width: 1080px) {
    .content-wrapper .cols-3 {
        -ms-grid-columns: (1fr) [ 3 ];
        grid-template-columns: repeat(3, 1fr);
    }

    .content-wrapper .cols-2 {
        -ms-grid-columns: (1fr) [ 2 ];
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 720px) {
    .content-wrapper .cols-2,
    .content-wrapper .cols-3 {
        -ms-grid-columns: (1fr) [ 1 ];
        grid-template-columns: repeat(1, 1fr);
    }

    .arrow.hide {
        display: none;
    }

    .cols {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }
}

.cols-2 {
    -ms-grid-columns: (1fr) [ 1 ];
    grid-template-columns: repeat(1, 1fr);
}

.cols-2 {
    -ms-grid-columns: (1fr) [ 2 ];
    grid-template-columns: repeat(2, 1fr);
}

.cols-3 {
    -ms-grid-columns: (1fr) [ 3 ];
    grid-template-columns: repeat(3, 1fr);
}


.content-wrapper {
    max-width: 1080px;
    gap: 2rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-inline: auto;
    padding-block: 8rem;
    padding-top: 20vh;
    min-height: 100vh;
    min-height: 100svh;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    line-height: 2;
    padding-inline: 1rem;
}

.content-wrapper.simple {
    display: block;
}

.content-wrapper a {
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    display: inline-block;
    word-break: break-word;
}

.content-wrapper p {
    padding-bottom: 1em;
}


.content-wrapper > div a:hover {
    text-decoration: underline;
}

.text-center {
    text-transform: uppercase;
    font-size: clamp(1rem, 0.7692rem + 1.0256vw, 2rem);
}

.rows {
    display: -ms-grid;
    display: grid;
    row-gap: 2rem;
}

.texts-wrapper {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.team-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    isolation: isolate;
}

.team-grid.columns-2 .person-single {
    width: 33.33%;
    height: 50vh;
    height: 50lvh;
}

.team-grid.columns-3 .person-single {
    width: 33.33%;
}

.team-grid.columns-4 .person-single {
    width: 25%;
}

.team-grid.columns-5 .person-single {
    width: 20%;
}

.team-grid.columns-6 .person-single {
    width: 16.66%;
}

.team-grid.columns-7 .person-single {
    width: 14.285%;
}

.team-grid.columns-8 .person-single {
    width: 12.5%;
}


@media (max-width: 1400px) {
    .team-grid .person-single {
        width: 25% !important;
    }

    .team-grid.columns-2 .person-single {
        width: 33.33% !important;
    }

}

@media (max-width: 1000px) {
    .team-grid .person-single {
        width: 33.33% !important;
    }
}

@media (max-width: 720px) {
    .team-grid .person-single,
    .team-grid.columns-2 .person-single {
        width: 50% !important;
    }

    .team-grid .person-single {
        height: 50vh;
        height: 50lvh;
    }
}

@media (max-width: 480px) {
    .team-grid {
        /*grid-template-columns: repeat(1, 1fr);*/
    }
}


.person-single {
    padding: 0.5rem;
    height: 33.33vh;
    height: 33.33lvh;
    position: relative;
    display: -ms-grid;
    display: grid;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.person-single:before {
    content: '';
    height: 100%;
    display: block;
    width: 100%;
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.6)), color-stop(60%, rgba(255, 255, 255, 0)), to(rgba(255, 255, 255, 0)));
    background: -o-linear-gradient(bottom, rgba(0, 0, 0, 0.6) 0%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 100%);
    z-index: 10;
    position: absolute;
}

.person-single a,
.person-single p {
    color: #fff;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.person-single h3 {
    margin-bottom: 0.4rem;
}

.person-single a:hover {
    padding-left: 0.5rem;
    margin-right: -0.5rem;
}

.person-single .bg-image {
    position: absolute;
    -o-object-fit: cover;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.person-text {
    position: relative;
    z-index: 50;
    text-align: center;
    line-height: 1;
}

.person-text p {
    text-transform: uppercase;
    margin-bottom: 0px;
}

.directors-wrapper {
    min-height: 100vh;
    background: #000;
    position: relative;
    display: -ms-grid;
    display: grid;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}


.video,
.directors-carousel video {
    height: 100vh;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    position: absolute;
    top: 0;
}

.directors-list {
    z-index: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-width: 1280px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    max-height: 80vh;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 2rem;
    color: #fff;
    text-shadow: 0 0 10px #000000b5;
    padding: 4rem;
}

.director-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.director-item a,
.director-item p {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}

.director-item,
.director-item a,
.director-item p {
    font-size: 1.5rem;
    line-height: 1;
    font-family: 'Anton', Helvetica, Arial, Lucida, sans-serif;
    text-transform: uppercase;
    position: relative;
}


.director-item a:after,
.director-item p:after {
    content: '';
    width: 100%;
    position: absolute;
    background-color: #ffffff;
    height: 0.25rem;
    left: 0;
    bottom: -0.5rem;
    opacity: 0;
    -webkit-transition: all 150ms ease-in-out;
    -o-transition: all 150ms ease-in-out;
    transition: all 150ms ease-in-out;
}

.director-item a:hover:after,
.director-item p:hover:after {
    opacity: 1;
}

.directors-carousel .f-carousel__slide {
    height: 100vh;
}


.directors-list video {
    display: none;
}


@media (max-width: 980px) {
    .directors-list {
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: (1fr) [ 1 ];
        grid-template-columns: repeat(1, 1fr);
        padding-top: 10vh;
        padding-bottom: 10vh;
        margin-top: 5vh;
        width: 100%;
        max-height: 75vh;
        overflow-y: auto;
        -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(10vh, black), color-stop(black), to(transparent));
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10vh, black calc(100% - 10vh), transparent 100%);
        mask-image: -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(10vh, black), color-stop(black), to(transparent));
        mask-image: linear-gradient(to bottom, transparent 0%, black 10vh, black calc(100% - 10vh), transparent 100%);
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .directors-list::-webkit-scrollbar {
        display: none;
    }

    .directors-carousel .f-carousel__slide {
        height: 100vh;
    }
}


#directors video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}

#directors video.inactive {
    opacity: 0;
}

/* 404 Page */
.error-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem;
    text-align: center;
}

.error-404__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.error-404__code {
    font-family: 'Anton', sans-serif;
    font-size: clamp(6rem, 20vw, 16rem);
    line-height: 1;
    color: #fff;
    opacity: 0.15;
}

.error-404__title {
    font-family: 'Anton', sans-serif;
    font-size: clamp(1.5rem, 4vw, 3rem);
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}

.error-404__text {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: #aaa;
    margin: 0;
}

.error-404__links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

#directors video.active {
    opacity: 1;
}