@font-face{
	font-family:'Bodoni';
	
	src: url(../font/Bodoni/BodoniFLF-Roman.eot);
	src: url(../font/Bodoni/BodoniFLF-Roman.woff),
	     url(../font/Bodoni/BodoniFLF-Roman.svg),
		 url(../font/Bodoni/demo.html),
		 url(../font/Bodoni/BodoniFLF-Roman.ttf);
		
		font-weight:normal;
	    font-style: normal;
}

#mobile-intro {
    display: none; /* Caché par défaut */
}

.loading-screen {
    display: block; /* Visible par défaut */
}

/* Affichage pour les écrans de moins de 700px */
@media (max-width: 700px) {
    .loading-screen {
        display: none !important; /* Cacher la version desktop */
    }
    #mobile-intro {
        display: block !important; /* Afficher la version mobile */
    }
}

.ml12 {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1em;
    z-index: 99;
    font-family: 'Bodoni';
    font-size: 6vw; 
    letter-spacing: 0.2em;
    text-align: center; 
    color: #fff; 
}

.ml12 .letter {
    display: inline-block;
    line-height: 1em;
} 

.ml12 text-gradient span {
    display: inline-block;
    background: linear-gradient(0deg, #d4af37, #f6f4c2, #d4af37);
    -webkit-background-clip: text; 
    background-clip: text;
    color: transparent; 
}




body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.loading-screen {
    position: relative;
    width: 100%;  
    max-width: 100vw; 
    height: 0;
    padding-bottom: 56.25%; 
    display: flex;
    flex-direction: column; 
    justify-content: flex-start; 
    align-items: center; 
    position: relative; 
}

#base_phares {
    position: absolute;
    background: url(../image/base_phares.png) center center no-repeat;
    width: 100%; 
    height: 100%; 
    background-size: cover; 
    opacity: 1;
    z-index: 12;
    image-rendering: crisp-edges;
}

.phares_allumé {
    position: absolute;
    opacity: 0; 
    z-index: 11;
    background-color: rgba(255, 255, 255, 1); 
    border-radius: 50%; 
    width: 2.6vw;
    height: 2.6vw;
    transform: translate(-50%, -50%);
    transition: box-shadow 0.3s ease-in-out;
    backface-visibility: hidden;
    perspective: 500px;
}

.bright {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.5), 0 0 60px rgba(255, 255, 255, 0.3);
}


#cercle1 { top: 60.1%; left: 35.7%; }
#cercle2 { top: 60.5%; left: 38.35%; width:2.3vw; height:2.3vw }
#cercle3 { top: 60.5%; left: 61.6%; width:2.3vw; height:2.3vw }
#cercle4 { top: 60.1%; left: 64.3%; }

h1 {
    position: absolute;
    opacity: 0;
    z-index: 11;
    font-family: 'Bodoni';
    font-size: clamp(0.1rem, 2.5vw + 1vh, 5rem); 
    letter-spacing: 0.2em;
    text-align: center; 
    color: #fff; 
    margin-top: 5%; 
    padding-bottom: 10px; 
    width: 100%; 
    bottom: 20%;
}

.text-gradient span {
    display: inline-block;
    background: linear-gradient(0deg, #d4af37, #f6f4c2, #d4af37);
    -webkit-background-clip: text; 
    background-clip: text;
    color: transparent; 
}
