@font-face {
    font-family: 'Chal';
    src: url('../../News/mytupi.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
  }
  
  

.body_Artiste {
    font-family: 'Chal';
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100%;
}


.Titre_Artiste{
    font-size: 30px;
    font-weight: bold;
    color: black;
    position: relative;
    transition: transform 0.3s, opacity 0.3s;
    text-align: center;
    top: -69px;
    z-index: 4;
    margin-right: 35%;
    margin-left: 35%;
}

.container_Artiste {
    max-width: 90%;
    margin: 0 auto;
    padding-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three equal columns */
    grid-template-rows: auto auto; /* Two rows */
    grid-gap: 14px;
    align-items: center;
    justify-items: center;
}

.image_Artiste {
    margin: 7px;
    max-width: 80%;
    order: 1;
    transition: transform 0.3s ease-in-out;
    z-index: 1;
}

.Titre_IMAGE{
    position: static;
    font-size: 20px;
    color: black;
    text-align: center;
    transition: transform 0.3s ease-in-out;
    top: 60px;
    padding: 0px;
    font-weight: bold;
}

.image_Artiste img {
    max-width: 100%;
    height: auto;
    border: 3px solid #fff;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

.text_Artiste {
    text-align: left;
    order: 1;
    padding: 25px;
    box-sizing: border-box;
    background-color: #f0f0f0;
    border-radius: 8px;
    grid-column: 2;
    margin-top: 10px;
}


.image_Artiste img:hover {
    transform: scale(1.09);
}

.image_Artiste:hover .image_Artiste_copy {
    display: none;
}

.image_Artiste:hover .Titre_IMAGE {
    transform: translate(0px,-20px);
}

.image_Artiste_copy {
    position: absolute;
    font-size: 8px;
    color: #b3b3b3;
    MARGIN-TOP: -2px;
    margin-left: 5px;
    z-index: 10;
}


@media screen and (max-width: 1200px) and (min-width: 900px){

    .Titre_IMAGE{
        position: static;
        font-size: 20px;
        color: black;
        text-align: center;
        top: 85px;
        padding: 0px;
        margin-left: 0px;
        font-weight: bold;
    }

    .container_Artiste {
        flex-direction: column;
        align-items: center;
        grid-template-columns: revert;
        margin-bottom: 20px;
    }

    .image_Artiste {
        max-width: 70%;
    }

    .text_Artiste {
        margin-top: 66px;
        max-width: 100%;
        padding: 10px;
        grid-column: 2;
        grid-row: 2;
    }

    .image_Artiste img:hover {
        transform: scale(1.09);
    }
    
    .image_Artiste:hover .image_Artiste_copy {
        display: none;
    }
    
    .image_Artiste:hover .Titre_IMAGE {
        transform: translate(0px,-20px);
    }
    
}


@media screen and (max-width: 900px) {

    .Titre_IMAGE{
        position: static;
        font-size: 20px;
        color: black;
        text-align: center;
        top: 85px;
        padding: 0px;
        margin-left: 0px;
        font-weight: bold;
    }

    .container_Artiste {
        position: relative;
        top: -69px;
        flex-direction: column;
        align-items: center;
        grid-template-columns: 1fr;
        margin-bottom: 20px;
    }


    .image_Artiste {
        max-width: 100%;
    }

    .text_Artiste {
        max-width: 100%;
        padding: 10px;
        grid-column: span 1;
    }

    .image_Artiste img:hover {
        transform: scale(1);
    }
    
    .image_Artiste:hover .image_Artiste_copy {
        display:inherit;
    }
    
    .image_Artiste:hover .Titre_IMAGE {
        transform: scale(1);
        top: 80px;
        margin-left: 0px;
    }
    
}






/* Styles existants ici */

/* Animation des éléments */
.floating {
    animation: float 1s infinite ease-in-out; /* Réduisez la durée à 1 seconde */
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0); /* Pas de mouvement sur l'axe Y */
    }
    50% {
        transform: translate(-1px, 1px); /* Mouvement sur l'axe X et Y */
    }
}

/* Réinitialisation des éléments */
.reset {
    animation: none;
    transform: translate(0, 0);
}