body {
  margin: 0px;
  height: 95vh; 
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;      
  cursor: none;      
}




/* ************************************* */
/* ************************************ */
/* *********************************** */

.marquee {
  overflow: hidden;
  position: fixed;
  white-space: nowrap;
  width: 100%;
  background: yellow;
  color: black;
  padding: 4px 0;
font-family: Arial, Helvetica, sans-serif;
  font-size: 25px;
}

.marquee-content {
  display: inline-block;
  padding-left: 100%;
  animation: scroll 40s linear infinite;
}

.marquee-content span {
  display: inline-block;
  padding-right: 50px;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* ************************************* */
/* ************************************ */
/* *********************************** */



.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: white;
    mix-blend-mode: difference;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
}


/* ************************************* */
/* ************************************ */
/* *********************************** */



.imageFondindex {     
    top: 0;
    left: 0;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -10;     
}




#gif {

    width: 400px;
    height: auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
/* optional smooth transition */
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

#gif:hover {
    box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0.6); 
    transform: translate(-50%, -50%) scale(1);       /* mettre échelle à 1.01+ pour animation pop*/
}



/* ************************************* */
/* ************************************ */
/* *********************************** */

h1, h2 {
  margin: 0;
  text-align: center;
  z-index: 1001;
  position: fixed;

  background: #111;
  color: whitesmoke;
  padding: 0.5vh 0.4vw;

  font-size: clamp(1rem, 2vw, 24px); /* responsive */
  font-family: sans-serif;
  text-decoration: underline;
}

/* Position responsive */
h1 { 
  left: 5vw; 
  top: 50vh; 
}

h2 { 
  right: 5vw; 
  top: 50vh; 
}



/* ************************************* */
/* ************************************ */
/* *********************************** */




.colophon {
    font-size: 1em;
    line-height: 1.2em;
    color: whitesmoke;
    position: fixed;
    bottom: 2vh;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;


}


  


/* caché par défaut */
#mobile-only {
    display: none;
}


/* version mobile */
@media (max-width: 768px) {

    #desktop-site {
        display: none;
    }

    #mobile-only {

        display: flex;

        flex-direction: column;
        justify-content: center;
        align-items: center;

        position: fixed;

        top: 0;
        left: 0;

        width: 100vw;
        height: 100vh;

        background: yellow;

        text-align: center;

        font-family: Arial, Helvetica, sans-serif;

        padding: 20px;

        box-sizing: border-box;
    }

    #mobile-only img {

        max-width: 80vw;
        max-height: 50vh;

        margin: 20px 0;
    }

    .mobile-titre {

        font-size: 24px;
        font-weight: bold;

        margin-bottom: 20px;
    }

    .mobile-message {

        font-size: 18px;

        margin-top: 20px;
    }
}









/* ************************************* */
/* ********CSS MOBILE**************************** */
/* *********************************** */


/* caché par défaut */
#mobile-only {
    display: none;
}


/* version mobile */
@media (max-width: 768px) {

    #desktop-site {
        display: none;
    }

    #mobile-only {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: yellow;
        text-align: center;
        font-family: Arial, Helvetica, sans-serif;
        padding: 20px;
        box-sizing: border-box;
    }

    #mobile-only img {
        max-width: 80vw;
        max-height: 50vh;
        margin: 20px 0;
    }

    .mobile-titre {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .mobile-message {
        font-size: 20px;
        margin-top: 20px;
    }
}






