@font-face {
    font-family: 'Electrolize';
    src: url('../fonts/Electrolize-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Electrolize, Arial, sans-serif;
}

html, body {
    height: 100%;
}

body {
    background: #1a1a1a;
    color: white;
    min-height: 100vh;
}

a {
	color: #ffffff;
	text-decoration: none;
}

a:hover {
	color: #a29b78 !important;
	text-decoration: none;
}

.footer {
    position: absolute;
    bottom: 0px;
	left: 50%;
	transform: translate(-50%, -50%);
    width: -50%;
    height: 50px;
}

/* Utilitaires texte */
.txt-s12 { font-size: 12px; }
.txt-s15 { font-size: 15px; }
.txt-s20 { font-size: 20px; }
.txt-s40 { font-size: 40px; }
.padding5 { padding: 5px; }
.padding50 { padding: 50px; }
.txt-bold { font-weight: bold; }
.txt-justify { text-align: justify; text-justify: inter-word; }
.txt-center { text-align: center; }
.txt-underline { text-decoration: underline; }
.float-right { float: right; }
.float-left { float: left; }
.txt-or { color: #a29b78; }
.txt-jaune { color: #fcba03; }
.v-hidden { visibility: hidden; }

/* Vidéo plein écran en arrière-plan */
.video-container {
    width: 100vw;
    height: 100vh;
    position: fixed;
    inset: 0;
    z-index: -5; /* derrière tout */
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none; /* la vidéo n’intercepte pas les clics */
}

/* Ajustements pour conserver le recadrage 16/9 sans bandes */
@media (min-aspect-ratio: 16/9) {
    .video-container iframe { height: 56.25vw; }
}
@media (max-aspect-ratio: 16/9) {
    .video-container iframe { width: 177.78vh; }
}

/* Voile noir par-dessus la vidéo */
.black-filter {
    background: rgba(0, 0, 0, 0.7);
    position: absolute;
    inset: 0;
    z-index: -1;
}

/* Conteneur principal (si besoin de couches au-dessus) */
.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 0; /* au-dessus de la vidéo */
}

/* Logos centrés */
.center-page-bops {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto;
    z-index: -2;
    width: 350px;
    height: 500px;
}

.center-page-re_ct,
.center-page-_a_ {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto;
    z-index: 2;
    width: 600px;
    height: 600px;
}

.center-page-infos {
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto;
    z-index: 2;
    width: 600px;
    height: 200px;
}

.center-div-menu {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto;
    z-index: 3;
    width: 900px;
    height: 80px;
    text-align: center;
}

.center-div-menu-flex {
    display: flex;          /* Active l'affichage en ligne */
    justify-content: center; /* Centre les items horizontalement */
    align-items: center;     /* Centre verticalement */
    gap: 10px;               /* Espace entre les divs (modifiable) */
}

.center-div-menu .menu-item {
    min-height: 40px;    /* hauteur de chaque div */
    /* background: #ccc; /* juste pour visualiser, tu peux retirer */
    /* border-radius: 5px; */
	padding: 5px;
}

.center-div-menu .menu-item:hover {
    min-height: 40px;    /* hauteur de chaque div */
    /* background: #ccc; /* juste pour visualiser, tu peux retirer */
    /* border-radius: 5px; */
	border-bottom: 4px solid #a29b78;
	padding: 5px;
}

.center-div-menu .menu-item:hover a {
	color: #a29b78 !important;
}

.menu-item-we {
    min-width: 20px;    /* largeur de chaque div (modifiable) */
    min-height: 40px;    /* hauteur de chaque div */
	padding: 5px;
}

.center-page-bops {
    background-image: url("../img/logo-bops.png");
}

.center-page-re_ct {
    background-image: url("../img/logo_re_ct.png");
}

.center-page-_a_ {
    background-image: url("../img/logo_a.png");
    z-index: 2;
    animation: spin-horizontal 5s linear infinite;
}

/* Animation de rotation horizontale infinie */
@keyframes spin-horizontal {
    from { transform: translate(-50%, -50%) rotateY(0deg); }
    to   { transform: translate(-50%, -50%) rotateY(360deg); }
}

/* Contrôles audio en haut à droite */
.audio-controls {
    position: fixed;
    top: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 10px;
    border-radius: 8px;
    backdrop-filter: blur(2px);
}

.audio-controls button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: white;
    line-height: 1;
}

.audio-controls input[type="range"] {
    width: 120px;
    cursor: pointer;
    accent-color: #fcba03; /* facultatif si supporté */
}

.vol-label {
    font-size: 12px;
    color: #fff;
    opacity: 0.85;
}

