/*!
Theme Name: Bakuza Theme
Theme URI: https://bklt.fr/
Author: Underscores.me
Author URI: https://bklt.fr/
Description: Custom Theme for Bakuza Group
Version: 1.0.0
*/

@font-face {
    font-family: 'NaN Jaune Midi Blond';
    src: url('https://bakuza.com/wp-content/themes/bakuza-theme/fonts/NaNJaune-MidiBlond.eot');
    src: url('https://bakuza.com/wp-content/themes/bakuza-theme/fonts/NaNJaune-MidiBlond.eot?#iefix') format('embedded-opentype'),
        url('https://bakuza.com/wp-content/themes/bakuza-theme/fonts/NaNJaune-MidiBlond.woff2') format('woff2'),
        url('https://bakuza.com/wp-content/themes/bakuza-theme/fonts/NaNJaune-MidiBlond.woff') format('woff'),
        url('https://bakuza.com/wp-content/themes/bakuza-theme/fonts/NaNJaune-MidiBlond.ttf') format('truetype'),
        url('https://bakuza.com/wp-content/themes/bakuza-theme/fonts/NaNJaune-MidiBlond.svg#NaNJaune-MidiBlond') format('svg');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NaN Jaune Midi';
    src: url('https://bakuza.com/wp-content/themes/bakuza-theme/fonts/NaNJaune-MidiRegular.eot');
    src: url('https://bakuza.com/wp-content/themes/bakuza-theme/fonts/NaNJaune-MidiRegular.eot?#iefix') format('embedded-opentype'),
        url('https://bakuza.com/wp-content/themes/bakuza-theme/fonts/NaNJaune-MidiRegular.woff2') format('woff2'),
        url('https://bakuza.com/wp-content/themes/bakuza-theme/fonts/NaNJaune-MidiRegular.woff') format('woff'),
        url('https://bakuza.com/wp-content/themes/bakuza-theme/fonts/NaNJaune-MidiRegular.ttf') format('truetype'),
        url('https://bakuza.com/wp-content/themes/bakuza-theme/fonts/NaNJaune-MidiRegular.svg#NaNJaune-MidiRegular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-orange: #FF5001;
    --color-green: #00CC90;
    --color-pink: #FF27E5;
    --color-grey: #EFEFEF;
    --plyr-color-main: #00CC90;

    --lines: 3px solid black;
}

*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

html {
    font-size: 62.5%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    cursor: none;
    /* overflow-y: scroll; */
    overflow-y: visible;
    height: 100%;
}

@media screen and (max-width: 970px) {
    html {
        overflow-y: scroll;
    }
}

body {
    font-family: 'NaN Jaune Midi Blond';
    background-color: var(--color-grey);
    overflow-x: hidden;
    overflow-y: visible;
    height: auto;
}

body.stop {
    overflow-y: hidden;
    scroll-behavior: unset;
}

a {
    cursor: none;
}

.division-logo {
    height: 5rem;
    background-image: url(./img/pattern-1.jpg);
    background-size: contain;
}

.division-line {
    height: 5rem;
    background-image: url(./img/pattern-2.jpg);
    background-size: contain;
}

.pink {
    color: var(--color-pink);
}

.orange {
    color: var(--color-orange);
}

.green {
    color: var(--color-green);
}

/*---------------------------*/
/*          Cursor           */
/*---------------------------*/

@media screen and (min-width: 970px) {

    .cursor {
        position: fixed;
        background: black;
        width: 8px;
        height: 8px;
        border-radius: 100%;
        z-index: 1000;
        transition: 0.5s cubic-bezier(0.75, -1.27, 0.3, 2.33) transform,
            0.2s cubic-bezier(0.75, -1.27, 0.3, 2.33) opacity;
        user-select: none;
        pointer-events: none;
        transform: scale(0.8);
        /* mix-blend-mode: difference; */
    }

    .white {
        background-color: white;
    }

    .cursor::before {
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        background-image: url("./img/cursor-video.svg");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        border-radius: 100%;
        opacity: 0;
    }

    @supports (-webkit-touch-callout: none) {
        .cursor.link::before {
            background-image: url("./img/cursor-video.png");
            /* Image PNG pour Safari */
        }
    }

    .cursor.active {
        opacity: 1;
        transform: scale(12);
        /* transform: matrix(12, 0, 0, 12, 0, 0); */
        mix-blend-mode: normal;
    }

    .cursor.link {
        opacity: 1;
        transform: scale(2);
    }

    .cursor.active::before {
        opacity: 1;
        mix-blend-mode: normal;
    }

    .cursor-follower {
        position: fixed;
        background: rgba(0, 0, 0, 0.3);
        width: 40px;
        height: 40px;
        border-radius: 100%;
        z-index: 1000;
        transition: 0.6s cubic-bezier(0.75, -1.27, 0.3, 2.33) transform,
            0.4s cubic-bezier(0.75, -1.27, 0.3, 2.33) opacity;
        user-select: none;
        pointer-events: none;
        transform: translate(4px, 4px);
    }

    .off-white {
        background: rgba(255, 255, 255, 0.3);
    }

    .cursor-follower.active {
        opacity: 0.3;
        transform: scale(0);
    }
}

/*---------------------------*/
/*          Loading          */
/*---------------------------*/

#loading {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    transition: all .3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ff58fd;
}


#loading video {
    width: 60%;
    height: auto;
}

#loading.hide {
    opacity: 0;
    visibility: hidden;
}

#lottieAnimation {
    width: 40%;
    height: auto;
}

/*---------------------------*/
/*          Header           */
/*---------------------------*/

header {
    padding: 2.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: var(--lines);
    position: relative;
    z-index: 999;
}

.header__logo,
.header__nav {
    width: 33.3333333%;
}

.header__picto {
    width: 33.3333333%;
    text-align: center;
}

@media screen and (max-width: 1140px) {
    .header__nav {
        display: none;
    }

    .header__picto {
        text-align: right;
    }
}

.header__nav ul {
    display: flex;
    justify-content: end;
    list-style: none;
}

.header__nav ul li:not(:last-child) {
    padding-right: 4rem;
}

.header__nav ul li a {
    font-family: 'NaN Jaune Midi Blond';
    font-size: 3rem;
    color: black;
    text-decoration: none;
}

.header__nav-mobile {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 104.5px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100% - 104.5px);
    background-color: var(--color-grey);
    padding: 2.5rem 4rem;
    display: flex;
    flex-direction: column;
    /* justify-content: flex-end; */
    justify-content: space-around;
    transform: translateX(100%);
    transition: transform 0.7s cubic-bezier(0.65, 0.05, 0.36, 1), opacity 0.5s ease-in-out;
}

.header__nav-mobile.show {
    visibility: visible;
    opacity: 1;
    transform: translateX(0%);
    transition: transform 0.7s cubic-bezier(0.65, 0.05, 0.36, 1), opacity 0.5s ease-in-out;
}

.header__nav-mobile:not(.show) {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.header__nav-mobile ul {
    list-style: none;
}

/* .header__nav-mobile .nav {
    margin: auto 0;
} */

.header__nav-mobile .nav li {
    padding: 3rem 0;
}

.header__nav-mobile .nav a {
    font-family: 'NaN Jaune Midi Blond';
    font-size: 3rem;
    color: black;
    text-decoration: none;
}

.header__nav-mobile .socials li {
    padding: 1rem 0;
}

.header__nav-mobile .socials a {
    font-family: 'NaN Jaune Midi Blond';
    font-size: 2rem;
    color: black;
    text-decoration: none;
}

/*---------------------------*/
/*           Hero            */
/*---------------------------*/

.container {
    height: 100%;
}

.container-scroll {
    display: flex;
    flex-wrap: nowrap;
    width: 500%;
    overflow-x: scroll;
}

.hero {
    min-width: 100vw;
    height: calc(100vh - 105.5px);
    display: flex;
    flex-direction: column;
}

.hero h2 {
    font-size: 22vw;
    font-weight: 300;
    line-height: 230px;
    height: 305px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

@media screen and (min-width: 1770px) {
    .hero h2 {
        font-size: 380px;
    }
}

.hero__text h2 a {
    font-size: 10.5vw;
    color: black;
    text-decoration: none;
    display: block;
    transition: all .2s;
}

.hero__first,
.hero__second {
    display: flex;
    height: 50%;
    border-bottom: var(--lines);
    border-right: var(--lines);
}

.hero__col {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    text-align: center;
}

.hero__col:first-child,
.hero__second:first-child {
    border-right: var(--lines);
}

.hero__pattern {
    position: relative;
}

.hero__pattern video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__col img {
    height: auto;
    width: 70%;
}

.hero--event .hero__text {
    background-color: var(--color-orange);
}

.hero--studio .hero__text {
    background-color: var(--color-green);
}

.hero--next .hero__text {
    background-color: var(--color-pink);
}

.char {
    transform: translateY(300px);
    transition: transform .5s;
}

.split-letter,
.text-reveal {
    overflow: hidden;
}

.main-video {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 999;
    display: none;
}

.main-video.show {
    display: block;
}

.close {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.close.show {
    opacity: 1;
    visibility: visible;
}

.show-mobile {
    display: none;
}

@media screen and (max-width: 600px) {
    .show-mobile {
        display: block;
    }

    .hide-mobile {
        display: none;
    }

    .hero__pattern,
    .hero__text {
        width: 100%;
        border-right: 0 !important;
    }

    .hero__text {
        flex-direction: column;
        gap: 3rem;
    }

    .hero__text h2 {
        height: auto;
        line-height: initial;
    }

    .hero__text h2 a {
        font-size: 8rem;
    }

    .hero__pattern img {
        position: absolute;
        z-index: 2;
    }
}

/*---------------------------*/
/*           About           */
/*---------------------------*/

.about {
    height: 100vh;
    background-color: black;
    display: flex;
    align-items: center;
    padding: 0 13%;
}

.about p {
    font-size: 3vw;
    line-height: 5vw;
    color: var(--color-grey);
}

@media screen and (max-width: 600px) {
    .about p {
        font-size: 2rem;
        line-height: 3rem;
    }
}


/*---------------------------*/
/*            Tabs           */
/*---------------------------*/


.tab {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.tab__events {
    /* width: 100%; */
    background-color: var(--color-orange);
    padding: 0 4rem;
    position: relative;
    z-index: 2;
}

.tab__studio {
    width: 100%;
    background-color: var(--color-green);
    padding: 0 4rem;
}

.tab__next {
    width: 100%;
    background-color: var(--color-pink);
    padding: 0 4rem;
}

@media screen and (max-width: 600px) {
    .tab__next {
        padding: 0 2rem;
    }
}

.tab__events h2,
.tab__studio h2,
.tab__next h2 {
    font-family: 'NaN Jaune Midi';
    font-size: 23vw;
    font-weight: normal;
    line-height: 20vw;
    padding-bottom: 4.2vw;
}

.tab__events h2 {
    margin-left: -3rem;
}

@media screen and (max-width: 900px) {
    .tab__events h2 {
        margin-left: -1.8rem;
    }
}

@media screen and (max-width: 600px) {
    .tab__events h2 {
        margin-left: -3rem;
    }
}

.tab__studio h2 {
    margin-left: -1.6rem;
}

@media screen and (max-width: 1400px) {
    .tab__studio h2 {
        margin-left: -2rem;
    }
}

@media screen and (max-width: 900px) {
    .tab__studio h2 {
        margin-left: -1.6rem;
    }
}

@media screen and (max-width: 600px) {
    .tab__studio h2 {
        margin-left: -2.6rem;
    }
}

.tab__next h2 {
    margin-left: -3rem;
    padding-bottom: 3vw;
}

@media screen and (max-width: 900px) {
    .tab__next h2 {
        margin-left: -1.8rem;
    }
}

@media screen and (max-width: 600px) {
    .tab__next h2 {
        margin-left: -1rem;
    }
}

.tab__next img {
    width: 20%;
    height: auto;
    margin-bottom: -0.2rem;
}

.tabs a {
    display: block;
    color: inherit;
    text-decoration: none;
}

/*---------------------------*/
/*           Footer          */
/*---------------------------*/

.footer {
    color: white;
    padding: 0 4rem;
    /* width: calc(100% - 8rem); */
    background-color: black;
    position: relative;
    z-index: 0;
}

@media screen and (max-width: 600px) {
    .footer {
        padding: 0 2rem;
    }
}

.footer h1 {
    font-family: 'NaN Jaune Midi';
    color: white;
    font-size: 24.7vw;
    line-height: 21vw;
    font-weight: normal;
    padding-bottom: 32rem;
    margin-left: -3rem;
}

.footer-title div,
.works-title div {
    display: inline-block;
}


@media screen and (max-width: 900px) {
    .footer h1 {
        margin-left: -1.8rem;
    }
}

@media screen and (max-width: 600px) {
    .footer h1 {
        margin-left: -1rem;
    }
}

@media screen and (max-width: 460px) {
    .footer h1 {
        margin-left: -1rem;
    }
}

.footer ul {
    list-style: none;
}

.footer a {
    color: white;
    text-decoration: none;
}

.footer__wrapper {
    font-size: 2rem;
    line-height: 3rem;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 4rem;
    padding-bottom: 7.5rem;
}

@media screen and (max-width: 1430px) {
    .footer__wrapper {
        grid-template-columns: repeat(8, 1fr);
    }
}

@media screen and (max-width: 1160px) {
    .footer__wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 710px) {
    .footer__wrapper {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 4rem;
    }
}

.footer__info {
    grid-column: 1 / span 3;
}

@media screen and (max-width: 1430px) {
    .footer__info {
        grid-column: 1 / span 4;
    }
}

@media screen and (max-width: 1160px) {
    .footer__info {
        grid-column: 1 / span 2;
    }
}

.footer__contact {
    grid-column: 4 / span 3;
}

@media screen and (max-width: 1430px) {
    .footer__contact {
        grid-column: 5 / span 4;
    }
}

@media screen and (max-width: 1160px) {
    .footer__contact {
        grid-column: 1 / span 2;
    }
}

.footer__pages {
    grid-column: 11 / span 1;
}

@media screen and (max-width: 1160px) {
    .footer__pages {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
    }
}

@media screen and (max-width: 710px) {
    .footer__pages {
        grid-column: 1;
        grid-row: 3;
        justify-self: start;
    }
}

.footer__socials {
    grid-column: 12 / span 1;
}

@media screen and (max-width: 1160px) {
    .footer__socials {
        grid-column: 4;
        grid-row: 1;
        justify-self: end;
    }
}

@media screen and (max-width: 710px) {
    .footer__socials {
        grid-column: 2;
        grid-row: 3;
        justify-self: start;
    }
}

.footer__pages ul li,
.footer__socials ul li {
    padding-bottom: 2rem;
}

.footer__policy {
    font-size: 1.6rem;
    padding-bottom: 8rem;
}

#contact.footer {
    overflow: hidden;
}

/*---------------------------*/
/*            Main           */
/*---------------------------*/

.main {
    padding: 0 4rem;
    position: relative;
    z-index: 2;
}

@media screen and (max-width: 600px) {
    .main {
        padding: 0 2rem;
    }
}

.main__title {
    text-transform: uppercase;
}

@media screen and (max-width: 900px) {
    .main__title {
        padding-top: 4rem;
    }
}

.main__p {
    font-size: 6rem;
    line-height: 9rem;
    margin: 4rem 0 10rem;
}

@media screen and (max-width: 900px) {
    .main__content p {
        font-size: 4rem;
        line-height: 6rem;
    }
}

.main__list {
    list-style: none;
    border-top: var(--lines);
    font-size: 2rem;
    margin-bottom: 12rem;
}

.main__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: var(--lines);
    padding: 4.5rem 0;
    transition: 0.4s;
}

@media screen and (max-width: 900px) {
    .main__item {
        display: grid;
        grid-template-columns: repeat(2, auto);
        grid-template-rows: repeat(2, auto);
    }
}

.main__item h2 {
    font-size: 3rem;
}

@media screen and (max-width: 900px) {
    .main__item h2 {
        font-size: 2.2rem;
        grid-column: 1;
    }
}


.main__infos {
    flex-grow: 2;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

@media screen and (max-width: 900px) {
    .main__infos {
        grid-column: 1;
        padding-top: 1rem;
    }
}

.main__infos span {
    padding-right: 2rem;
}

@media screen and (max-width: 900px) {
    .main__infos span {
        font-size: 1.4rem;
        padding-right: 1rem;
    }
}

.main__details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.main__details-p {
    margin: 4rem 0;
}

.main__details p {
    font-size: 2rem;
    line-height: 3rem;
    max-width: 105.5rem;
    margin-bottom: 2rem;
}

.main__item img {
    transition: all .3s ease;
}

@media screen and (max-width: 900px) {
    .main__item img {
        grid-column: 2;
        grid-row: 1 / 3;
    }
}

.main__item.active img {
    transform: rotate(90deg);
}