/*t_mm_pc.css*/
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&display=swap');

/* Styles globaux */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Nunito', sans-serif;
    color: white;
    display: flex;
    overflow: hidden;
}

/* Conteneur de l'image de fond */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

/* Image de fond */
.background-image {
    width: 120%;
    height: 120%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease-out;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Image du logo centrée */
.logo-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translate(var(--logo-translate-x, 0px), var(--logo-translate-y, 0px));
    width: 80vw;
    max-width: 100%;
    transition: transform 0.5s ease-out;
    opacity: 0.6;
    z-index: 0; /* Positionne l'image juste au-dessus du background (z-index -1) */
}

/* Conteneur des nuages */
.cloud-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Permet de cliquer à travers les nuages */
    z-index: 0; /* Positionne les nuages au-dessus du logo (z-index: 0) mais en dessous des autres éléments (z-index: 1) */
}

/* Style de chaque nuage */
.cloud {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
}

/* Animation pour les nuages se déplaçant vers la droite */
@keyframes moveCloudRight {
    0% {
        transform: translateX(-150vw); /* Commence en dehors de l'écran à gauche */
        opacity: 0;
    }
    10% {
        opacity: 0.5; /* Opacité maximale limitée à 0.5 */
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateX(150vw); /* Déplace le nuage au-delà de la vue à droite */
        opacity: 0;
    }
}

/* Appliquer les animations de base aux nuages */
.cloud {
    animation-timing-function: linear;
    animation-iteration-count: 1;
}



/* Header */
header {
    width: 100%;
    height: 7vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

/* Titre */
.title-container {
    margin-left: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

/* Icône maison */
.home-icon {
    cursor: pointer;
    transition: transform 0.3s, filter 0.3s;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    display: inline-block;
    width: 32px;
    height: 32px;
    background: url('https://labo.micromacro.fr/images/ico/ico_home.png') no-repeat center center;
    background-size: contain;
    filter: brightness(0) invert(1) drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
}

.home-icon:hover {
    transform: scale(1.3);
    animation: titlePulse 1s infinite;
}

/* Conteneur de menu */
.menu-container {
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 8vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 90%;
    border-radius: 15px;
    gap: 8px;
    height: 5vh;
}

/* Styles pour les séparateurs verticaux */
.separateur {
    display: inline-block;
    width: 0.5vh;
    position: relative;
    height: 100%;
    margin: 0 10px;
}

.separateur .mask { 
    overflow: hidden; 
    width: 0.5vh; 
    height: 100%; 
    position: relative;
}

/* Séparateur à gauche */
.separateur.left .mask::after { 
    content: ''; 
    display: block; 
    width: 0.5vh; 
    height: 100%;  
    border-radius: 12px / 125px;  
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to right, rgba(255,255,255,0.2), rgba(0,0,0,0));
}

/* Séparateur à droite */
.separateur.right .mask::before { 
    content: ''; 
    display: block; 
    width: 0.5vh; 
    height: 100%; 
    border-radius: 12px / 125px; 
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to left, rgba(255,255,255,0.2), rgba(0,0,0,0));
}

/* Boutons */
.button {
    border: none;
    height: var(--button-height, auto);
    line-height: var(--button-height, normal);
    padding: 0 16.8px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    
    
            color: #fff;
            font-size: 1.2em;
            cursor: pointer;
            transition: background-color 0.1s;
            border-radius: 8px;
            font-family: 'Nunito', sans-serif; /* Application de la police Nunito */
            
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Ajout d'une légère ombre */
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
            background-color: rgba(0, 0, 0, 0.5);
}

.button::before {
    display: none;
}

.button:active {
    transform: translateY(2px);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.25),
        inset 0 -6px 10px rgba(0, 0, 0, 0.15),
        inset 0 6px 10px rgba(255, 255, 255, 0.1),
        inset 0 1px 2px rgba(255, 255, 255, 0.15),
        inset 0 -1px 2px rgba(0, 0, 0, 0.15);
}

.button1 { outline: 2px solid rgba(255, 0, 0, 0.8); } /*rouge*/
.button2 { outline: 2px solid rgba(102, 187, 106, 0.8); } /*vert*/
.button3 { outline: 2px solid rgba(33, 150, 243, 0.8); } /*bleu*/
.button4 { outline: 2px solid rgba(255, 150, 0, 0.8); } /*orange*/
.button5 { outline: 2px solid rgba(245, 213, 32, 0.8); } /*jaune*/
.button6 { outline: 2px solid rgba(238, 0, 70, 0.8); } /*fushia*/
.button7 { outline: 2px solid rgba(211, 68, 230, 0.8); } /*violet*/
.button8 { outline: 2px solid rgba(231, 93, 14, 0.8); } /*orange foncé*/
.button9 { outline: 2px solid rgba(20, 196, 221, 0.8); } /*bleu azur*/
.button10 { outline:21px solid rgba(244, 96, 189, 0.8); } /*rose*/

.button1:hover { background-color: rgba(255, 0, 0, 0.6); } /*rouge*/
.button2:hover { background-color: rgba(102, 187, 106, 0.6); } /*vert*/
.button3:hover { background-color: rgba(33, 150, 243, 0.6); } /*bleu*/
.button4:hover { background-color: rgba(255, 150, 0, 0.6); } /*orange*/
.button5:hover { background-color: rgba(245, 213, 32, 0.6); } /*jaune*/
.button6:hover { background-color: rgba(238, 0, 70, 0.6); } /*fushia*/
.button7:hover { background-color: rgba(211, 68, 230, 0.6); } /*violet*/
.button8:hover { background-color: rgba(231, 93, 14, 0.6); } /*orange foncé*/
.button9:hover { background-color: rgba(20, 196, 221, 0.6); } /*bleu azur*/
.button10:hover { background-color: rgba(244, 96, 189, 0.6); } /*rose*/

.button:hover {
    outline: 1px solid rgba(0, 0, 0, 0.8);
}

/* Footer */
footer {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1;
    height: 5vh;
    flex-shrink: 0;
}

footer p {
    margin: 0;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    letter-spacing: 1px;
    font-weight: bold;
}

/* Animation du titre */
@keyframes titlePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.home-icon:hover {
    animation: titlePulse 1s infinite;
}

/* Nouveau conteneur circulaire */
.circular-container {
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 8vh;
    z-index: 1;
    transition: all 0.3s ease;
    box-sizing: border-box;
    border-radius: 50%;
    cursor: pointer;
}

/* Point d'interrogation */
.question-mark {
    color: white;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.question-mark:hover {
    animation: titlePulse 1s infinite;
}

/* Fullscreen icon */
.fullscreen-icon {
    cursor: pointer;
    transition: transform 0.3s, filter 0.3s;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    display: inline-block;
    width: 27px;
    height: 27px;
    background: url('https://labo.micromacro.fr/images/ico/fullscreen_in.png') no-repeat center center;
    background-size: contain;
    filter: brightness(0) invert(1) drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
}

.fullscreen-icon:hover {
    transform: scale(1.3);
    animation: titlePulse 1s infinite;
}

/* Popup */
.popup {
    display: none;
    position: fixed;
    flex-direction: column;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.popup-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/* Conteneur scene */
.scene {
    position: fixed;
    top: 14vh;
    width: 100%;
    height: 78vh;
    display: flex;
    overflow: hidden;
    box-sizing: border-box;
}

.outil-container {
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    text-align: center;
    width: auto;
    flex-direction: column;
    flex-shrink: 0;
    padding: 20px;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.interface-container {
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    text-align: center;
    width: auto;
    flex-direction: column;
    flex-shrink: 0;
    padding: 20px;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.bigcontent {
    flex: 1;
    height: 100%;
    overflow-y: auto;
    padding: 20px;
    max-width: 100%;
    max-height: 100%;
    box-sizing: border-box;
    -ms-overflow-style: none;
    scrollbar-width: none;
    /* mask-image: linear-gradient(to bottom, 
                    rgba(0, 0, 0, 0), 
                    rgba(0, 0, 0, 1) 10%, 
                    rgba(0, 0, 0, 1) 90%, 
                    rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, 
                                        rgba(0, 0, 0, 0), 
                                        rgba(0, 0, 0, 1) 10%, 
                                        rgba(0, 0, 0, 1) 90%, 
                                        rgba(0, 0, 0, 0) 100%);
    */
}

.bigcontent * {
    max-width: 100%;
    max-height: 100%;
}

/* Masquer la barre de défilement sur WebKit (Chrome, Safari, Edge) */
.bigcontent::-webkit-scrollbar {
    width: 0;
}
.interface-container::-webkit-scrollbar {
    width: 0;
}
.outil-container::-webkit-scrollbar {
    width: 0;
}

/* Pousser le conteneur des boutons vers la droite */
.header-buttons {
    margin-left: auto;
    display: flex;
    align-items: center;
}

/* Styles communs pour les actions de l'en-tête (liens et boutons) */
.header-action {
    color: white;
    text-decoration: none;
    font-size: 1vw; 
    font-family: inherit;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin-left: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    text-transform: lowercase;
    transition: all 0.3s ease;
    display: inline-block;
    width: 32px;
    height: 32px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
}

/* Bouton Connexion */
.login-button {
    background-image: url('https://labo.micromacro.fr/images/ico/login.png');
    filter: brightness(0) invert(1) drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
}

/* Bouton Déconnexion */
.logout-button {
    background-image: url('https://labo.micromacro.fr/images/ico/logout.png');
    filter: brightness(0) invert(1) drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
}

/* Effet au survol pour les actions de l'en-tête */
.header-action:hover {
    animation: titlePulse 1s infinite;
}

/* Styliser le nom de l'utilisateur si connecté */
.user-name {
    color: white;
    margin-right: 20px;
    font-size: inherit;
    font-family: inherit;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Styliser le titre pour qu'il soit cohérent */
#title {
    color: white;
}

/* ROUE DE MENU */

/* Classe pour masquer les éléments avec transition */
.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Assurez-vous que les éléments ont des transitions définies */
.menu-container,
.circular-container {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}


.icon-container {
  display: flex; /* Utilisation de flex pour l'alignement */
  justify-content: center;
  align-items: center;
  position: fixed; /* Position fixe pour un positionnement basé sur la fenêtre */
  top: 8vh; /* Positionnement initial, sera ajusté dynamiquement */
  z-index: 2; /* Supérieur à .circular-container si nécessaire */
  transition: all 0.3s ease;

  border-radius: 50%;
  cursor: pointer;

}

.menu-roue {
  display: flex; /* Utilisation de flex pour l'alignement */
  justify-content: flex-start;
  align-items: center;
  z-index: 3; /* Supérieur à .circular-container si nécessaire */
  transition: all 0.3s ease;
  box-sizing: border-box;
  cursor: pointer;
}

.menu-roue:hover {
      width: 51vh;
}




/* Correction du sélecteur et amélioration des tooltips */
.menu-roue .tooltip {
  position: absolute;
  top: 110%; /* Position au-dessus du bouton */
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  margin-top: 8px;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.8); /* Fond sombre semi-transparent */
  color: #fff; /* Texte blanc */
  padding: 5px 8px;
  border-radius: 5px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.3s ease;
}

.menu-roue .tooltip::before {
  position: absolute;
  content: "";
  height: 8px;
  width: 8px;
  background: rgba(0, 0, 0, 0.8); /* Fond sombre */
  top: -4px; /* Positionne la flèche au-dessus du tooltip */
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.menu-roue .icon-button:hover .tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}



.menu-roue .icon-button:hover span,
.menu-roue .icon-button:hover .tooltip {
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
  
}

.menu-roue .icon-one:hover,
.menu-roue .icon-one:hover .tooltip,
.menu-roue .icon-one:hover .tooltip::before {
  background: #5865F2;
  color: #fff;
}

.menu-roue .icon-two:hover,
.menu-roue .icon-two:hover .tooltip,
.menu-roue .icon-two:hover .tooltip::before {
  background: #1CA1F1;
  color: #fff;
}

.menu-roue .icon-three:hover,
.menu-roue .icon-three:hover .tooltip,
.menu-roue .icon-three:hover .tooltip::before {
  background: #FF4500;
  color: #fff;
}

.menu-roue .icon-four:hover,
.menu-roue .icon-four:hover .tooltip,
.menu-roue .icon-four:hover .tooltip::before {
  background: #F0002A;
  color: #fff;
}

.menu-roue .icon-five:hover,
.menu-roue .icon-five:hover .tooltip,
.menu-roue .icon-five:hover .tooltip::before {
  background: #F0002A;
  color: #fff;
}

.menu-roue .icon-six:hover,
.menu-roue .icon-six:hover .tooltip,
.menu-roue .icon-six:hover .tooltip::before {
  background: #F914AF;
  color: #fff;
}

.menu-roue .icon-seven:hover,
.menu-roue .icon-seven:hover .tooltip,
.menu-roue .icon-seven:hover .tooltip::before {
  background: #FFFC00;
  color: #fff;
}

.menu-roue .icon-eight:hover,
.menu-roue .icon-eight:hover .tooltip,
.menu-roue .icon-eight:hover .tooltip::before {
  background: #25D366;
  color: #fff;
}







.central-button {
    position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
  border: none;
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  transition: 0.2s;
  z-index: 100;
        height: 5vh;
      width: 5vh;
          color: white;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        cursor: pointer;
        
    

}

.icon-button {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border: none;
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition-property: transform, box-shadow, opacity;
    transition-duration: 0.5s;
    transition-timing-function: ease;
    border-radius: 50%;
    cursor: pointer;
    height: 5vh;
    width: 5vh;
    z-index: 99;
}

/* Délais de transition spécifiques pour chaque icône */
.icon-one {
    transition-delay: 0s;
}

.icon-two {
    transition-delay: 0.1s;
}

.icon-three {
    transition-delay: 0.2s;
}

.icon-four {
    transition-delay: 0.3s;
}

.icon-five {
    transition-delay: 0.4s;
}

.icon-six {
    transition-delay: 0.5s;
}

.icon-seven {
    transition-delay: 0.6s;
}

.icon-eight {
    transition-delay: 0.7s;
}

/* Effets de survol pour les icônes */
.icon-one:hover {
    background: #5865F2;
}

.icon-container:hover .icon-one {
    transform: translate(6vh, 0);
    opacity: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.icon-two:hover {
    background: #1CA1F1;
}

.icon-container:hover .icon-two {
    transform: translate(12vh, 0);
    opacity: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.icon-three:hover {
    background: #FF4500;
}

.icon-container:hover .icon-three {
    transform: translate(18vh, 0);
    opacity: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.icon-four:hover {
    background: #0093FF;
}

.icon-container:hover .icon-four {
    transform: translate(24vh, 0);
    opacity: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.icon-five:hover {
    background: #F0002A;
}

.icon-container:hover .icon-five {
    transform: translate(30vh, 0);
    opacity: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.icon-six:hover {
    background: #F914AF;
}

.icon-container:hover .icon-six {
    transform: translate(36vh, 0);
    opacity: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.icon-seven:hover {
    background: #FFFC00;
}

.icon-container:hover .icon-seven {
    transform: translate(42vh, 0);
    opacity: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.icon-eight:hover {
    background: #25D366;
}

.icon-container:hover .icon-eight {
    transform: translate(48vh, 0);
    opacity: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}