html, body {
        margin: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        overflow-y: auto; /* Permet le scroll vertical */
        background-color: #170D25;
        font: 1.2em Helvetica, Arial, sans-serif;

      }

      a:link, a:visited{
        font-family:Calibri;
		/* color: #BFCC1E; */
      }

      .credit{
        position: absolute;
        text-align: center;
        width: 100%;
        padding: 20px 0;
        font-family:Calibri;
		font-size: 10px;
		color: #BFCC1E;
		z-index:2;
     }


:root {
    --header-height: 35px;
}


.headSection {
    background: #C6D218;
    position: fixed;
    height: var(--header-height);
    width:100%;
    font-size:14px;
    font-family:Calibri;
    font-weight: normal;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index:11;
}


.header-left {
    padding: 0 10px ;
    display: flex;
    align-items: center;
    gap: 50px;
    overflow: hidden;
}

.header-left img {
    height: 25px;
    flex-shrink: 0;
}

.header-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-right {
    height: 100%;
    /* padding: 0 10px; */
    display: flex;
    align-items: center;
}

#header-links, #header-links a:visited{
    display: none;
    padding: 0 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size:10px;
}


.header-right img {
    height: 100%;        
    width: auto;
    object-fit: contain;
}


/* Grille galerie */
.gallery {
    margin-top: var(--header-height);
    overflow-y: auto; 
    overflow-x: hidden; 
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    margin-bottom: 40px; /* Espace pour le footer */
}


.vignetteHolder
{
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.vignette
{   
    width: 100%; 
    height: 150px; 
    object-fit: cover; 
    display: block;
    border: 0px solid red;
    -webkit-filter: grayscale(65%);
    filter: grayscale(65%);
    transition: filter 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.vignette:hover {
    /*-webkit-filter: sepia(0%);
    filter: sepia(0%);*/
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
    -webkit-transform: scale(0.95);
    transform: scale(0.95);
    -webkit-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
}

.legend
{
    padding: 8px 5px;
    width: 100%;
    text-align: center;
    border: 0px solid red;
    color: #eee;
    font-size: 11px;
    font-family: Calibri;
    font-weight: normal;
    background-color: #7B684B;
    box-sizing: border-box;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    color: white; /* Pour le fill="currentColor" du SVG */
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: color 0.3s ease, transform 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5)); /* Ombre pour visibilité */
}

.play-overlay svg {
    width: 100%;
    height: 100%;
}

.vignetteHolder:hover .play-overlay {
    color: #C6D218; /* Couleur de votre thème au survol */
    transform: translate(-50%, -50%) scale(1.1); /* Petit zoom au survol */
}




/* Viewer full screen */
#viewer {
    position: fixed;
    inset: 0 0 0 0 ;    
    background: #000;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

#closeBtn {
    position: absolute;
    top:calc(var(--header-height) + 15px);
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    z-index: 20;
    background: rgba(0,0,0,0.5);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#closeBtn:hover {
    background: rgba(255,255,255,0.2);
    color: #C6D218;
}

#photo360 {
    width: 100%;
    height: 100%;
}


#footer {
    position: fixed;
    bottom: 0;
    width: 100%;
	border-top: 0px solid #C5C0AD;
	height: 15px;
	background: #170D25;
	padding:5px;
	text-align: center;
	color: #C6D218;
	font-family:Calibri;
	font-size: 9px;
	font-weight: normal;
	z-index: 3;
}

#footer * {
    color: #C6D218;
}

