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


header{
    background-color: #7951e8;

}

#blackhole{
    width: 400px;
    height: 400px;
    overflow: hidden;
    
}

#parallax-container{
    width: 100%;
    height: 180px;
    overflow: hidden;
    
}


body , html {
    margin: 0;
    padding: 0;
    overflow: auto;
    height: 100%;
}

canvas{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 80;

}

#blackhole canvas,
#parallax-container canvas{
    position: relative;
    z-index: 1;
    overflow: hidden;

} 


#loader-message {
    background-color: rgba(0, 0, 0, 0.8); /* Fond semi-transparent pour le rendre visible */
    z-index: 1000; /* Assurez-vous qu'il est devant */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5em;
    color: #ffffff;
    font-family: Arial, sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}


   /* Fond noir couvrant toute la page */
   #black-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 50; /* Plus haut que le canvas de Three.js */
}

   .hover-scale {
       transition: transform 0.3s ease-in-out;
   }

   .hover-scale:hover {
       transform: scale(1.05);
   }


