body {
    background: #000;
    /* background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(207, 163, 112, 1) 51%, rgba(0, 0, 0, 1) 100%); */
}

section {
    width: 99%;
    display: flex;

    border: 1px solid;
    flex-direction: column;

    max-width: 1080px;
    margin-inline: auto;
    border-inline: 2px solid #151311;
}

#infos {
    position: fixed;
    z-index: -1;
}

#buffer {
    /* height: 50vh; */
    height: 62px;
}

nav {
    background-color: black;
    border-bottom: 1px solid beige;
}

#logo-ctrl {
    max-height: 45px;
}

.header {
    overflow: hidden;
}

.banniere {
    width: 100%;
    object-fit: cover;
    object-position: center;
    height: 100%;
    opacity: .5;
    filter: grayscale(0.6) blur(5px);
}

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

}

.section {
    background-color: black;

}


/* Artiste Title - nom / photo / nbr de certifs */


.artiste-title {
    /* outline: 1px solid var(--dore); */
    width: 99%;
    color: --var(--dore);
    height: unset;

}

.artiste-title-wrapper {
    width: calc(100% - 56px);
    padding: 26px;
    display: flex;


}

.artiste-title-wrapper-img {
    width: 200px;
    height: 200px;
    border-radius: .1em;
}

.artiste-title-wrapper-img:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
    /* Dégradé transparent */
    z-index: 1;
    /* Place le dégradé au-dessus de l'image */

}





.artiste-title-titre {
    width: 100%;
    text-align: center;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-inline: 2em;
    align-items: center;
    gap: .5em;
}

#artiste-name {
    font-size: 6em;
    position: relative;
    z-index: 3;
    margin: 0;
    color: beige;

}

.page-artiste-title {
    margin: 0;
    color: beige;
    cursor: pointer;
}

.pastille-wrapper {
    display: flex;
    justify-content: center;
    gap: 1em;
    padding: 0.5em;
    white-space: nowrap;
    flex-wrap: wrap;
    max-width: 100%;

}



.emballage-pastille {
    display: flex;
}


.pastille {
    padding: 2px 10px;
    border: 1px solid var(--beige);
    border-radius: 13px;
    width: max-content;
    color: var(--beige);

}

.num-pastille {
    color: white;
    background-color: red;
    border-radius: 20em;
    width: 1.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: .9em;
    position: relative;
    left: -.75em;
    top: -1em;
    z-index: 100;
    height: 1.5em;



}

/* Media query pour les infos artistes */
@media only screen and (max-width: 767px) {

    /* Styles pour les téléphones */
    .artiste-title-wrapper {
        flex-direction: column;
        align-items: center;
    }

    #artiste-name {
        font-size: 4em;
        line-height: .7em;

    }

}



/* éléments reccurents : titres et sections */
.title-wrapper {
    padding: 1em;
    position: sticky;
    top: 50px;
    background-color: black;
    z-index: 99;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--beige);
    padding-bottom: .5em;
    padding-inline: 0;

}

.title-wrapper:not(:first-child) {
    border-top: 1px solid var(--beige);
}

.title-wrapper-sub {
    padding: 1em;
    top: 50px;
    background-color: black;
    display: flex;
    gap: .5em;
    padding-top: 0;
    font-size: .8em;
    flex-wrap: wrap;
    padding-top: .5em;
    /* justify-content: center; */
    padding-inline: 0;
    align-items: center;
}

.section-interaction {
    color: white;
    display: flex;
    align-items: center;
    cursor: pointer;
    min-width: 90px;
    justify-content: center;

}

.v-plus, #toggleAnnotationsBtn{
    font-size: .8em; 
    color: var(--beige);
    height: .8em;
    padding: .5em;
    background-color: black;

}

#toggleAnnotationsBtn{
    height: fit-content;
    padding-inline: 1.5em;
}


.page-artiste-section-wrapper {
    width: 100%;
    /* background: url('https://www.creativefabrica.com/wp-content/uploads/2022/01/25/Grainy-Noise-Texture-Gradient-Graphics-24101277-1-580x390.jpg') no-repeat;
    background-size: cover; */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1em;
    padding-block: 5vh;
    flex-wrap: wrap;
    background-image: linear-gradient(to bottom right, #cfa37026, rgb(114, 108, 108));

    /* background-image: linear-gradient(to bottom right, hsl(0,0%,100%,.05), hsl(0,0%,100%,.1)); */


}

/* Card quotes */
.card-quote {
    max-width: 35ch;
}

/* Discographie */

.card-album {

    max-width: 400px;
    cursor: pointer;
    overflow: clip;
}

.card-album-title-wrapper {
    padding-top: .5em;
    width: 100%;
    display: flex;
    align-items: end;
}

.card-album-title {
    margin: 0;
    line-height: 1em;
    display: block;
    width: 100%;
}

.card-album-comment {
    text-align: end;
    width: auto;
    padding-left: 1em;
}


.pochette {
    width: var(--pochette);
    z-index: 10;
    border-radius: 3%;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0);
}

.certif {
    transition: all .5s ease-in-out;
    /* Définissez l'animation avec une rotation continue */
    animation: rotate 2s linear;
    width: 100%;
    position: absolute;
    left: 0;

}

.certif-wrapper {
    width: var(--pochette);
    position: relative;
    right: var(--pochette);
    display: flex;
    justify-content: center;
    align-items: center;
}

.pochette:hover+.certif {
    right: 20%;
    /* Définissez l'animation avec une rotation continue */
    /* animation: rotate 2s infinite linear; */

}

.out-start {
    /* Définissez l'animation avec une rotation continue */
    animation: rotate 3s infinite linear;
    left: 50%;
    /* z-index: 3; */
}

.out-mid {
    /* Définissez l'animation avec une rotation continue */
    animation: rotate 3s infinite linear;
    left: 100%;
    transition: all .5s ease-in-out;
    /* z-index: 2; */

}

.out-end {
    /* Définissez l'animation avec une rotation continue */
    animation: rotate 3s infinite linear;
    left: 150%;
    transition: all .5s ease-in-out;
    /* z-index: 1; */

}

.demi {
    display: flex;
    flex-direction: row;
}

/* VENTES - Graphique  */

.card-tableau {
    height: 60vh;
}

.graphique-wrapper {
    height: 100%;
    width: 100%;
}

.legend-title {
    margin-top: 0px;
    margin-bottom: 1.5em;
}

/* EXPLOITS */


.section-exploits {
    /* display: grid; */
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    margin-bottom: 30dvh;
}

.card-exploits {
    min-height: 75px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    max-width: 50ch;

}

.card-expl {
    justify-content: center;
    align-items: center;
    /* max-width: 100%;
    width: 45%; */
    width: calc(100% - 3em);
    justify-self: center;
    height: calc(100% - 2em);



}

.exploit-leg {
    width: 75%;
    text-align: center;
    font-size: .7em;
}

.illustration {
    width: 80px;
}

.contenu {
    padding-inline: 2em;
}


/* Définissez l'animation "rotate" */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* Discographie pour les petits écrans */

/* Ajouter une media query */
@media screen and (max-width: 600px) {

    /* Appliquer ces styles uniquement pour les écrans plus grands que les mobiles (par exemple, largeur minimale de 600px) */
    .card-album {
        height: 3em;
        display: flex;
        flex-direction: row;
    }

    .demi {
        height: 100%;
        width: 3em;
    }

    .pochette {
        width: auto;

    }

    .card-album-title-wrapper {
        padding-top: 0;
        width: 100%;
        display: flex;
        /* align-items: end; */
        align-items: center;
        /* padding-right: 1em; */
        padding-left: 2em;
    }

    .certif-wrapper {
        width: 100%;
        position: relative;
        right: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .certif-wrapper> :nth-child(2),
    .certif-wrapper> :nth-child(3) {
        display: none;
    }



    .certif {
        transition: all .5s ease-in-out;
        animation: rotate 2s linear;
        width: 3em;
        position: relative;
        left: -0;
    }

    .out-start {
        /* Définissez l'animation avec une rotation continue */
        animation: rotate 3s infinite linear;
        left: 50%;
        z-index: 3;
    }

    .card-tableau {
        height: 35vh;
    }
}


/* Tentative de nouveau layout page artiste */
@media (min-width: 3020px) {
    section {
        margin-left: 20%;
        width: calc(80% - 2px);
    }

    .artiste-title {
        width: 20%;
        height: 100vh;
        position: fixed;
        left: 0;
        margin-left: 0;
        border-right: 1px solid gold;
        z-index: 200;
    }

    .artiste-title-wrapper {
        width: calc(100% - 56px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .title-wrapper {
        top: 64px;
    }

    #artiste-name {
        font-size: 2em;
        position: relative;
        z-index: 3;
        max-width: 100%;
        color: beige;
        margin: 0;



    }

}



/* TEST  */



.section {
    margin-bottom: 3em;
}

.title-wrapper {
    border-top: 0px;
}

.page-artiste-section-wrapper {
    padding-block: 5vh;
    background-image: linear-gradient(to bottom right, #cfa37026, rgb(114, 108, 108));
    background: #000;

}

section {
    border: 1px solid;
    border-inline: none;
}

.card-album {
    max-width: 400px;
    max-width: 29%;
}

.card {
    width: 100%;
}

.page-artiste-section-wrapper {
    padding: 0;
}

.artiste-title-wrapper {
    background-color: #131314;
    margin-top: 3em;
    border-radius: 8px;
}

.long_way {
    overflow: hidden; /* plus compatible que clip */
    /* max-height: 168px; */
    transition: max-height 1s ease-in-out;
}

.long_way.high_way {
    max-height: none; /* enlève la limite pour l'expansion */
}

.super-quote {
    width: 100%;
    font-size: 2em;
    color: var(--beige);
    font-weight: bold;
    padding: 2em;
  

}

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