@font-face {
    font-family: "computer";
    src:url(font/cmunvi.ttf);
}
@font-face {
    font-family: "Liga";
    src:url(font/LigaSans-Bold.otf);
}

h1 {
    color: #976060;
    font-family: "computer";
     text-align: center;
    font-size : 20px;
    line-height: 0.9;

}

h2 {
    color: #976060;
    font-family: "Liga";
    text-align: center;
    font-size : 22px;
    margin-top: 0%;
    line-height: normal;
    font-weight: normal;    
    font-variant: normal;
    font-style: normal;
    
    
}

.description {
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
}

.titre {
    color: #976060;
    font-family: "computer";
     text-align: center;
    font-size : 130px;
    line-height: 0.80;
    font-weight: bold;

}

a {
    text-decoration: none;
    color: #976060;
}
a:hover {
    color: #ff52cb;   
    text-decoration: none;
    
}

.contact {
    color: #976060;
    font-family: "Liga";
    text-align: center;
    left: 80px;
    font-size : 22px;
    text-decoration:none
}

.projet {
    font-family: "Liga";
    text-align: center;
    font-size : 30px;
    color: #976060;
    text-decoration:none;

}


#boutonRetour {
    transform: rotate(-90deg); 
    font-family: "Liga";
    position: fixed;
    /* Le bouton reste fixe lors du défilement */
    bottom: 35px;
    /* Position par rapport au bas */
    right: 15px;
    /* Position par rapport à la droite */
    z-index: 99;
    /* Assure que le bouton reste au-dessus du contenu */
    font-size: 16px;
    padding: 10px 20px;
    background-color: #976060;
    /* Couleur de fond du bouton */
    color: #ffffff;
    /* Couleur du texte */
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#boutonRetour:hover {
    background-color: #ff52cb;
}

.container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap : 140px;
}

header {
    position: fixed;
    transform: translate(-50%, -50%);
   }
   
.boite {
       position: relative;
   }

.imagekangourous {
    position: relative;
    transform: rotate(10deg); 
}

.imagekangourous:hover  {
    transform: rotate(5deg); 
    transition: all 0.3s ease;
}


.imagecapitaine {
    position: relative;
    transform: rotate(-10deg); 
}

.imagecapitaine:hover  {
    transform: rotate(-5deg); 
    transition: all 0.3s ease;
}



.image1 {
    position: relative;
    transform: rotate(-10deg); 
}

.image1:hover  {
    transform: rotate(-5deg); 
    transition: all 0.3s ease;
}

.image2 {
    position: relative;
    transform: rotate(10deg); 
}

.image2:hover  {
    transform: rotate(5deg); 
    transition: all 0.3s ease;
}

.image4 {
    position: relative;
    transform: rotate(12deg); 
}

.image4:hover  {
    transform: rotate(4deg); 
    transition: all 0.3s ease;
}

.image5 {
    position: relative;
    transform: rotate(-8deg); 
}

.image5:hover  {
    transform: rotate(-4deg); 
    transition: all 0.3s ease;
}

.image6 {
    position: relative;
    transform: rotate(8deg); 
}

.image6:hover  {
    transform: rotate(4deg); 
    transition: all 0.3s ease;
}

.image7 {
    position: relative;
    transform: rotate(-8deg); 
}

.image7:hover  {
    transform: rotate(-4deg); 
    transition: all 0.3s ease;
}



#elementCacher {
    display: block; /* Par défaut visible */
}



.texte1 {
    position: absolute;
  width: 90%; /* au lieu de 380px */
  max-width: 380px;
  padding-top: 300px;
  text-align: center;
  opacity: 0;
    
}

.texte1:hover {
    opacity: 100;
}

.texte2 {
    position: absolute;
  width: 90%; /* au lieu de 380px */
  max-width: 340px;
  padding-top: 305px;
  text-align: center;
  opacity: 0;
    
}

.texte2:hover {
    opacity: 100;
}

.texte3 {
    position: absolute;
  width: 90%; /* au lieu de 380px */
  max-width: 340px;
  padding-top: 345px;
  text-align: center;
  opacity: 0;
}

.texte3:hover {
    color: #ff52cb;
    opacity: 100;
}

.texte4 {
    position: absolute;
  width: 90%; /* au lieu de 380px */
  max-width: 320px;
  padding-top: 400px;
  text-align: center;
  opacity: 0;
}

.texte4:hover {
    color: #ff52cb;
    opacity: 100;
}

.texte5 {
    position: absolute;
  width: 90%; /* au lieu de 380px */
  max-width: 310px;
  padding-top: 700px;
  text-align: center;
  opacity: 0;
}

.texte5:hover {
    color: #ff52cb;
    opacity: 100;
}

.texte6 {
    position: absolute;
  width: 90%; /* au lieu de 380px */
  max-width: 310px;
  padding-top: 400px;
  text-align: center;
  opacity: 0;
}

.texte6:hover {
    color: #ff52cb;
    opacity: 100;
}

.texte7 {
    position: absolute;
  width: 90%; /* au lieu de 380px */
  max-width: 1px;
  padding-top: 450px;
  text-align: center;
  opacity: 0;
}



.petit {
    position: absolute; /* Position absolue pour l'élément superposé */
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap : 50px;
}
#texteCurseurkangourous {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none; /* Masquer le texte par défaut */
}
#texteCurseurcapitaine {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none; /* Masquer le texte par défaut */
}
#texteCurseurnocturne {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none; /* Masquer le texte par défaut */
}

#texteCurseur {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none; /* Masquer le texte par défaut */
}

#texteCurseur2 {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

#texteCurseur3 {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

#texteCurseur4 {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

#texteCurseur5 {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

#texteCurseur6 {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

#texteCurseur7 {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.descriptiontéléphone {
    display: none;
 }

 .trace {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #ff52cb;
    border-radius: 100%;
    pointer-events: none; /* La trace ne gêne pas les autres interactions */
    transition: all 0.05s ease; /* Transition pour un mouvement plus fluide */
    
}

body {
  overflow-x: hidden;
}

.container, .main, .content {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  padding: 0 15px;
}

img {
  max-width: 100%;
  height: auto;
}


@media(max-width:810px){

    .container {
        top : 70vh;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        flex-wrap: wrap;
        gap : 140px;
    }
    
    h1 {
        color: #976060;
        font-family: "computer";
         text-align: center;
        font-size : 80px;
        line-height: 0.8
    }

    .boite {
        top: -30Px;
    }

    .description {
       display: none;
    }

    .descriptiontéléphone {
        display: block;
     }

    h2 {

        color: #976060;
        font-family: "Liga";
        text-align: center;
        left: 80px;
        font-size : 20px;
        line-height: 1.3
        
    }
    .texte7 {
        position: absolute;
        text-align: center;
        TOP : 0px;
        width: 1px;
        padding-top: 650px;
        /* transform: rotate(-10deg);  */
        opacity: 0;
    }

    .imgderriere {
        display: none;
    
    }

    #elementCacher {
        display: block;
    }

 } 