/* Initialisation */

:root {
    --lvl1: #131314;
    --lvl2: #1d1d1f;

    --verre: hsla(220, 5%, 45%, .1);

    --beige: #cfa370;
    --dore: #f9b233;
    --plata: #b0aaa4;
    --ice: #9ae5cc;

    --transparent: hsla(220, 5%, 45%, .1);

    --radius: 8px;
    --padding: 24px;

    --bordure: #2e2f33;

    /* linear-gradient(45deg, rgb(41, 37, 37) 10%, rgba(175, 39, 39, 0) 100%)*/
}

body {
    margin: 0;
    background-color: black;
    font-family: Inter;



}

p {
    margin: 0;
}


/* Navbar */
nav {
    display: flex;
    color: var(--beige);
    justify-content: space-between;
    padding: 1em 5%;
    position: fixed;
    width: 90%;
    /* backdrop-filter: blur(5px); */
    z-index: 1;

}

.item-nav {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.item-nav::after {
    content: '';
    width: 100%;
    height: 1px;
    background-color: var(--beige);
    display: flex;
}

#search {
    background-color: #00000000;
    border: none;
    outline: none;
    width: 80px;
}

#search::placeholder {
    color: #cfa370;
    font-size: 1rem;
    opacity: 1;
}

#search:focus {
    opacity: .5;
}


/* Video Hero */
#videoHero {
    position: fixed;
    top: 0px;
    z-index: -1;
}

#head {
    width: 100%;
    position: fixed;
    top: 0;
    aspect-ratio: 1 / 1;
    height: 85vw;
}

#mainVideo {
    width: 100vw;
    opacity: 0.5;
    object-fit: cover;
    height: 85vw;
    filter: blur(50px);


    /* Passage au second plan */
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: -1;


    /* Effet focus */
    transition: filter 3s ease;
    transition-delay: 2s;


}

.logo {
    width: 5vw;
    min-width: 40px;
    z-index: 1;
    position: absolute;
    left: 50%;
    padding-block: 1em;
    translate: -50%;
}

.invisible {
    opacity: 0;
    transition: all 2s;

}

.img-wrapper {
    background: linear-gradient(0deg, rgba(0, 0, 0) 10%, rgba(255, 255, 255, 0) 60%);
    display: flex;
    justify-content: center;
    align-items: end;
    width: 100%;


    /* background: radial-gradient(circle, #bd946691 0.65px, transparent 0.65px), linear-gradient(0deg, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 0) 100%);
    background-size: 13px 13px, cover;
    background-repeat: repeat, no-repeat;
    height: 50vw;
    margin-top: 50vw; */
}

#logo-ctrl {
    opacity: 0;
}

/* Cartes de base */

.card {
    width: 80%;
    color: #cfa370;
    border: 1px solid transparent;
    flex-direction: column;
    border-radius: 8px;
    background-color: var(--lvl1);
    /* padding: 24px; Paddin transmis aux modifiers */
    padding: 1em;
    transition: all 0.5s ease-in-out;
    display: flex;

}

.secondary {
    background-color: black;
    border: 1px solid var(--bordure);
}


/* SKEUD, LE PANTHEON DU RAP  */
#pres {
    background-color: #000000;
    color: antiquewhite;
    padding: 2em;
    /* padding-bottom: 0;
    height: calc(100dvh - 100vw - 2em); */
}


#pres h2 {
    padding: 0;
    margin: 0;
    display: inline-block;
}

h2:after {
    content: '';
    height: 0.2em;
    width: 60%;
    display: block;
    margin-bottom: 0.33em;
    background: linear-gradient(270deg, #202124 -6.65%, rgba(244, 190, 126, 0.63) 90.11%)
}

.text {
    color: antiquewhite;
    max-width: 700px;
}

.accent {
    color: var(--beige);
    text-decoration: underline;
    font-weight: bold;
}

.package {
    position: absolute;
    z-index: 3;
    padding: 2em;
    color: aliceblue;
    max-width: 500px;
    padding-left: 10%;
}

.package h2 {
    margin-bottom: 0;

}

#videoWrapper {
    height: 100vh;
    display: flex;
    justify-content: start;
    align-items: center;
}


/* Présentation responsive */
/* Cacher .package par défaut et afficher #pres */
#pres {
    display: block;
}

.package {
    display: none;
}

/* Media query pour les écrans de bureau (desktop) - afficher .package et cacher #pres */
@media only screen and (min-width: 768px) {
    #pres {
        display: none;
    }

    .package {
        display: block;
    }
}



/* Card citations */

.deck {
    width: 100%;
    background-color: black;
    overflow-x: clip;
    height: 66vh;

    /* Motif de points */
    /* background: radial-gradient(circle, #bd946691 0.65px, black 0.65px); 
    background-size: 13px 13px, cover;
    background-repeat: repeat, no-repeat; */
}

.carousel-container {
    position: relative;
    width: 110%;
    /* max-width: 100%; */
    overflow: hidden;
    /* Empêche le contenu de déborder */
    height: 75%;
    display: flex;
    align-items: center;
    transform: rotate(-15deg);
    left: -5%;
}


.card-wrapper {
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    width: 100%;
    padding-block: 3em;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    /* Internet Explorer et Edge */
    scrollbar-width: none;
    /* Firefox */
}

.card-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari et Opera */
}




.nav-btn-scroll {
    height: 3vw;
    width: 3vw;
    background-color: var(--lvl2);
    position: absolute;
    /* Change de fixed à absolute */
    border-radius: 20em;
    z-index: 1;
    /* Assure que les boutons soient au-dessus du contenu */
    color: var(--beige);
    border: 1px solid var(--beige);
}

.nav-btn-scroll:hover {
    cursor: pointer;
}



#right-scroll {
    right: 3vw;
    /* Utilise 'right' au lieu de 'left' pour le bouton de droite */
    top: calc(50% - 1.5vw);

    /* En cas de diagonale */
    right: 20%;
    top: 75%;
    transform: rotate(15deg);
}

#left-scroll {
    left: 3vw;
    /* Garde le bouton de gauche positionné */
    top: calc(50% - 1.5vw);

    /* En cas de diagonale */
    left: 25%;
    top: 15%;
    transform: rotate(15deg);


}

.card-wrapper>.card-quote:first-child {
    margin-left: 8vw;
}

.card-wrapper>.card-quote:last-child {
    margin-right: 8vw;
}

.card-quote {
    min-width: 300px;
    scroll-snap-align: center;
    margin: 10px;
    display: flex;
    justify-content: center;
    padding: 24px;
    transition: all;
    max-height: 250px;

}

.card-quote p,
.card-quote .context {
    /* filter: blur(5px); */
    transition: filter 1s;

}

.card-quote-img-wrapper {
    height: 100%;

}

.card-quote img {
    height: 100%;
    width: auto;
    border-radius: 50%;
}

.card-quote .context {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0px;
    align-items: center;
    margin-top: 2em;
    height: 2.5em;
}


/* Summary */
.artists-summary {
    background-color: black;
    /* min-height: 100dvh; */
    display: flex;
    justify-content: space-around;
    /* align-items: center; */
    /* border-block: 1px solid var(--beige); */
    flex-direction: row;
    flex-wrap: wrap;
    background: url('https://meetsponsors.com/landings/grid-section-bg.svg');
    background-color: black;
    background-position: top;
    /* padding-block:3em; */
    gap: 5em;
    padding-bottom: 15em;
    padding-top: 5em;


}

.artists-summary h1 {
    color: antiquewhite;
}


/* Compteur x2 - 141 Artistes & 999 Albums */
#compteur {
    display: flex;
    justify-content: center;
    gap: 3em;
    color: white;
    padding-block: 2em;
    background-color: black;
}

.compteur {
    color: white;
    padding: 2em;
    /* border: 1px solid wheat; */
    display: flex;
    flex-direction: column;
    text-align: end;
    height: fit-content;
    text-align: center;
}

.compteur-detail {
    width: 100%;
    text-align: start;
    max-width: 50ch;
}

.compteur-number {
    font-size: 3em;
    font-weight: bold;
}





/*  */

.card-album {
    min-width: 60%;
    scroll-snap-align: center;
    margin: 10px;
    display: flex;
    justify-content: center;

}

.card-album img {
    border-radius: 4px;
    width: 50%;
}

.card-album .context {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0px;
    align-items: center;
    margin-top: 2em;
    height: 2.5em;
}

.card-album .context img {

    height: 100%;
    width: auto;
    border-radius: 50%;
}

.highlight {
    color: var(--plata);
    text-underline-offset: 2px;
    text-decoration: underline;
    animation: glow 1s ease-in-out infinite alternate;
}

@-webkit-keyframes glow {
    from {
        text-shadow: 0 0 10px var(--plata);
    }

    to {
        text-shadow: 0 0 20px var(--plata);
    }
}




/* SECTION BENTO */
#section-bento {
    height: 60dvh;
    background-color: var(--beige);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bento-container-grid {
    aspect-ratio: 2 / 1;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 10px;
    padding: 10px;
    outline: 1px solid black;
}

.item {
    outline: 1px solid black;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

.item1 {
    grid-column: span 1;
    grid-row: span 1;
}

.item4,
.item5 {
    grid-column: span 2;
}

.item6 {
    grid-column: span 2;
    grid-row: span 2;
}

.item7 {
    grid-column: span 3;
    grid-row: span 3;

}

.item8,
.item9 {
    grid-column: span 1;
    grid-row: span 2;
}

.item12 {
    grid-column: span 2;
    grid-row: span 2;
}

.item13 {
    grid-column: span 2;
    grid-row: span 1;
}

.item14 {
    grid-column: span 3;
    grid-row: span 1;
}

.center {
    width: 100vw;
    /* height: 100dvh; */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2em;

}

.card-vertical {
    border-radius: 5px;
    outline: 1px solid var(--bordure);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--beige);
    padding: 20px;
    aspect-ratio: 4 / 5;
    width: 20%;
    max-width: 300px;
    height: 100%;
    backdrop-filter: blur(2px);
    background-color: #ffffff12;



}

.title-card-vertical-wrapper {
    display: flex;
    flex-direction: row;
    gap: 1em;
    align-items: center;
    margin-bottom: 1em;

}

.title-card-vertical-wrapper h1 {
    margin: 0;
    width: fit-content;
    font-weight: normal;
    font-size: 1.3em;
    color: var(--beige);

}

.btn-vertical-card {
    display: flex;
    justify-content: space-between;
    margin-top: 2em;
    /* border: 1px solid rgba(250, 235, 215, 0.329); */
    padding: .3em 1em;
    border-radius: 50px;
    height: 0px;
    overflow: clip;

}

.btn-vertical-card:hover {
    background-color: #b0aaa411;

}

/* TUILES x 4 */

#tuiles {
    width: 100%;
    padding-block: 4em;
    background-color: black;

    /* background: url(fond_granuleux.png); */
    background-origin: border-box;
    background-image: url("../../assets/creas/textures/double-gradient.png");
    background-position: center;
    /* Centre l'image horizontalement et verticalement */
    background-size: cover;
    /* Redimensionne l'image pour couvrir tout l'élément */
    background-repeat: no-repeat;
    /* Empêche la répétition de l'image */

    border-top: 1px solid gray;
    border-bottom: 1px solid gray;
}

.tuiles-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .5em;
}

.tuile {
    flex-direction: row;
    align-items: center;
    max-width: 500px;
    padding: 1em;
    transition: all 0.1;
    /* border-radius: 50px 0; */

}

.tuile:hover {
    transform: translate(-10px);
}

.tuile h4 {
    margin: 0;
}

.illu {
    height: 3em;
}

.container {
    padding-left: 1em;
}

.container p {
    opacity: .5;
    font-size: small;
}

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

    .tuile {
        max-width: 25em;
    }


}

.big_nbr {
    display: flex;
    justify-content: space-around;
    background-color: black;
    color: white;
    margin: 0;
    padding: 3em;
    height: fit-content;
    display: flex;
    align-items: center;
    text-align: center;
    padding-bottom: 10em;
    cursor: url('./assets/creas/icone.png') 10 10, auto;
}

.nbr_wrapper {
    width: 30%;
    flex-direction: column;
    display: flex;
    width: fit-content;
    height: 100%;
    justify-content: space-between;
}

.nbr_details {
    opacity: .7;
    font-size: .75em;
    width: fit-content;
}

.nbr_big {
    font-size: 5vw;
    font-weight: light;
    width: fit-content;
}

/* Jauge */

.jauge {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000000;
    flex-wrap: wrap;
    gap: 1em;
}

.card-jauge {
    flex-grow: 1 1;
    max-width: 500px;

}

@media screen and (min-width: 901px) {
    .card-jauge {
        max-width: calc(40% - 1.5em);

    }

}

.card-jauge-number {
    font-size: 3em;

}

.card-jauge-jauge {
    width: 100%;
    display: flex;
    background-color: #2F2F2F;
    border-radius: 50px;
}

.card-jauge-jauge-value-start {
    /* width: 20%; */
    height: 10px;
    background-color: #cfa370;
    border-radius: 50px 0 0 50px;
}

.card-jauge-jauge-value-mid {
    width: 17%;
    height: 10px;
    background-color: #44331f;

}

.card-jauge-jauge-value-end {
    height: 5px;
    width: auto;
    background-color: #f9b233;

}

.card-jauge-legend {
    width: 100%;
    display: flex;
    padding-top: .5em;
    align-items: center;
}

.card-jauge-legend-color-title-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    /* width: fit-content; */
    padding-right: 1em;
}

.card-jauge-legend-color {
    height: 1em;
    width: 1em;
    background-color: #cfa370;
    margin-right: .5em;
    border-radius: 1px;
}

.card-jauge-legend-title {
    color: #cfa370;
    font-size: small;
}

.card-jauge-legend-title::before {
    content: '';
    width: 10px;
    height: 10px;
    background-color: red;


}


/* Graphique en batons */

#seconde {
    height: 100vh;
    background-color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 5vh;
    /* padding-inline: 16.5%; */
}

.bar-chart-wrapper {
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1045px;
}

#decennie {
    height: 50vh;
    width: calc(100% - 4em);
}


.context {
    display: flex;
    justify-content: space-between;
    padding-bottom: 1em;
}

.ytds {
    display: flex;
    gap: 8px;
}

.ytds div {
    padding: 2px 10px;
    border: 1px solid var(--beige);
    border-radius: 13px;
    cursor: pointer;
}

.active {
    background-color: var(--beige);
    color: black;
}

.chart-holder {
    height: calc(100% - 2em);
}

#explications {
    font-size: small;
}

.jauge-wrapper {
    display: flex;
    justify-content: space-between;
    width: calc(80% + 2em);
    padding-block: 1em;
    gap: 1em;
    width: calc(100% - 2em);
}

.jauge-wrapper .card {
    width: 30%;
}

.last_projets {
    background-image: radial-gradient(#bd946691 0.65px, #000 0.65px);
    background-size: 13px 13px;
    background-color: #000000;
    opacity: 1;



    color: white;
    margin: 0;
    padding: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;

    border-top: 1px solid var(--beige);
    border-bottom: 1px solid var(--beige);

    overflow: clip;
    height: 66dvh;
    justify-content: center;



    background-origin: border-box;
    background-image: url("../../assets/creas/textures/double-gradient.png");
    background-position: center;
    /* Centre l'image horizontalement et verticalement */
    background-size: cover;
    /* Redimensionne l'image pour couvrir tout l'élément */
    background-repeat: no-repeat;
    /* Empêche la répétition de l'image */
}

.last_projets h1 {
    margin-top: -1em;
}

.trendy_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 20%;
}

.trendy-infos-wrapper {
    display: flex;
    flex-direction: column;

}

.trendy-cover {
    width: 100%;
    /* border: 1px solid #665035; */
    border-radius: .2em;
    margin-bottom: .5em;

    border: 1px solid var(--bordure);
    filter: grayscale(66%) sepia(85%) saturate(2) hue-rotate(-10deg);
    transition: filter .4s ease;

}

.trendy-cover:hover {

    filter: none;
    cursor: pointer;

}

.hexagone {
    overflow: clip;
    background-color: black;
    color: white;
    margin: 0;
    padding: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80dvh;
    background: url('https://meetsponsors.com/landings/grid-section-bg.svg');
    background-color: rgba(0, 0, 0, 0);

    background-color: black;
    background-position: top;

}

@keyframes zoomBackground {
    0% {
        background-size: 150%;
    }

    50% {
        background-size: 100%;
    }

    100% {
        background-size: 150%;
    }
}


.tableau {
    width: 90%;
    background-color: #5f4b31;
    border-radius: 5px;
    color: white;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-origin: border-box;
    background-image: url("../../assets/creas/textures/double-gradient.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border: 1px solid #cfa37014;
    aspect-ratio: 20 / 9;
    padding: 2em;
    max-width: 1000px;
    text-decoration: none;

    animation: zoomBackground 5s ease-in-out infinite;
    transition: all .5s ease-in-out;


}


.tableau:hover {
    transform: scale(1.01);
    background-color: #836744;
    cursor: pointer;
}


.tableau h1 {
    padding: 0;
    margin: 0;
    text-decoration: none;
}

.tableau p {
    padding: 0;
    margin: 0;
    opacity: .5;
    font-size: .7em;
    text-decoration: none;

}

.tableau img {
    padding: 2em;
    height: 50%;
    opacity: .8;
}



.le_game {
    overflow: clip;
}


.icon-wrapper {
    border-top-style: solid;
    border-top-width: 1px;
    border-top-color: #29002933;
    border-right-style: solid;
    border-right-width: 1px;
    border-right-color: #29002933;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: #29002933;
    border-left-style: solid;
    border-left-width: 1px;
    border-left-color: #29002933;
    border-top-left-radius: .375rem;
    border-top-right-radius: .375rem;
    border-bottom-left-radius: .375rem;
    border-bottom-right-radius: .375rem;
    background-color: white;
    box-shadow: 0 1px 2px 0 hsl(293deg, 100%, 7% / 0.05);
    padding: .5rem;
    transition-property: background-color, color;
    transition-duration: .2s, .2s;
    transition-timing-function: ease-in-out, ease-in-out;
    display: inline-flex;

    background-color: #131314;
    border: 1px solid;
    width: fit-content;
}

.ph {
    font-size: 26px;
}

.btn_more {
    all: unset;
    padding: .5em 2em;
    background-color: transparent;
    color: white;
    border-radius: 50px;
    font-family: Inter;
    border: 1px solid white;
    cursor: pointer;
}

.btn_more:hover {
    background-color: rgba(255, 255, 255, 0.288);
}

.recent_albums {
    background-color: #000;
    color: white;
    padding-bottom: 10vh;
    height: 90dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-bottom: 20dvh;
    height: 55dvh;
    overflow: clip;
}

/* CAROUSSEL */
.album_gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 40dvh;
    perspective: 1000px;
    margin-top: 2em;
    background-color: #000;
    width: 100%;
}

.album_card {
    position: absolute;
    width: 200px;
    cursor: pointer;
    transition: all 0.5s ease;
    text-align: center;
    opacity: 0.5;
    transform: translateX(0) translateZ(-200px) scale(0.7);
    z-index: 1;
}

.album_card img {
    width: 100%;
    border-radius: 2px;
    border: 1px solid var(--bordure);
    filter: grayscale(66%) sepia(85%) saturate(2) hue-rotate(-10deg);
    filter: grayscale(1);
    transition: filter 0.4s ease;
}

.album_card p {
    margin-top: .5em;
    font-size: 1em;
}

.album_card p span {
    display: block;
    font-size: 0.8em;
    opacity: 0.6;
}

/* Position centrale */
.album_card.actif {
    transform: translateX(0) scale(1.2);
    opacity: 1;
    z-index: 3;
    filter: none;
    /* filter: grayscale(0%) sepia(0%) saturate(1) hue-rotate(0deg); */
}

/* Position centrale */
.album_card.actif img {
    filter: none;
}

/* Gauche immédiate */
.album_card.prev {
    transform: translateX(-220px) scale(0.9) rotateY(20deg);
    opacity: 0.8;
    z-index: 2;
}

/* Droite immédiate */
.album_card.next {
    transform: translateX(220px) scale(0.9) rotateY(-20deg);
    opacity: 0.8;
    z-index: 2;
}

/* Arrière-plan gauche */
.album_card.prev2 {
    transform: translateX(-400px) translateZ(-150px) scale(0.7) rotateY(30deg);
    opacity: 0.5;
    z-index: 1;
}

/* Arrière-plan droite */
.album_card.next2 {
    transform: translateX(400px) translateZ(-150px) scale(0.7) rotateY(-30deg);
    opacity: 0.5;
    z-index: 1;
}