body{
/*    background-image: url('/data/img/fonds/wes-hicks-MEL-jJnm7RQ-unsplash.jpg');  */
    background-image: url('/data/img/fonds/alexey-ruban-73o_FzZ5x-w-unsplash.jpg');
}

.chanson-container {
    display :inline-block;
    vertical-align: top;
    margin-right: 20px;
}

.chanson-image {
    display: inline-block;
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
}

.chanson-info {
    display: inline-block;
    font-size: 14px;
    line-height: 1.5;
}

li {
    display: flex;
    align-items: center;
}

img {
    width: 100px;
    height: 100px;
    margin-right: 10px;
}

audio {
    margin-top: 2px;
}

/* icone visibilité */

/* Cacher le texte par défaut */
.visibility-level .text {
    visibility: hidden;
    margin-left: 10px;
    font-size: 16px;
}

/* Afficher le texte au survol de l'icône */
.visibility-level:hover .text {
    visibility: visible;
}

/* Style de l'icône */
.visibility-level .icon {
    cursor: pointer;
    color: #007BFF;
    margin-left: 30px;
}
/* Style de l'icône */
.visibility-level .icon {
    position: relative;
    cursor: pointer;
}

/* Masquer l'infobulle par défaut */
.visibility-level .tooltip {
    visibility: hidden;
    position: absolute;
    top: -25px;  /* Positionner au-dessus de l'icône */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.75);  /* Fond sombre */
    color: white;
    padding: 5px;
    border-radius: 5px;
    font-size: 14px;
    z-index: 1999;
    white-space: nowrap;  /* Pour éviter les retours à la ligne */
}

/* Afficher l'infobulle au survol de l'icône */
.visibility-level .icon:hover .tooltip {
    visibility: visible;
}

/* Fin icone visibilite */

/* --- Grille des Titres --- */

.grid-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.grid-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
    border-color: #d32f2f;
}

.grid-item h2 {
    font-family: "Cooper Black", "Caprasimo", serif;
    font-size: 1.4rem;
    color: #38444d;
    transition: color 0.2s;
}

.grid-item:hover h2 {
    color: #d32f2f;
}

.grid-item img {
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* --- Système de Tags Dynamique --- */

@keyframes shake-animation {
    0% { transform: translateX(0); }
    1% { transform: translateX(-5px) rotate(-2deg); }
    2% { transform: translateX(5px) rotate(2deg); }
    3% { transform: translateX(-5px) rotate(-2deg); }
    4% { transform: translateX(5px) rotate(2deg); }
    5% { transform: translateX(0); }
    100% { transform: translateX(0); }
}

.shake-me {
    display: inline-block;
    animation: shake-animation 10s infinite; /* Animation toutes les 10s */
}

.tag-selector-btn {
    background-color: #d32f2f; /* Rouge Pompier */
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    border: 2px solid #b71c1c;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    font-family: "Cooper Black", "Caprasimo", serif;
}

.tag-selector-btn:hover {
    background-color: #b71c1c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

#tag-cloud-container {
    background: rgba(255, 255, 255, 0.9);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #dee2e6;
    margin: 15px 0;
    position: relative;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
}

.close-tag-cloud {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #dc3545;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s;
}

.tag-link {
    display: inline-block;
    background: #f1f3f5;
    color: #495057;
    padding: 6px 15px;
    border-radius: 20px;
    margin: 6px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s;
    border: 1px solid #dee2e6;
}

.tag-link:hover {
    background: #2d5a27; /* Vert Forêt */
    color: white;
    border-color: #1e3d1a;
    transform: scale(1.1);
}
