body {
    background-color: black;
    color: white;
    font-family: 'Inter';
}

.parent {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    grid-template-rows: repeat(6, 1fr);
    grid-column-gap: 1em;
    grid-row-gap: 1em;
    width: 100%;
    height: calc(100dvh - 4em - 50px);
    font-weight: bold;
}

.bloc {
    display: flex;
    background-color: #333;
    border-radius: 8px;
    position: relative;
    padding: 1em;
}

.div1 {
    grid-area: 1 / 1 / 5 / 4;
    padding: 2em;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.div1 svg {
    max-height: 100%;
    max-width: 100%;
}

.div1 .card {
    border: 1px solid gold;
    font-weight: normal;
}

.div2 {
    grid-area: 1 / 4 / 2 / 10;
    font-size: 2em;
    justify-content: center;
    align-items: center;
}

.div3 {
    grid-area: 2 / 4 / 3 / 7;
    flex-direction: column;
    font-weight: normal;
    justify-content: space-between;
}

.jauge_title {
    width: 100%;
    font-size: .8em;
    opacity: .5;
    font-weight: normal;
}

.jauge_valeur {
    font-size: 2em;
    width: 100%;
    justify-content: start;
    text-align: left;
}

.jauge_jauge {
    display: flex;
    flex-direction: column;
    justify-content: start;
    width: 100%;
}




.full_w {
    width: 100%;
    height: 5px;
    background-color: #cfa370;
    border-radius: 50px;
    margin-block: .5em;
}

.legende {
    font-size: .8em;
    opacity: 1;
    flex-direction: row;
    display: flex;
    justify-content: space-between;
}


.metal_wrapper {
    display: flex;
    flex-direction: row;
    width: fit-content;
}

.metal_item {
    background-color: aliceblue;
    width: 1em;
    height: 1em;
    margin-right: .5em;
    border-radius: 2px;
}

.metal_legende {
    width: fit-content;
}

.div4 {
    grid-area: 2 / 7 / 3 / 10;
    flex-direction: column;
    font-weight: normal;
}

.div5 {
    grid-area: 3 / 4 / 4 / 5;
    padding: .5em;
}

.div6 {
    grid-area: 3 / 5 / 4 / 6;
    padding: .5em;

}

.div7 {
    grid-area: 3 / 6 / 4 / 7;
    padding: .5em;

}

.div8 {
    grid-area: 3 / 7 / 4 / 10;
}

.div9 {
    grid-area: 4 / 7 / 7 / 10;
    font-size: 1em;
    flex-direction: column;
    align-items: start;
    padding: 1em;
    font-weight: normal;
    justify-content: space-between;
    grid-area: 5 / 4 / 7 / 10;
    gap: .5em;

}

.cover {
    height: 100%;
}



.div10 {
    grid-area: 4 / 4 / 5 / 7;
    padding: 1em;
    grid-area: 4 / 4 / 7 / 7;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    grid-area: 3 / 4 / 7 / 7;
    grid-area: 3 / 4 / 5 / 10;
    gap: .5em;


}

.top-artist-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    height: 90%;
}


.item-artist {
    height: 100%;
    display: flex;
    align-items: center;
    border-radius: 50px;
    /* outline:1px solid; */
    font-weight: light;
    width: 20%;
    flex-direction: column;
    text-decoration: none;
}

.item-artist span {
    font-weight: normal;

}

.img-artist {
    width: 100%;


}

.div11 {
    grid-area: 5 / 4 / 6 / 7;
    display: none;
}

.div12 {
    grid-area: 6 / 4 / 7 / 7;
    display: none;
}

.div13 {
    grid-area: 4 / 1 / 5 / 4;
    display: none;
}

.div14 {
    grid-area: 5 / 1 / 6 / 4;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.geo-infos-wrapper {
    display: flex;
    flex-direction: column;
    height: fit-content;
}

.geoinfo-value {
    font-size: 1.5em;
    font-weight: normal;
}

.div15 {
    grid-area: 6 / 1 / 7 / 4;
}

section {
    width: calc(100% - 4em);
    justify-content: center;
    display: flex;
    padding: 2em;
    border: 0px;
    margin-top: 50px;
}

/* .region-svg, .dept-svg{
    opacity: .5;
    fill: black;
} */





.details {
    flex-direction: column;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}



.details span {
    width: 100%;
    text-align: center;
}


.p-title {
    color: white;
}

.p-name {
    color: white;
    font-size: .7em;
    opacity: 50%;
    font-weight: normal;
    margin-block: .5em;
}

.p-certifs {
    color: gold;
    opacity: .7;
}

.bordered {
    stroke: gold;
    stroke-width: 1px;
}

.dept-svg {
    cursor: pointer;
}


.dept-svg {
    cursor: pointer;
}

.region-svg {
    fill: black;
    cursor: pointer;

}




.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;


}


.progress_bar {
    flex-direction: row;
    display: flex;
    justify-content: space-between;
}

.Diamant {
    background-color: var(--ice);
}

.Platine {
    background-color: aliceblue;
}

.Or {
    background-color: gold;
}


.groupe {
    background-color: aliceblue;
}

.solo {
    background-color: gold;
}

.details-artists {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: calc(100% - 1em);
    background-color: antiquewhite;
    height: 2em;
    color: black;
    padding-block: 1em;
    padding-inline: .5em;
    font-size: .8em;
}

/* MOBILES */

/* Media query pour les smartphones */
@media only screen and (max-width: 1020px) {
    /* Vos styles CSS pour les smartphones ici */

    .region_choice_wrapper {
        width: 90%;
        display: flex;
        gap: 2em;

        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .region_map,
    .region_select,
    .departement_map,
    .departement_select,
    .map_country,
    .country_stats {
        display: flex;
        width: 100%;
        background-color: #333;
        padding: 2em;
        border-radius: 8px;
        flex-direction: column;
        justify-content: space-between;
        gap: 1em;
        overflow: auto;
        align-items: center;
        overflow-x: clip;
    }

    section {
        padding: 0;
    }

    .parent {
        display: grid;
        gap: 1em;
        display: flex;
        flex-direction: column;
        height: auto;
        margin-bottom: 5dvh;
    }

    .bloc {
        align-items: center;
    }

    .top-artist-wrapper {
        flex-direction: row;
        flex-direction: column;
        gap: 1.5em;
        height: 100%;
    }

    .item-artist {
        width: 20%;
        flex-direction: column;
        width: 100%;
        flex-direction: row;
    }

    .cover,
    .img-artist {
        width: 30%;
        height: auto;
    }

    .div1 svg {
        max-height: 100%;
        height: 33dvh;
    }

    .div1 {
        margin-top: 3em;
    }

    .div14 {
        align-items: start;

    }

    .div15 {
        position: sticky;
        bottom: 1em;
        border: 1px solid gold;
    }

}