body {
    background-color: rgb(22, 21, 27);
    margin: 0;
    padding: 0;
    color: rgb(14, 2, 2);
    font-family: Arial, sans-serif;
    height: auto;
}

/*_________________LOADING__________________*/

/*#hide0 {
    padding-top: 3%;
}

#hide1 {
    padding-top: 3%;
}*/


.header-hidden {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.header-visible {
    display: block;
    opacity: 1;
    transition: opacity 0.2s ease;
}

#loading-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgb(22, 21, 27);
    display: flex;
    align-items: left;
    font-size: 20px;
    color: black;
    z-index: 1000;
}

#loading-bar {
    width: 0%;
    height: 100vh;
    animation: bg_colorChange 3s infinite; 
    transition: width 0.5s;
}

#loading {
    color: white;
    font-family: 'ERROR 441';
    font-size: 30px;
    position : absolute;
    text-align: center;
    top: 50%; /* Position verticale au milieu */
    left: 50%; /* Position horizontale au milieu */
    transform: translate(-50%, -50%);
}

.top-right {
    color: white;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1vw;
    position: fixed;
    right: 2%;
}
  

#spaceDiv {
}

.flex-container {
    display: flex;
}



/*-----------------HEADER-----------------------*/

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

/* --------------------Navigation bar------------------- */
ul {
    list-style-type: none;
    margin: -2px;
    padding: 0;

}


/* Navigation bar styles for desktop */
nav {
    justify-content: space-between;
    align-items: center; 

    /* Other styles */
}

.nav-links {
    list-style: none;

}

li {
    list-style-type: none;
}
.nav-links li {

}

.nav-links a {
    text-decoration: none;
    font-size: 3vw;
    letter-spacing: 0.07em;
    display: inline-block; /* Rendre les liens en blocs en ligne pour un meilleur contrôle */
    padding: 10px 20px; /* Espacement autour des liens */
    color: white; /* Couleur du texte des liens */
    background-color: rgba(0, 0, 0, 0.326);
    border: 2px solid white;
    text-decoration: none; /* Aucun soulignement pour les liens */
    font-weight: bold; /* Rendre le texte un peu plus épais */
    /* Other styles */
}

.nav-links a:hover {
    animation: bg_colorChange 3s infinite;
}


/*-----------NAV-END------------*/
/* Media Queries */

/*------------SPACE------------------*/

@media (min-width: 769px) {
    .header {
        padding-left: 2%;
        padding-top: 1.5%;
    }
    nav {
    }

    .nav-links a {
        font-family: 'D-DIN-Bold';
    }
    .menu-icon {
    }

    .spaceBtw {
        padding-top: 7%;
    }

    #Desktop {
        display: block;
    }

    #Mobile {
        display: none;
    }
    
}


@media (max-width: 768px) {

    .header {
        padding-top: 7%;
        padding-left: 4%;
        justify-content: center;
    }

    .top-right {
        font-size: 3vw;
    }

    .nav-links a {
        max-width: 82%;
        font-family: 'D-DIN-Bold';
        padding: 15px 20px; /* Espacement autour des liens */
        font-size: 6.3vw;
        font-weight: bold;
    }
      

    nav {
    }

    .spaceBtw {
        padding-top: 10%;
    }

    #spaceDiv {
        padding-top: 40%;
    }
    
    #Desktop {
        display: none;
    }

    #Mobile {
        display: block;
    }  

    .fullscreen-menu a {
        font-size: 12vw;
    }
}


