/* __V3D_TEMPLATE__ - template-based file; delete this line to prevent this file from being updated */

body {
    margin: 0px;
    overflow: hidden;
}

noscript {
    display: block;
    text-align: center;
    padding-top: 100px;
    font-size: 20px;
}

.v3d-container {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

.fullscreen-button {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    background-size: 100% 100%;
    display: none;
    z-index: 1;
}

.fullscreen-open {
    background-image: url('media/fullscreen_open.svg');
}

.fullscreen-close {
    background-image: url('media/fullscreen_close.svg');
}

/* removes tap blinking on ios devices */
* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

#menu-modules {
    display: none;
    /* Masqué par défaut, Verge3D l'affichera */
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    z-index: 1000;
}

#menu-modules h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #333;
}

.boutons-container {
    display: flex;
    gap: 10px;
}

.btn-module {
    padding: 10px 15px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    color: #555;
    transition: all 0.2s ease;
}

.btn-module:hover {
    background: #e0e0e0;
    border-color: #bbb;
    color: #000;
}

#menu-backdrop {
    display: none;
    /* Caché par défaut, activé par les Puzzles */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 90;
    /* Au-dessus de votre scène 3D (v3d-container) */

    /* Optionnel : un fond noir semi-transparent pour griser la 3D derrière */
    background-color: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    /* Curseur en forme de main pour indiquer qu'on peut cliquer */
}

#X,
#Y,
#Z {
    pointer-events: none !important;
    font-family: sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4em;
}

#X {
    translate: 0 30px;
}

#Y {
    translate: -44px 26px;
}

#Z {
    translate: -8px 12px;
}

/* Vous pouvez aussi cibler la boite de dialogue de ces annotations spécifiques si besoin */
#X .v3d-annotation-dialog,
#Y .v3d-annotation-dialog,
#Z .v3d-annotation-dialog {
    pointer-events: none !important;
}

.v3d-simple-preloader-logo {
    background-image: url('media/LA29_Logo.svg');
}

.v3d-simple-preloader-bar {
    background: linear-gradient(90deg, #000000, #ffffff);
    height: 3px;
    border-color: #2b70c7;
}
