@font-face {
font-family: "MaisonNeue-Bold";
src: url("../fonts/MaisonNeue-Bold.woff2") format("woff2"), url("../fonts/MaisonNeue-Bold.ttf") format("ttf");
font-style: normal;
}

@font-face {
font-family: "MaisonNeue-Medium";
src: url("../fonts/MaisonNeue-Medium.woff2") format("woff2"), url("../fonts/MaisonNeue-Medium.ttf") format("ttf");
font-style: normal;
}

@font-face {
font-family: "MaisonNeue-Thin";
src: url("../fonts/MaisonNeue-Thin.woff2") format("woff2"), url("../fonts/MaisonNeue-Thin.ttf") format("ttf");
font-style: normal;
}

@font-face {
font-family: "MaisonNeue-Book";
src: url("../fonts/MaisonNeue-Book.woff2") format("woff2"), url("../fonts/MaisonNeue-Book.ttf") format("ttf");
font-style: normal;
}

html,
body,
div {
margin: 0;
padding: 0;
width: 100%;
}

.logo{
width: 6%!important;
top: 4%;
left: 2%;
position: fixed;
background: transparent;
z-index: 99999; 
font-size: 0.8em;
} 


h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-family: "MaisonNeue-Bold";
    margin: 0 auto;
    margin-bottom: 1%;
}
p,
.p {
    font-family: "MaisonNeue-Book";
    margin: 0 auto;
    line-height: 25px;
}

span {
font-family: "MaisonNeue-Book";
margin: 0 auto;
font-size: 0.8em;
}


.about {
    position: fixed;
    left: 0%;
    top: 0%;
}
.about2 {
    color: #000;
    font-family: "MaisonNeue-Book", "MaisonNeue-Medium", "MaisonNeue-Thin", "MaisonNeue-Bold";
    position: fixed;
    display: none;
    background-color: #FFF;
    font-size: 20px;
    width: 22%;
    padding: 6% 0% 2% 2%;
}
.about:hover .about2 {
    display: block;
}


body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
    background: black; /* Pour éviter les blancs */
}

.image-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.image-container img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fadeImages 50s infinite;
    z-index: -1 !important; /* Toujours derrière tout */
}

.cover{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; 
    width: 100vw;                
    height: 100vh;            
    margin: 0;                   
    padding: 0;   
    }

.desktop{
    display: block;
}

.mobile{
    display: none;
}

@keyframes fadeImages {
  0% { opacity: 1; z-index: 1; }
    4% { opacity: 1; z-index: 1; }
    5% { opacity: 0; z-index: -1; }
    100% { opacity: 0; z-index: -1; }
}

.image-container img:first-child {
    opacity: 1;
}

/* On applique un délai différent à chaque image */
.image-container img:nth-child(1) { animation-delay: 1s; }
.image-container img:nth-child(2) { animation-delay: 2s; }
.image-container img:nth-child(3) { animation-delay: 3s; }
.image-container img:nth-child(4) { animation-delay: 4s; }
.image-container img:nth-child(5) { animation-delay: 5s; }
.image-container img:nth-child(6) { animation-delay: 6s; }
.image-container img:nth-child(7) { animation-delay: 7s; }
.image-container img:nth-child(8) { animation-delay: 8s; }
.image-container img:nth-child(9) { animation-delay: 9s; }
.image-container img:nth-child(10) { animation-delay: 10s; }
.image-container img:nth-child(11) { animation-delay: 11s; }
.image-container img:nth-child(12) { animation-delay: 12s; }
.image-container img:nth-child(13) { animation-delay: 13s; }
.image-container img:nth-child(14) { animation-delay: 14s; }
.image-container img:nth-child(15) { animation-delay: 15s; }
.image-container img:nth-child(16) { animation-delay: 16s; }
.image-container img:nth-child(17) { animation-delay: 17s; }
.image-container img:nth-child(18) { animation-delay: 18s; }
.image-container img:nth-child(19) { animation-delay: 19s; }
.image-container img:nth-child(20) { animation-delay: 20s; }
.image-container img:nth-child(21) { animation-delay: 21s; }
.image-container img:nth-child(22) { animation-delay: 22s; }
.image-container img:nth-child(23) { animation-delay: 23s; }
.image-container img:nth-child(24) { animation-delay: 24s; }
.image-container img:nth-child(25) { animation-delay: 25s; }
.image-container img:nth-child(26) { animation-delay: 26s; }
.image-container img:nth-child(27) { animation-delay: 27s; }
.image-container img:nth-child(28) { animation-delay: 28s; }
.image-container img:nth-child(29) { animation-delay: 29s; }
.image-container img:nth-child(30) { animation-delay: 30s; }
.image-container img:nth-child(31) { animation-delay: 31s; }
.image-container img:nth-child(32) { animation-delay: 32s; }
.image-container img:nth-child(33) { animation-delay: 33s; }
.image-container img:nth-child(34) { animation-delay: 34s; }
.image-container img:nth-child(35) { animation-delay: 35s; }
.image-container img:nth-child(36) { animation-delay: 36s; }
.image-container img:nth-child(37) { animation-delay: 37s; }
.image-container img:nth-child(38) { animation-delay: 38s; }
.image-container img:nth-child(39) { animation-delay: 39s; }
.image-container img:nth-child(40) { animation-delay: 40s; }
.image-container img:nth-child(41) { animation-delay: 41s; }
.image-container img:nth-child(42) { animation-delay: 42s; }
.image-container img:nth-child(43) { animation-delay: 43s; }
.image-container img:nth-child(44) { animation-delay: 44s; }
.image-container img:nth-child(45) { animation-delay: 45s; }
.image-container img:nth-child(46) { animation-delay: 46s; }
.image-container img:nth-child(47) { animation-delay: 47s; }
.image-container img:nth-child(48) { animation-delay: 48s; }
.image-container img:nth-child(49) { animation-delay: 49s; }
.image-container img:nth-child(50) { animation-delay: 50s; }

/* mobile */

@media (max-width: 480px) {


    .image-container img:first-child {
        opacity: 1;
    }

.logo {
width: 14% !important;
top: 2%;
z-index: 10000;
}

.about2 {
color: #000;
font-family: "MaisonNeue-Book", "MaisonNeue-Medium", "MaisonNeue-Thin", "MaisonNeue-Bold";
position: fixed;
display: none;
background-color: #FFF;
font-size: 20px;
width: 60%;
padding: 18% 6% 6% 4%;
}

.cover{
height: 100vh;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
width: 100vw;
height: 100vh;
margin: 0;
padding: 0;   
}

.desktop{
    display: none;
}

.mobile{
    display: block!important;
}
}


/* Sur les appareils qui supportent le hover (typiquement desktop) */
@media (hover: hover) and (pointer: fine) {
    .about:hover .about2 {
        display: block;
    }
}