/*-- Use For Custom Styling --*/
html, body {
    overflow-x: hidden;
}

li .emoji {
    color: gold;
    list-style-type: disc;
}

.portfolio-title {
    margin-bottom: 20px;
    text-align: center;
}

/* Modal container (masquée par défaut) */
#gallery-modal {
    display: none; /* Assure-toi qu'elle est masquée au départ */
    position: fixed; /* Positionnement fixe pour la superposition */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Fond sombre avec opacité */
    z-index: 1000; /* Assure-toi que la modal est au-dessus des autres éléments */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Style du contenu de la modal */
#gallery-modal .modal-content {
    position: relative;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 90%; /* Limite la taille de l'image */
    max-height: 80%;
}

/* Boutons de navigation */
#gallery-modal .prev, #gallery-modal .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    z-index: 1001; /* Au-dessus du contenu de la modal */
}

#gallery-modal .prev {
    left: 10px;
}

#gallery-modal .next {
    right: 10px;
}

/* Bouton de fermeture */
#gallery-modal .close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}
