body, h1, p, ul, li {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Verdana', sans-serif;
    background-color: black;
    color: white;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    text-align: center;
}

.titre-nirvana {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 20px;
    font-family: 'Impact', sans-serif;
    color: #ffcc00;
    text-shadow: 3px 3px 5px rgba(255, 255, 0, 0.5);
    border-bottom: 2px solid #ffcc00;
    padding-bottom: 10px;
    display: inline-block;
}

blockquote {
    font-size: 1.5rem;
    font-style: italic;
    border-left: 4px solid #ffcc00;
    padding-left: 10px;
    margin: 20px 0;
    max-width: 600px;
    position: relative;
}

.auteur {
    font-size: 1rem;
    font-weight: bold;
    color: #ffcc00;
    margin-top: 5px;
}

blockquote::before {
    content: "❝";
    font-size: 3rem;
    color: #ffcc00;
    position: absolute;
    left: -30px;
    top: -10px;
}

.image-groupe {
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border: 2px solid #ff9800;
    border-radius: 10px;
    display: block;
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    filter: grayscale(80%);
}

.image-groupe:hover {
    transform: scale(1.05);
    filter: grayscale(0%);
    box-shadow: 0px 0px 15px rgba(255, 152, 0, 0.5);
}

.bouton-nirvana {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #ffcc00;
    color: black;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
    box-shadow: 3px 3px 0px rgba(255, 255, 0, 0.5);
}

.bouton-nirvana:hover {
    background: #ff9800;
    transform: scale(1.1);
    box-shadow: 5px 5px 0px rgba(255, 152, 0, 0.7);
}
.article-nirvana {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 5px solid #ff9800;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(255, 152, 0, 0.2);
    text-align: left;
    line-height: 1.6;
    color: #f1f1f1;
}

.article-nirvana h2 {
    font-size: 1.8rem;
    color: #ff9800;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-shadow: 2px 2px 5px rgba(255, 152, 0, 0.5);
}

.article-nirvana p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}
.article-nirvana strong {
    font-weight: 700;
    color: white; 
}

.article-nirvana b {
    font-weight: 600;
    color: #dddddd; 
}

.article-nirvana .highlight {
    font-weight: 700;
    color: #ffcc00;
}


* {
    margin: 0;
    padding: 0;
    max-width: 100%;
    box-sizing: border-box;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.8);
    height: 100px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    width: 100%;
    overflow: hidden;
}

.conteneur-logo {
    display: flex;
    align-items: center;
}

.site-logo {
    height: 80px;
    max-width: 120px;
    object-fit: contain;
    margin-right: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    flex: 1;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: orange;
}
nav ul li a.active {
    color: #fee901;
}


main {
    flex: 1;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    text-align: center;
}

main h1 {
    margin-bottom: 20px;
    font-size: 32px;
    color: #ff9800;
}
footer {
    text-align: center;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    font-size: 14px;
    margin-top: auto;
    width: 100%;
    overflow: hidden;
}
footer a {
    display: inline-block;
    padding: 10px;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    color: #ff9800;
}

.conteneur-bouton {
    text-align: right;
    margin-bottom: 15px;
}

.btn-impr {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #ff9800;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-impr:hover {
    background-color: #2c2c2c;
}

table {
    width: 100%;
    max-width: 1080px;
    margin: 20px auto;
    border-collapse: collapse;
    background-color: #1e1e1e;
    color: white;
    text-align: left;
}

th, td {
    padding: 10px;
    border: 1px solid #333;
}

th {
    background-color: #333333;
}

tbody tr:nth-child(even) {
    background-color: #2a2a2a;
    transition: background-color 0.3s ease, color 0.3s ease;
}

tbody tr:nth-child(odd) {
    background-color: #1e1e1e;
    transition: background-color 0.3s ease, color 0.3s ease;
}

tbody tr:hover {
    background-color: black !important;
    color: white !important;
    cursor: pointer;
}

tbody tr:hover td {
    background-color: black !important;
    color: orange !important;
}
.boutonLecture {
    padding: 5px 10px;
    font-size: 14px;
    border: none;
    border-radius: 3px;
    background-color: orange;
    color: black;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.boutonLecture:hover {
    background-color: #2c2c2c;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #1e1e1e;
    padding: 20px;
    color: white;
    border-radius: 10px;
    text-align: center;
    width: 300px;
}

.fermer {
    margin-top: 15px;
    padding: 10px 20px;
    font-size: 14px;
    background-color: #ff9800;
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.fermer:hover {
    background-color: #2c2c2c;
}

@media print {
    .boutonLecture,
    .btn-print {
        display: none !important;
    }
}

audio::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
}

audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-pause-button {
    display: none;

}

audio::-webkit-media-controls-progress-bar {
    background-color: #ffffff;
    height: 8px;
    border-radius: 5px;
}

audio::-webkit-media-controls-mute-button,
audio::-webkit-media-controls-volume-button {
    filter: invert(1); 
}

audio::-webkit-media-controls-fullscreen-button,
audio::-webkit-media-controls-repeat-button,
audio::-webkit-media-controls-cc-button,
audio::-webkit-media-controls-download-button,
audio::-webkit-media-controls-enclosure-button {
    display: none;
}

#albumImageContainer {
    position: relative;
    text-align: center;
}

#albumImage {
    border-radius: 10px;
    width: 100%;
    max-width: 250px;
    cursor: pointer;
}

#boutonLectureSurImage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0px 0px 15px rgba(255, 152, 0, 0.8);
    z-index: 10;
}

#boutonLectureSurImage:hover {
    background-color: rgba(255, 152, 0, 0.8);
}
form {
    width: 300px;
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    margin: 20px auto;
}

.en-tete {
    display: flex;
    gap: 10px;
}

.en-tete div {
    flex: 1;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    text-transform: uppercase;
    color: orange;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #333;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
    background-color: #2a2a2a;
    color: white;
}

textarea {
    resize: none;
    height: 100px;
}

input[type="submit"] {
    background-color: #ff9800;
    color: black;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #2c2c2c;
    color: white;
}

form span {
    color: red;
}

input::placeholder, textarea::placeholder {
    color: #ccc;
}
.notification {
    padding: 15px;
    margin: 10px auto;
    width: 80%;
    max-width: 500px;
    text-align: center;
    font-weight: bold;
    border-radius: 5px;
    position: relative;
    opacity: 1;
    transition: opacity 1s ease-out;
}

.succes {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.erreur {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.barre-progression {
    height: 5px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    animation: barreProgression 3s linear forwards;
}

.succes .barre-progression {
    background: #28a745; 
}

.erreur .barre-progression {
    background: #dc3545;
}

@keyframes barreProgression {
    from { width: 100%; }
    to { width: 0%; }
}
input[type="file"] {
    display: none; /* Cache l'input */
}

.custom-file-upload {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: black;
    background-color: #ff9800;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s;
}

.custom-file-upload:hover {
    background-color: #2c2c2c;
    color: white;
}

#file-name {
    margin-left: 10px;
    font-size: 14px;
    color: white;
    background-color: #333;
    padding: 8px 12px;
    border-radius: 5px;
    display: inline-block;
    min-width: 150px;
    text-align: center;
}

.image-apercu {
    position: relative;
    text-align: center;
    margin-bottom: 10px; 
}

.image-apercu img {
    max-width: 200px;
    height: auto;
    border-radius: 5px;
    border: none; 
    margin: 0; 
}

.image-apercu img:hover {
    transform: none;
    transition: none;
}
.credits-links a {
    color: white; 
    text-decoration: none; 
}
.credits-links ul {
    list-style-type: none;
    padding-left: 0;
}

.credits-links a:hover {
    color: orange; 
}

.carousel-container {
    position: relative;
    width: 350px; 
    height: 500px; 
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.carousel {
    display: flex; 
    transition: transform 0.5s ease-in-out;
}

.partenaire {
    flex: 0 0 100%; 
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: transparent;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.partenaire:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
/* Conteneur de la photo avec un contour amélioré */
.partenaire .photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #7a6161, #ff9800); /* Dégradé bleu */
    padding: 5px; /* Ajoute un espace pour l'effet de contour */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Ombre pour du relief */
}

/* L'image elle-même (sans bordure interne) */
.partenaire .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid black; /* Petit contour blanc intérieur pour du contraste */
}

.partenaire .name {
    width: 200px;
    background: #333;
    color: white;
    font-size: 16px; 
    font-weight: bold;
    text-align: center;
    padding: 10px;
    border-radius: 20px;
    margin-top: 10px;
    line-height: 1.2;
}

.partenaire .name .metier {
    display: block;
    font-size: 12px; 
    font-weight: normal;
    color: rgb(189, 179, 179); 
    margin-top: 4px;
}

.partenaire .description {
    width: 200px;
    background: #333;
    padding: 10px;
    font-size: 14px;
    color: white;
    text-align: center;
    border-radius: 20px;
    line-height: 1.4;
    margin-top: 10px;
}

.partenaire .site {
    width: 160px;
    text-align: center;
    margin-top: 10px;
    background: #ff9800;
    color: white;
    text-decoration: none;
    padding: 8px;
    border-radius: 20px;
    transition: background 0.3s ease-in-out;
}

.partenaire .site a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.partenaire .site:hover {
    background: #333;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #ff9800;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 48px;
    z-index: 10;
    opacity: 0.8;
}
.carousel-arrow:hover {
    background: rgba(0, 0, 0, 0.9);
}
.carousel-arrow.left {
    left: 10px;
}

.carousel-arrow.right {
    right: 10px;
}
.carousel-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    gap: 8px; 
}
.carousel-indicators .dot {
    width: 12px;
    height: 12px;
    background-color: #ccc; 
    border-radius: 50%;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
    cursor: pointer;
}

.carousel-indicators .dot.active {
    background-color: #555; 
    transform: scale(1.2); 
}
.shadow-logo {
    position: fixed; 
    top: 35%;
    left: 180px;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: bold;
    color: white; 
    text-shadow: 2px 2px 5px white; 
    font-family: 'Arial', sans-serif;
    text-transform: uppercase;
    letter-spacing: 5px;
}
.galerie-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    justify-content: center;
    padding: 20px;
    max-width: 900px;
    margin: auto;
}
.galerie-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #ff9800;
    transition: filter 0.3s ease-in-out, transform 0.3s ease-in-out;
    filter: grayscale(100%);
    cursor: pointer;
}

.galerie-container img:hover {
    filter: grayscale(0%) contrast(1.2) saturate(1.2);
    transform: scale(1.05);
}

.galerie-container img[data-bw="true"]:hover {
    filter: grayscale(0%) invert(20%) brightness(1.5) contrast(1.4) saturate(1.5);
    transform: scale(1.08);
}

#file-icon {
    margin-left: 10px;
    font-size: 20px;
    color: #ff9800;
}
#popup-image {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#image-popup {
    max-width: 80%;
    max-height: 80%;
    border-radius: 20px; 
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
    filter: grayscale(0%) contrast(1.2) saturate(1.2);
}

#popup-image:target {
    display: flex;
}
.galerie-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #ff9800;
    transition: filter 0.3s ease-in-out, transform 0.3s ease-in-out;
    filter: grayscale(100%);
    cursor: pointer;
}

.galerie-container img:hover {
    filter: grayscale(0%) contrast(1.2) saturate(1.2);
    transform: scale(1.05);
}
.popup-contenu {
    max-width: 80%;
    max-height: 80%;
}
.fermer-popup {
    position: absolute;
    top: 15px;
    right: 150px;
    font-size: 28px;
    font-weight: bold;
    color: #ff9800;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
    opacity: 0.8; 
}

.fermer-popup:hover, .fermer-popup:focus {
    opacity: 1;
    transform: scale(1.2); 
    color: #fff;
}
.bottom-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px;
    width: 100%;
}

.bottom-links a {
    color: orange;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
}

.bottom-links a:hover {
    text-decoration: none;
}
